Re: RFC: changing the "+" in ls -l output to be "." or "+"

2009-04-07 Thread Jim Meyering
Pádraig Brady wrote: > Updated patch attached. One more, please ;-) > +...@item --preserve-context > +...@opindex --preserve-context > +...@cindex SElinux > +...@cindex security context > +Preserve the SELinux security context of files and directories. > +Failure to preserve the context in all of

Re: RFC: changing the "+" in ls -l output to be "." or "+"

2009-04-07 Thread Pádraig Brady
Andreas Schwab wrote: > Pádraig Brady writes: > >> @@ -8045,6 +8055,15 @@ ownership of installed files or directories to >> @var{owner}. The default >> is @code{root}. @var{owner} may be either a user name or a numeric user >> ID. >> >> +...@itemx --preserve-context > > s/@itemx/@item/

Re: RFC: changing the "+" in ls -l output to be "." or "+"

2009-04-07 Thread Jim Meyering
Pádraig Brady wrote: > Jim Meyering wrote: >> Pádraig Brady wrote: >>> Pádraig Brady wrote: Jim Meyering wrote: > You might want to do something similar to what I did in fts.c > with this change: > > http://git.sv.gnu.org/cgit/gnulib.git/commit/?id=97d5b66578be507 Oh

Re: RFC: changing the "+" in ls -l output to be "." or "+"

2009-04-07 Thread Jim Meyering
Pádraig Brady wrote: > Pádraig Brady wrote: >> Jim Meyering wrote: >>> You might want to do something similar to what I did in fts.c >>> with this change: >>> >>> http://git.sv.gnu.org/cgit/gnulib.git/commit/?id=97d5b66578be507 >> >> Oh cool, thanks for that. > > Hmm, looks like my Fedora 8 sys

Re: RFC: changing the "+" in ls -l output to be "." or "+"

2009-04-07 Thread Pádraig Brady
Jim Meyering wrote: > Pádraig Brady wrote: >> Pádraig Brady wrote: >>> Jim Meyering wrote: You might want to do something similar to what I did in fts.c with this change: http://git.sv.gnu.org/cgit/gnulib.git/commit/?id=97d5b66578be507 >>> Oh cool, thanks for that. >> Hmm, l

Re: RFC: changing the "+" in ls -l output to be "." or "+"

2009-04-07 Thread Jim Meyering
Pádraig Brady wrote: > Jim Meyering wrote: >> Pádraig Brady wrote: >> ... >>> I'll also look at documenting the ls SElinux options in the info docs >>> as I couldn't see them on a quick search. >> >> Nice. That will we welcome. >> If you feel really industrious, mktemp needs info documentation, to

Re: RFC: changing the "+" in ls -l output to be "." or "+"

2009-04-07 Thread Andreas Schwab
Pádraig Brady writes: > @@ -8045,6 +8055,15 @@ ownership of installed files or directories to > @var{owner}. The default > is @code{root}. @var{owner} may be either a user name or a numeric user > ID. > > +...@itemx --preserve-context s/@itemx/@item/ Andreas. -- Andreas Schwab, sch...@

Re: RFC: changing the "+" in ls -l output to be "." or "+"

2009-04-07 Thread Pádraig Brady
Pádraig Brady wrote: > Jim Meyering wrote: >> You might want to do something similar to what I did in fts.c >> with this change: >> >> http://git.sv.gnu.org/cgit/gnulib.git/commit/?id=97d5b66578be507 > > Oh cool, thanks for that. Hmm, looks like my Fedora 8 system at least with SELinux disabl

Re: RFC: changing the "+" in ls -l output to be "." or "+"

2009-04-07 Thread Pádraig Brady
Jim Meyering wrote: > Pádraig Brady wrote: > ... >> I'll also look at documenting the ls SElinux options in the info docs >> as I couldn't see them on a quick search. > > Nice. That will we welcome. > If you feel really industrious, mktemp needs info documentation, too. Ah the SELinux stuff was

Re: RFC: changing the "+" in ls -l output to be "." or "+"

2009-04-06 Thread Jim Meyering
Pádraig Brady wrote: ... > I'll also look at documenting the ls SElinux options in the info docs > as I couldn't see them on a quick search. Nice. That will we welcome. If you feel really industrious, mktemp needs info documentation, too. ___ Bug-core

Re: RFC: changing the "+" in ls -l output to be "." or "+"

