From 759ba0a4597e17a03b8b329aca1d7c7407488cb1 Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Wed, 18 May 2005 13:20:38 +0000 Subject: [PATCH] add get all filesystems quotas --- refpolicy/policy/modules/kernel/filesystem.if | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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)