diff --git a/refpolicy/policy/modules/kernel/filesystem.if b/refpolicy/policy/modules/kernel/filesystem.if index 64c29ccad..d2dfb2267 100644 --- a/refpolicy/policy/modules/kernel/filesystem.if +++ b/refpolicy/policy/modules/kernel/filesystem.if @@ -984,6 +984,20 @@ attribute fs_type; 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)