Re: [PATCH 2/6] ls: correct document about its security context label
From:
Pádraig Brady
Subject:
Re: [PATCH 2/6] ls: correct document about its security context label
Date:
Thu, 16 Jan 2014 12:19:05 +0000
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2
On 01/16/2014 04:44 AM, Chengwei Yang wrote:
> The implementation is, "." following the file permission mode bits
> indicates both SELinux and SMACK access method, so fix the document.
>
> Also in its help info, so the manpage generated from help into.
> --- a/src/ls.c
> +++ b/src/ls.c
> @@ -4886,7 +4886,7 @@ Sort entries alphabetically if none of -cftuvSUX nor
> --sort is specified.\n\
> -w, --width=COLS assume screen width instead of current value\n\
> -x list entries by lines instead of by columns\n\
> -X sort alphabetically by entry extension\n\
> - -Z, --context print any SELinux security context of each
> file\n\
> + -Z, --context print any SELinux or SMACK security context of
> each file\n\
This is a bit long and will get out of date if we ever have
support for other LSMs, so I'll s/SELinux or SMACK//.
thanks,
Pádraig.