lkml.org 
[lkml]   [1999]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Subject: Re: ext3 to include capabilities?
Date
From
Albert D. Cahalan wrote:
> Richard Gooch writes:
> > Albert D. Cahalan writes:
>
> >> Well, which do people prefer? (sticky bit or setuid bit)
> >
> > Ths suid but, of course, since setting it is privileged. Thus it is
> > obvious that it is a privileged binary.
>
> Oh my, do we have a bug? The sticky bit is normally for root only.
> Here is Digital UNIX:

That is because the sticky bit is "old fashioned". It used to be used
on often-used binaries that it might be better to cache the
code-segment of this binary than to discard it on exit. As this consumes
precious core (*) memory, that operation is considered privileged.

On modern operating systems (like Linux), the system already does its
best to cache code segments of exiting programs. The sticky bit no
longer has a function.

On directories, a second meaning was assigned for this bit. This is
not privileged.

Roger.

(*) Note the oldfashioned term: This dates back into the time when
Unix ran on machines with 256k core.

--
** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2137555 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
------ Microsoft SELLS you Windows, Linux GIVES you the whole house ------


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.075 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site