projects
/
util-vserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
b7c0d77
)
Filter out CLONE_NEWNS and CLONE_FS, as vc_get_space_default does.
author
Daniel Hokka Zakrisson
<daniel@hozac.com>
Fri, 31 Oct 2008 04:00:12 +0000 (
04:00
+0000)
committer
Daniel Hokka Zakrisson
<daniel@hozac.com>
Fri, 31 Oct 2008 04:00:12 +0000 (
04:00
+0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2812
94cd875c
-1c1d-0410-91d2-
eb244daf1a30
lib/syscall_getspacemask-v21.hc
patch
|
blob
|
history
diff --git
a/lib/syscall_getspacemask-v21.hc
b/lib/syscall_getspacemask-v21.hc
index
e4caa7c
..
1896bef
100644
(file)
--- a/
lib/syscall_getspacemask-v21.hc
+++ b/
lib/syscall_getspacemask-v21.hc
@@
-28,5
+28,5
@@
vc_get_space_mask_spaces(int UNUSED tmp)
int ret = vserver(VCMD_get_space_mask, 0, &data);
if (ret)
return ret;
- return data.mask;
+ return data.mask & ~(CLONE_NEWNS|CLONE_FS);
}