Skip to content

Commit

Permalink
Removed the explicit allow call as this should not be necessary when …
Browse files Browse the repository at this point in the history
…specifying kernel_list_proc, kernel_read_proc_symlinks, and kernel_read_network_state.
  • Loading branch information
mattlord committed Jan 17, 2019
1 parent 1675767 commit 5f97609
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mongodb.te
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ files_tmp_filetrans(mongod_t, mongod_tmp_t, { file dir sock_file })
## This means that we need to adjust the policy so that the mongod
## process is allowed to open and read /proc/net/netstat, which
## also typically has symlinks (e.g. /proc/net/snmp).
allow mongod_t proc_net_t:file { open read };
kernel_list_proc(mongod_t)
kernel_read_proc_symlinks(mongod_t)

Expand Down

0 comments on commit 5f97609

Please sign in to comment.