Skip to content

Commit 4b384f0

Browse files
committed
Allow container domains to ptrace themselves
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
1 parent 56fe16a commit 4b384f0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

container.te

+5
Original file line numberDiff line numberDiff line change
@@ -1544,3 +1544,8 @@ allow container_domain fusefs_t:file { append create entrypoint execmod execute
15441544
corecmd_entrypoint_all_executables(container_kvm_t)
15451545
allow svirt_sandbox_domain exec_type:file { entrypoint execute execute_no_trans getattr ioctl lock map open read };
15461546
allow svirt_sandbox_domain mountpoint:file entrypoint;
1547+
1548+
tunable_policy(`deny_ptrace',`',`
1549+
allow container_domain self:process ptrace;
1550+
allow spc_t self:process ptrace;
1551+
')

0 commit comments

Comments
 (0)