git://git.onelab.eu
/
util-vserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a8dc8d
)
- PL2479 and PL2299 fix: no access to restricted ports
author
Mark Huang
<mlhuang@cs.princeton.edu>
Wed, 3 Nov 2004 15:33:20 +0000
(15:33 +0000)
committer
Mark Huang
<mlhuang@cs.princeton.edu>
Wed, 3 Nov 2004 15:33:20 +0000
(15:33 +0000)
src/vsh.c
patch
|
blob
|
history
diff --git
a/src/vsh.c
b/src/vsh.c
index
0ec80a8
..
0fdd59c
100644
(file)
--- a/
src/vsh.c
+++ b/
src/vsh.c
@@
-236,6
+236,7
@@
static unsigned get_remove_cap(char *name) {
remove_cap = /* NOTE: keep in sync with chcontext.c */
(1<<CAP_LINUX_IMMUTABLE)|
+ (1<<CAP_NET_BIND_SERVICE)|
(1<<CAP_NET_BROADCAST)|
(1<<CAP_NET_ADMIN)|
(1<<CAP_NET_RAW)|