12 lines
272 B
Plaintext
12 lines
272 B
Plaintext
module mongodb_cgroup_memory 1.0;
|
|
|
|
require {
|
|
type cgroup_t;
|
|
type mongod_t;
|
|
class dir search;
|
|
class file { getattr open read };
|
|
}
|
|
|
|
#============= mongod_t ==============
|
|
allow mongod_t cgroup_t:dir search;
|
|
allow mongod_t cgroup_t:file { getattr open read }; |