policycoreutils/tests/restorecon/testpolicy.te
Troy Dawson 981b3c982e RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/policycoreutils#d151b2c053d3957eb9287c20d6202ac242c60766
2020-10-14 16:23:12 -07:00

20 lines
297 B
Plaintext

policy_module(testpolicy, 1.0)
require {
attribute domain;
type fs_t;
}
type correct_t;
files_type(correct_t)
type incorrect_t;
files_type(incorrect_t)
type customizable_t;
files_type(customizable_t)
#allow domain correct_t:dir relabelto;
#allow correct_t fs_t:filesystem associate;