aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/te_macros
blob: 136d928f21eba3e5336c8b494c4dff3834c60ee4 (plain)
1
2
3
4
5
6
7
8
9
# rw_dir_file(domain, type)
# Allow the specified domain to read and write directories, files
# and symbolic links of the specified type.
define(`rw_dir_file', `
allow $1 $2:dir rw_dir_perms;
allow $1 $2:{ file lnk_file } rw_file_perms;
')