Hmm
This commit is contained in:
parent
e8bec4c75f
commit
1ad541171e
@ -211,8 +211,9 @@ int main(int argc, char * * argv)
|
|||||||
// Read the capabilities set on the file and raise them in to the
|
// Read the capabilities set on the file and raise them in to the
|
||||||
// Ambient set so the program we're wrapping receives the
|
// Ambient set so the program we're wrapping receives the
|
||||||
// capabilities too!
|
// capabilities too!
|
||||||
if (strcmp(wrapperType, "setcap") == 0)
|
|
||||||
assert(!make_caps_ambient(selfPath));
|
|
||||||
|
assert(!make_caps_ambient(selfPath));
|
||||||
|
|
||||||
execve(sourceProg, argv, environ);
|
execve(sourceProg, argv, environ);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user