summaryrefslogtreecommitdiff
path: root/src/mknod.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/mknod.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/mknod.c')
-rw-r--r--src/mknod.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mknod.c b/src/mknod.c
index c6ea1ea19..dfb9ef4fc 100644
--- a/src/mknod.c
+++ b/src/mknod.c
@@ -64,7 +64,8 @@ Create the special file NAME of the given TYPE.\n\
"), stdout);
fputs (_("\
-Z, --context[=CTX] set the SELinux security context of NAME to\n\
- default type, or to 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);