mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-13 09:34:54 +00:00
23 lines
236 B
Plaintext
23 lines
236 B
Plaintext
module modreq_bool_opt 1.0;
|
|
|
|
require {
|
|
class file {read write};
|
|
|
|
}
|
|
|
|
type mod_global_t;
|
|
|
|
optional {
|
|
require {
|
|
bool bool_req;
|
|
}
|
|
|
|
type a_t;
|
|
type b_t;
|
|
type mod_opt_t;
|
|
|
|
if (bool_req) {
|
|
allow a_t b_t : file { read write };
|
|
}
|
|
}
|