Skip to content

Commit

Permalink
Dontaudit attempts by containers to write systectls
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel J Walsh <[email protected]>
  • Loading branch information
rhatdan committed Oct 11, 2019
1 parent bfde70a commit 79bdcb5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.117.0
2.118.0
4 changes: 3 additions & 1 deletion container.te
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
policy_module(container, 2.117.0)
policy_module(container, 2.118.0)
gen_require(`
class passwd rootok;
')
Expand Down Expand Up @@ -1032,7 +1032,9 @@ container_runtime_read_tmpfs_files(init_t)

gen_require(`
attribute device_node;
attribute sysctl_type;
')
dontaudit container_domain device_node:chr_file setattr;
dontaudit container_domain sysctl_type:file write;

allow container_t proc_t:filesystem remount;

0 comments on commit 79bdcb5

Please sign in to comment.