From 6fab28dce4785a86ea3f6616ecf6036c43337edd Mon Sep 17 00:00:00 2001 From: Chengwei Yang Date: Fri, 17 Jan 2014 15:46:43 +0000 Subject: 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. --- src/id.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/id.c') 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\ -- cgit v1.2.3-54-g00ecf