summaryrefslogtreecommitdiff
path: root/src/id.c
diff options
context:
space:
mode:
authorChengwei Yang <chengwei.yang@intel.com>2014-01-17 15:46:43 +0000
committerPádraig Brady <P@draigBrady.com>2014-01-17 16:13:18 +0000
commit6fab28dce4785a86ea3f6616ecf6036c43337edd (patch)
tree3a745ebb32222eefd49a6c1ccb629963d4438e97 /src/id.c
parent7fa1641db049912f59654153d077953714720ca2 (diff)
downloadcoreutils-6fab28dce4785a86ea3f6616ecf6036c43337edd.tar.xz
doc: clarify SMACK related --help and documentation
* src/ls.c: Remove all mention of SELinux since ls should treat all security context labels equally. * doc/coreutils.texi (ls invocation): Likewise. (id invocation): Clarify that -Z outputs the context inherited by the process, rather than one specific to a user. Note for SMACK this can be set instead by the SMACK64EXEC label, in the unusual case where this is set on the id executable. * src/id.c (usage): Likewise. * src/mkdir.c (usage): Clarify that -Z is specific to SELinux, while --context=CTX is also supported for SMACK. * src/mkfifo.c (usage): Likewise. * src/mknod.c (usage): Likewise.
Diffstat (limited to 'src/id.c')
-rw-r--r--src/id.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/id.c b/src/id.c
index 803c360c4..3348f8013 100644
--- a/src/id.c
+++ b/src/id.c
@@ -89,7 +89,7 @@ or (when USER omitted) for the current user.\n\
stdout);
fputs (_("\
-a ignore, for compatibility with other versions\n\
- -Z, --context print only the security context of the current user\n\
+ -Z, --context print only the security context of the process\n\
-g, --group print only the effective group ID\n\
-G, --groups print all group IDs\n\
-n, --name print a name instead of a number, for -ugG\n\