Skip to content

Commit 4f9fd47

Browse files
committed
Allow containers to mask parts of their /proc
Allow processes inside of a container to mount things onto parts of the /proc that they have in order to mask things which the container engine didn't for whatever reason. Signed-off-by: Nalin Dahyabhai <[email protected]>
1 parent 4244f85 commit 4f9fd47

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

container.te

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -984,6 +984,7 @@ allow container_domain container_runtime_domain:socket_class_set { accept append
984984

985985
kernel_getattr_proc(container_domain)
986986
kernel_list_all_proc(container_domain)
987+
kernel_mounton_all_proc(container_domain)
987988
kernel_read_all_sysctls(container_domain)
988989
kernel_dontaudit_write_kernel_sysctl(container_domain)
989990
kernel_read_network_state(container_domain)

0 commit comments

Comments
 (0)