git://git.onelab.eu
/
util-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Should've been part of the previous commit.
[util-vserver.git]
/
src
/
vsh.c
diff --git
a/src/vsh.c
b/src/vsh.c
index
b80b8d8
..
ee6ba76
100644
(file)
--- a/
src/vsh.c
+++ b/
src/vsh.c
@@
-224,7
+224,7
@@
static int sandbox_processes(xid_t ctx, char *context)
(void) (sandbox_chroot(ctx));
- if ((ctx_is_new = pl_chcontext(ctx,
0,
~vc_get_insecurebcaps(),&slr)) < 0)
+ if ((ctx_is_new = pl_chcontext(ctx, ~vc_get_insecurebcaps(),&slr)) < 0)
{
PERROR("pl_chcontext(%u)", ctx);
exit(1);