Merge "Add capabilities for privsep"
This commit is contained in:
commit
04c772a4cd
@ -22,5 +22,8 @@ default = priv_context.PrivContext(
|
|||||||
# TODO(gus): CAP_SYS_ADMIN is required (only?) for manipulating
|
# TODO(gus): CAP_SYS_ADMIN is required (only?) for manipulating
|
||||||
# network namespaces. SYS_ADMIN is a lot of scary powers, so
|
# network namespaces. SYS_ADMIN is a lot of scary powers, so
|
||||||
# consider breaking this out into a separate minimal context.
|
# consider breaking this out into a separate minimal context.
|
||||||
capabilities=[caps.CAP_SYS_ADMIN, caps.CAP_NET_ADMIN],
|
capabilities=[caps.CAP_SYS_ADMIN,
|
||||||
|
caps.CAP_NET_ADMIN,
|
||||||
|
caps.CAP_DAC_OVERRIDE,
|
||||||
|
caps.CAP_DAC_READ_SEARCH],
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user