lkml.org 
[lkml]   [1999]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: caps in elf headers: use the sticky bit!
Date
From
Martin Mares <mj@atrey.karlin.mff.cuni.cz> said:

[...]

> If you use the sticky bit for this purpose, a similar situation
> can happen: a normal user sets the sticky bit for a file when running
> an old kernel where it isn't restricted and then the file becomes
> privileged after switching kernels. This can be solved by ignoring
> the sticky bit on files not owned by root.

And you are back to square one: root is still very special, no SUID
<whatever> binaries allowed.

This stuff _has_ to go into the filesystem, no other scheme would work.
--
Horst von Brand vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viña del Mar, Chile +56 32 672616


-
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    [from the cache]
©2003-2011 Jasper Spaans