We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10cc97b commit 6612013Copy full SHA for 6612013
source/includes/fact-selinux-redhat-options.rst
@@ -73,13 +73,20 @@ to your SELinux policy:
73
module mongodb_proc_net 1.0;
74
75
require {
76
- type proc_net_t;
77
- type mongod_t;
78
- class file { open read };
+ type sysctl_net_t;
+ type mongod_t;
+ class dir search;
79
+ class file { getattr open read };
80
}
-
81
+
82
#============= mongod_t ==============
- allow mongod_t proc_net_t:file { open read };
83
84
+ #!!!! This avc is allowed in the current policy
85
+ allow mongod_t sysctl_net_t:dir search;
86
+ allow mongod_t sysctl_net_t:file open;
87
88
89
+ allow mongod_t sysctl_net_t:file { getattr read };
90
EOF
91
92
#. Once created, compile and load the custom policy module by
0 commit comments