[lkml]   [1999]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectUsing capabilities
    I'm doing a fair bit of raw network programming and
    I find it very annoying to have to do all the testing
    as root. Now, I figure I could give my user
    CAP_NET_RAW and CAP_NET_ADMIN but this is tricky.

    For starters, any call to set*id() will clear the
    bits if you're not root. This can be disabled
    but then (i guess) login won't drop all the caps.

    Then I figured CAP_SETPCAP to set it afterwards,
    but it seems that not even init has this cap set.
    How is this going to work?

    Any ideas?

    Martijn van Oosterhout

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

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