lkml.org 
[lkml]   [2011]   [Apr]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux capabilities shouldn't be lost during setuid to non-root from root or to another non-root uid from a non-root uid.
Quoting crocket (crockabiscuit@gmail.com):
> prctl(PR_SET_KEEPCAPS, 1) didn't work since, during setuid to
> non-root, effective bit was lost.

It's in pP so you can move it back to pE.

-serge


\
 
 \ /
  Last update: 2011-04-18 04:07    [W:0.114 / U:1.348 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site