android13/external/selinux/libsepol/tests/policies/test-deps/modreq-bool-opt.conf

23 lines
236 B
Plaintext
Raw Normal View History

2024-06-22 08:45:49 -04:00
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 };
}
}