--- doc/coreutils.texi | 3 ++- src/mkdir.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 14d05af..e9cd55a 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -8466,7 +8466,8 @@ to the system default type for destination files, similarly to the @command{restorecon} command. The long form of this option with a specific context specified, will set the context for newly created files only. -With a specified context, if SELinux is disabled, a warning is issued. +With a specified context, if both SELinux and SMACK are disabled, a warning is +issued. @end macro @optContext This option is mutually exclusive with the @option{--preserve=context} diff --git a/src/mkdir.c b/src/mkdir.c index c904d4f..a6f6c24 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); -- 1.7.9.5