]> granicus.if.org Git - procps-ng/commitdiff
SELinux spelling (rhbz#859900)
authorJaromir Capik <jcapik@redhat.com>
Thu, 27 Sep 2012 11:46:46 +0000 (21:46 +1000)
committerCraig Small <csmall@enc.com.au>
Thu, 27 Sep 2012 11:46:46 +0000 (21:46 +1000)
We got a bug report, that our project doesn't spell "SELinux"
consistently/correctly. I've fixed that and the patch is attached.

Signed-off-by: Craig Small <csmall@enc.com.au>
NEWS
ps/help.c
ps/parser.c
ps/ps.1

diff --git a/NEWS b/NEWS
index 3cdb895228d4415e575d85eaf235fd84bcb02bfb..6b3ef01dec38a9c59e98ed458d32ff7d519864a4 100644 (file)
--- 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
 
index 028d186721bc19480915a3421977bec5b883dc79..b536f1a3f8616aac621c9c4f6a56d2729a59c975 100644 (file)
--- 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"
index eaba306a7d1511a13cf4b598f7498450872da275..0fc28d2358e7c503ad72a1f1c9aa7b4ca56fc5ad 100644 (file)
@@ -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 e5380099ef7f66ee94b208f90cfe2d4dc57d6671..41c11681dcf29ef033d601a69183495b86a16b87 100644 (file)
--- 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.