Skip to content

Commit a0c3bf0

Browse files
committed
selinux: Extend inspection capabilities to user namespaces
1 parent d09bfbf commit a0c3bf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/selinux/laurel.te

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ allow laurel_t laurel_exec_t:file execute_no_trans;
3838
# Set permissions at initialization time
3939
allow laurel_t self:capability { chown fowner fsetid setuid setgid };
4040
# Inspect process environments, override UNIX read permissions
41-
allow laurel_t self:capability { sys_ptrace dac_read_search };
41+
allow laurel_t self:{ capability cap_userns } { sys_ptrace dac_read_search };
4242

4343
# Write to Syslog
4444
logging_send_syslog_msg(laurel_t)

0 commit comments

Comments
 (0)