diff options
author | Chengwei Yang <chengwei.yang@intel.com> | 2014-01-17 15:46:43 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2014-01-17 16:13:18 +0000 |
commit | 6fab28dce4785a86ea3f6616ecf6036c43337edd (patch) | |
tree | 3a745ebb32222eefd49a6c1ccb629963d4438e97 /src/mkdir.c | |
parent | 7fa1641db049912f59654153d077953714720ca2 (diff) | |
download | coreutils-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/mkdir.c')
-rw-r--r-- | src/mkdir.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mkdir.c b/src/mkdir.c index c904d4f27..a6f6c24a6 100644 --- a/src/mkdir.c +++ b/src/mkdir.c @@ -67,7 +67,8 @@ Create the DIRECTORY(ies), if they do not already exist.\n\ -p, --parents no error if existing, make parent directories as needed\n\ -v, --verbose print a message for each created directory\n\ -Z, --context[=CTX] set the SELinux security context of each created\n\ - directory to default type or to CTX if specified\n\ + directory to default type or set the SELinux or\n\ + SMACK security context to CTX if specified\n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); |