From 759ba0a4597e17a03b8b329aca1d7c7407488cb1 Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: May 18 2005 13:20:38 +0000 Subject: add get all filesystems quotas --- 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',`