On Thu, Jun 19, 2008 at 09:53:18PM -0000, Serge Hallyn wrote:
> int main(int argc, char *argv[])
> {
>    pid = atoi(argv[1]);
>    cap_t mycaps = cap_from_text("all=p");
>    capsetp(pid, mycaps);
>    cap_free(mycaps);
> }

Ah, good.  This is helpful, thanks.  :)

-- 
ubuntu kernel removes CAP_SETPCAP
https://bugs.launchpad.net/bugs/95089
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to