2009-04-06 Thread Pádraig Brady
Jim Meyering wrote: > You might want to do something similar to what I did in fts.c > with this change: > > http://git.sv.gnu.org/cgit/gnulib.git/commit/?id=97d5b66578be507 Oh cool, thanks for that. I'll also look at documenting the ls SElinux options in the info docs as I couldn't see them o

Re: RFC: changing the "+" in ls -l output to be "." or "+"

2009-04-06 Thread Jim Meyering
Pádraig Brady wrote: > Just a quick follow up to this now archived bug: > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=472590 > > The last message there mentioned selinux query overhead. > On my system with selinux disabled, there is currently > a significant overhead in doing the selinux looku

Re: RFC: changing the "+" in ls -l output to be "." or "+"

2009-04-02 Thread Pádraig Brady
Just a quick follow up to this now archived bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=472590 The last message there mentioned selinux query overhead. On my system with selinux disabled, there is currently a significant overhead in doing the selinux lookup per file with a standard `ls -

Re: RFC: changing the "+" in ls -l output to be "." or "+"

2008-10-31 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Meyering wrote: > Russell Coker <[EMAIL PROTECTED]> wrote: > >> On Saturday 25 October 2008 00:19, Mike Edenfield <[EMAIL PROTECTED]> wrote: >>> Jim Meyering wrote: A desire for compatibility makes "+" look good. "." is appealing for SEL

Re: RFC: changing the "+" in ls -l output to be "." or "+"

2008-10-26 Thread Jim Meyering
Russell Coker <[EMAIL PROTECTED]> wrote: > On Saturday 25 October 2008 00:19, Mike Edenfield <[EMAIL PROTECTED]> wrote: >> Jim Meyering wrote: >> > A desire for compatibility makes "+" look good. >> > "." is appealing for SELinux-only because it's inconspicuous. >> >> Speaking as a fairly new SELi

Re: RFC: changing the "+" in ls -l output to be "." or "+"

2008-10-26 Thread Russell Coker
On Saturday 25 October 2008 00:19, Mike Edenfield <[EMAIL PROTECTED]> wrote: > Jim Meyering wrote: > > A desire for compatibility makes "+" look good. > > "." is appealing for SELinux-only because it's inconspicuous. > > Speaking as a fairly new SELinux user/admin, having a "." > next to every file

Re: RFC: changing the "+" in ls -l output to be "." or "+"

2008-10-24 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Mike Edenfield on 10/24/2008 7:19 AM: > Based on the kind of real-world problems I've had, the most useful thing > ls could tell me about a file on my SELinux system would be that it > *should* have a label and *doesn't*, something like: >

Re: RFC: changing the "+" in ls -l output to be "." or "+"

2008-10-24 Thread Mike Edenfield
Jim Meyering wrote: A desire for compatibility makes "+" look good. "." is appealing for SELinux-only because it's inconspicuous. Speaking as a fairly new SELinux user/admin, having a "." next to every file in my ls output is just as useful or non-useful as having a "+" next to them, so does

Re: RFC: changing the "+" in ls -l output to be "." or "+"

2008-10-24 Thread Jim Meyering
Vikram Noel Ambrose <[EMAIL PROTECTED]> wrote: > Jim Meyering <[EMAIL PROTECTED]> wrote: ... if (SELinux, with no other MAC or ACL) use '.' else if (any other combination of alternate access methods) use '+' ... >>> Here's sample output, running on an SELinux

Re: RFC: changing the "+" in ls -l output to be "." or "+"

2008-10-23 Thread Vikram Noel Ambrose
Jim Meyering <[EMAIL PROTECTED]> wrote: [ I'm Cc'ing [EMAIL PROTECTED] FYI, this is a continuation of discussion from the SELinux list: http://marc.info/?t=12064507403&r=1&w=2 and the debian bug tracking system: http://bugs.debian.org/472590 The problem is that on an SELinux-enabled

Re: RFC: changing the "+" in ls -l output to be "." or "+"

2008-10-23 Thread Jim Meyering
Jim Meyering <[EMAIL PROTECTED]> wrote: > I wrote this: >> [ I'm Cc'ing [EMAIL PROTECTED] >> FYI, this is a continuation of discussion from the SELinux list: >> http://marc.info/?t=12064507403&r=1&w=2 >> and the debian bug tracking system: http://bugs.debian.org/472590 >> >> The problem