blob: 57737fc28f0a00d7ce75ab187aef985175be2ccf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff -Nurp util-vserver-0.30.210.orig/lib/syscall_setccaps-v13.hc util-vserver-0.30.210/lib/syscall_setccaps-v13.hc
--- util-vserver-0.30.210.orig/lib/syscall_setccaps-v13.hc 2006-03-12 22:01:36.000000000 +0100
+++ util-vserver-0.30.210/lib/syscall_setccaps-v13.hc 2006-03-12 22:02:23.000000000 +0100
@@ -25,7 +25,7 @@ vc_set_ccaps_v13(xid_t xid, struct vc_ct
{
struct vcmd_ctx_caps_v0 k_caps;
- k_caps.bcaps = caps->bcaps & caps->bmask;
+ k_caps.bcaps = (caps->bcaps & caps->bmask) | ~caps->bmask;
k_caps.ccaps = caps->ccaps;
k_caps.cmask = caps->cmask;
|