Skip to contentSkip to conversation

busybox ls

DISCUSSION Russell Coker 2 participants 2 messages Apr 26, 2003 – Apr 27, 2003 SELinux security module

lore
Share & tools
lore
#0 lore raw

I'm writing SE Linux support for busybox ls. I can't use long options and most of the letters are taken.

Any suggestions on which option switches I should use for equivalent of --sid and --context functionality?

Signature · 10 lines
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 [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#1 lore raw
Quoted 2 lines · Russell Coker

Any suggestions on which option switches I should use for equivalent of --sid and --context functionality?

Maybe -K for --context (upcase as not to "kollide" with GNU ls's -k option)? -O is also viable, but I prefer -K as lame as it is.

I think if whatever you use for --context is used together with -n ("numeric ids") the effect of --sid should occur.

Signature · 1 line
Robbe