summaryrefslogtreecommitdiff
path: root/src/mkfifo.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/mkfifo.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/mkfifo.c')
-rw-r--r--src/mkfifo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mkfifo.c b/src/mkfifo.c
index f9c6af611..cf970593b 100644
--- a/src/mkfifo.c
+++ b/src/mkfifo.c
@@ -62,7 +62,8 @@ Create named pipes (FIFOs) with the given NAMEs.\n\
"), stdout);
fputs (_("\
-Z, --context[=CTX] set the SELinux security context of each NAME to\n\
- default type, or CTX if specified\n\
+ default type, or set the SELinux or SMACK\n\
+ security context to CTX if specified\n\
"), stdout);
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);