projects
/
util-vserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
2fade96
)
Allow setting file capabilities
author
Daniel Hokka Zakrisson
<daniel@hozac.com>
Wed, 1 Jun 2011 13:43:08 +0000 (15:43 +0200)
committer
Daniel Hokka Zakrisson
<daniel@hozac.com>
Wed, 1 Jun 2011 13:43:08 +0000 (15:43 +0200)
lib/getinsecurebcaps.c
patch
|
blob
|
history
diff --git
a/lib/getinsecurebcaps.c
b/lib/getinsecurebcaps.c
index
8acfd53
..
f04af2c
100644
(file)
--- a/
lib/getinsecurebcaps.c
+++ b/
lib/getinsecurebcaps.c
@@
-31,7
+31,7
@@
vc_get_insecurebcaps()
(1<<VC_CAP_SETGID) | (1<<VC_CAP_SETUID) |
(1<<VC_CAP_NET_BIND_SERVICE) | (1<<VC_CAP_SYS_CHROOT) |
(1<<VC_CAP_SYS_PTRACE) | (1<<VC_CAP_SYS_TTY_CONFIG) |
- (1<<VC_CAP_LEASE)
+ (1<<VC_CAP_LEASE) | (1<<VC_CAP_SETFCAP)
| (vc_isSupported(vcFEATURE_VSHELPER) ? (1<<VC_CAP_SYS_BOOT) : 0)
| (vc_isSupported(vcFEATURE_MIGRATE) ? (1<<VC_CAP_AUDIT_WRITE) : 0) // formerly QUOTACTL