diff options
Diffstat (limited to 'policy/modules/admin/quota.fc')
-rw-r--r-- | policy/modules/admin/quota.fc | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/policy/modules/admin/quota.fc b/policy/modules/admin/quota.fc new file mode 100644 index 000000000..28a21a8bc --- /dev/null +++ b/policy/modules/admin/quota.fc @@ -0,0 +1,32 @@ +HOME_ROOT/a?quota\.(user|group) -- gen_context(system_u:object_r:quota_db_t,s0) + +HOME_DIR/a?quota\.(user|group) -- gen_context(system_u:object_r:quota_db_t,s0) + +/a?quota\.(user|group) -- gen_context(system_u:object_r:quota_db_t,s0) + +/boot/a?quota\.(user|group) -- gen_context(system_u:object_r:quota_db_t,s0) + +/etc/a?quota\.(user|group) -- gen_context(system_u:object_r:quota_db_t,s0) + +/etc/rc\.d/init\.d/quota_nld -- gen_context(system_u:object_r:quota_nld_initrc_exec_t,s0) + +/usr/bin/convertquota -- gen_context(system_u:object_r:quota_exec_t,s0) +/usr/bin/quota(check|on) -- gen_context(system_u:object_r:quota_exec_t,s0) +/usr/bin/quota_nld -- gen_context(system_u:object_r:quota_nld_exec_t,s0) + +/usr/sbin/convertquota -- gen_context(system_u:object_r:quota_exec_t,s0) +/usr/sbin/quota(check|on) -- gen_context(system_u:object_r:quota_exec_t,s0) +/usr/sbin/quota_nld -- gen_context(system_u:object_r:quota_nld_exec_t,s0) + +/var/a?quota\.(user|group) -- gen_context(system_u:object_r:quota_db_t,s0) + +/var/lib/quota(/.*)? gen_context(system_u:object_r:quota_flag_t,s0) + +/run/quota_nld\.pid -- gen_context(system_u:object_r:quota_nld_var_run_t,s0) + +/var/spool/a?quota\.(user|group) -- gen_context(system_u:object_r:quota_db_t,s0) + +/var/spool/imap/a?quota\.(user|group) -- gen_context(system_u:object_r:quota_db_t,s0) +/var/spool/(client)?mqueue/a?quota\.(user|group) -- gen_context(system_u:object_r:quota_db_t,s0) +/var/spool/mqueue\.in/a?quota\.(user|group) -- gen_context(system_u:object_r:quota_db_t,s0) +/var/spool/mail/a?quota\.(user|group) -- gen_context(system_u:object_r:quota_db_t,s0) |