Skip to content

Commit

Permalink
Don't setup users for writing to pid_sockets
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel J Walsh <[email protected]>
  • Loading branch information
rhatdan committed May 24, 2021
1 parent 233e620 commit 61b862a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion container.if
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,6 @@ interface(`container_spc_stream_connect',`
')

files_search_pids($1)
files_write_all_pid_sockets($1)
allow $1 spc_t:unix_stream_socket connectto;
')

Expand Down
2 changes: 1 addition & 1 deletion container.te
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
policy_module(container, 2.162.1)
policy_module(container, 2.162.2)

gen_require(`
class passwd rootok;
Expand Down

0 comments on commit 61b862a

Please sign in to comment.