diff --git a/refpolicy/policy/modules/kernel/filesystem.if b/refpolicy/policy/modules/kernel/filesystem.if index 64c29cc..d2dfb22 100644 --- a/refpolicy/policy/modules/kernel/filesystem.if +++ b/refpolicy/policy/modules/kernel/filesystem.if @@ -986,6 +986,20 @@ class filesystem quotaget; ######################################## # +# filesystem_set_all_filesystems_quotas(type) +# +define(`filesystem_set_all_filesystems_quotas',` +requires_block_template(`$0'_depend) +allow $1 fs_type:filesystem quotamod; +') + +define(`filesystem_set_all_filesystems_quotas_depend',` +attribute fs_type; +class filesystem quotamod; +') + +######################################## +# # filesystem_get_all_file_attributes(type) # define(`filesystem_get_all_file_attributes',`