[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: unreasonably long SE Linux context display
On Tuesday 01 November 2005 03:33, Stephen Smalley <sds@xxxxxxxxxxxxx> wrote:
> > For ls it would be good to be able to display part of the context. For
> > the vast majority of invocations of "ls -Z" on a SE Linux system the
> > identity and role are not desired in the output.
>
> James previously suggested introducing environment variables to control
> the display of contexts, so that you could alter ls and ps -Z output
> simply by adjusting such variables.
I don't think that's such a good idea. As the output of such programs will be
used by shell scripts it will have some interesting possibilities for
breaking such scripts.
> In any event, patches speak louder than words here...
OK, as no-one seems to have a great objection I'll write some patches when I
find time.
--
http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/ Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/ My home page
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.
This mailing list archive is a service of Copilot Consulting.