[procps-ng/f18] SELinux spelling fixes

Jaromír Cápík jcapik at fedoraproject.org
Tue Sep 25 12:57:28 UTC 2012


commit b5940c7d9071db5273585247c693df3ffac876e6
Author: Jaromir Capik <jcapik at redhat.com>
Date:   Tue Sep 25 14:57:19 2012 +0200

    SELinux spelling fixes

 procps-ng-3.3.4-selinux-spelling.patch |   88 ++++++++++++++++++++++++++++++++
 procps-ng.spec                         |    9 +++-
 2 files changed, 96 insertions(+), 1 deletions(-)
---
diff --git a/procps-ng-3.3.4-selinux-spelling.patch b/procps-ng-3.3.4-selinux-spelling.patch
new file mode 100644
index 0000000..3e28ae9
--- /dev/null
+++ b/procps-ng-3.3.4-selinux-spelling.patch
@@ -0,0 +1,88 @@
+diff --git a/NEWS b/NEWS
+index 3cdb895..6b3ef01 100644
+--- a/NEWS
++++ b/NEWS
+@@ -247,7 +247,7 @@ procps-3.2.0 --> procps-3.2.1
+ build even w/ curses in an odd location -- thanks to Segher Boessenkool
+ ps: STAT flags for fg process group and session leader
+ ps: STAT flags for swapped out process dropped (was broken)
+-ps: new -M and Z options for security data (SE Linux, etc.)
++ps: new -M and Z options for security data (SELinux, etc.)
+ slabtop: detect broken /proc/slabinfo -- thanks to Fabian Frederick
+ slabtop: ensure that error messages show up on the screen -- FF again
+ 
+diff --git a/ps/help.c b/ps/help.c
+index 028d186..b536f1a 100644
+--- a/ps/help.c
++++ b/ps/help.c
+@@ -135,7 +135,7 @@ void do_help (const char *opt, int rc) {
+       "  j                   BSD job control format\n"
+       " -l                   long format\n"
+       "  l                   BSD long format\n"
+-      " -M, Z                add security data (for SE Linux)\n"
++      " -M, Z                add security data (for SELinux)\n"
+       " -O <format>          preloaded with default columns\n"
+       "  O <format>          as -O, with BSD personality\n"
+       " -o, o, --format <format>\n"
+@@ -145,7 +145,7 @@ void do_help (const char *opt, int rc) {
+       "  v                   virtual memory format\n"
+       "  X                   register format\n"
+       " -y                   do not show flags, show rrs vs. addr (used with -l)\n"
+-      "     --context        display security context (for SE Linux)\n"
++      "     --context        display security context (for SELinux)\n"
+       "     --headers        repeat header lines, one per page\n"
+       "     --no-headers     do not print header at all\n"
+       "     --cols, --columns, --width <num>\n"
+diff --git a/ps/parser.c b/ps/parser.c
+index eaba306..0fc28d2 100644
+--- a/ps/parser.c
++++ b/ps/parser.c
+@@ -284,7 +284,7 @@ static const char *parse_sysv_option(void){
+       thread_flags |= TF_U_L;
+ //      format_modifiers |= FM_L;
+       break;
+-    case 'M':  // typically the SE Linux context
++    case 'M':  // typically the SELinux context
+       trace("-M print security label for Mandatory Access Control\n");
+       format_modifiers |= FM_M;
+       break;
+diff --git a/ps/ps.1 b/ps/ps.1
+index e538009..41c1168 100644
+--- a/ps/ps.1
++++ b/ps/ps.1
+@@ -401,7 +401,7 @@ Show different scheduler information for the
+ option.
+ .TP
+ .B \-\-context
+-Display security context format (for SE Linux).
++Display security context format (for SELinux).
+ .TP
+ .B \-f
+ Do full\-format listing. This option can be combined with many other
+@@ -446,7 +446,7 @@ option is often useful with this.
+ .B \-M
+ Add a column of security data.  Identical to
+ .B Z
+-(for SE Linux).
++(for SELinux).
+ .TP
+ .BI O \ format
+ is preloaded
+@@ -530,7 +530,7 @@ with
+ .B Z
+ Add a column of security data.  Identical to
+ .B \-M
+-(for SE Linux).
++(for SELinux).
+ .\" """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
+ .PD
+ .PP
+@@ -1301,7 +1301,7 @@ format is displayed.  (alias
+ T}
+ 
+ label	LABEL	T{
+-security label, most commonly used for SE Linux context data.  This is for
++security label, most commonly used for SELinux context data.  This is for
+ the
+ .I Mandatory Access Control
+ ("MAC") found on high\-security systems.
diff --git a/procps-ng.spec b/procps-ng.spec
index 90bdfbe..121e4e5 100644
--- a/procps-ng.spec
+++ b/procps-ng.spec
@@ -6,7 +6,7 @@
 Summary: System and process monitoring utilities
 Name: procps-ng
 Version: 3.3.3
-Release: 1.%{gitver}%{?dist}
+Release: 2.%{gitver}%{?dist}
 License: GPLv2+ and LGPLv2+
 Group: Applications/System
 URL: http://gitorious.org/procps
@@ -15,6 +15,8 @@ URL: http://gitorious.org/procps
 # cd procps && git archive --format=tar --prefix="procps-ng-3.3.3-20120807git/" 00d7d4e37abdf918b62d266086cfe26f61574c2f  xz > procps-ng-3.3.3-20120807git.tar.xz
 Source: %{name}-%{version}-%{gitver}.tar.xz
 
+Patch0: procps-ng-3.3.4-selinux-spelling.patch
+
 Requires(post): /sbin/ldconfig
 Requires(postun): /sbin/ldconfig
 
@@ -69,6 +71,8 @@ System and process monitoring utilities development headers
 %prep
 %setup -q -n %{name}-%{version}-%{gitver}
 
+%patch0 -p1
+
 %build
 echo "%{version}-%{gitver}" > .tarball-version
 
@@ -128,6 +132,9 @@ mkdir -p %{buildroot}%{_sysconfdir}/sysctl.d
 %{_includedir}/proc
 
 %changelog
+* Tue Sep 25 2012 Jaromir Capik <jcapik at redhat.com> - 3.3.3-2.20120807git
+- SELinux spelling fixes
+
 * Tue Aug 07 2012 Jaromir Capik <jcapik at redhat.com> - 3.3.3-1.20120807git
 - Update to 3.3.3-20120807git
 


More information about the scm-commits mailing list