[lkml]   [2002]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Filesystem Capabilities in 2.6?

    On Sat, 2 Nov 2002, Linus Torvalds wrote:

    > However, I think there is a problem with Al's original approach: the bind
    > can _not_ be just a mask that takes away capabilities from a suid
    > application, since that would imply that the app has to be marked suid in
    > the first place (and accessing it _without_ going through the bind will
    > give it elevated privileges, which is what we're trying to avoid).

    No, that's OK -

    mount --bind /usr/bin/foo.real /usr/bin/foo.real
    mount -o remount,nosuid /usr/bin/foo.real

    or equivalent couple of mount(2) calls will do the trick nicely (and that,
    BTW, we have right now - you can selectively disable/enable suid on files
    and entire subtrees).

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:30    [W:0.029 / U:23.164 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site