[selinux-policy: 337/3172] rename setattr removable_device_t
Daniel J Walsh
dwalsh at fedoraproject.org
Thu Oct 7 19:34:02 UTC 2010
commit 5a45e70177bdaa5eaeb2e8a7caa6124ae68535f8
Author: Chris PeBenito <cpebenito at tresys.com>
Date: Mon Jun 13 20:00:36 2005 +0000
rename setattr removable_device_t
refpolicy/policy/modules/kernel/storage.if | 4 ++--
refpolicy/policy/modules/system/authlogin.te | 2 +-
refpolicy/policy/modules/system/hotplug.te | 2 +-
refpolicy/policy/modules/system/init.te | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/refpolicy/policy/modules/kernel/storage.if b/refpolicy/policy/modules/kernel/storage.if
index dd4ee09..2439fcb 100644
--- a/refpolicy/policy/modules/kernel/storage.if
+++ b/refpolicy/policy/modules/kernel/storage.if
@@ -404,14 +404,14 @@ define(`storage_dontaudit_getattr_removable_device_depend',`
## </parameter>
## </interface>
#
-define(`storage_set_removable_device_attributes',`
+define(`storage_setattr_removable_device',`
requires_block_template(`$0'_depend)
dev_list_all_dev_nodes($1)
allow $1 removable_device_t:blk_file setattr;
')
-define(`storage_set_removable_device_attributes_depend',`
+define(`storage_setattr_removable_device_depend',`
type removable_device_t;
class blk_file setattr;
diff --git a/refpolicy/policy/modules/system/authlogin.te b/refpolicy/policy/modules/system/authlogin.te
index 5af1281..9cc541d 100644
--- a/refpolicy/policy/modules/system/authlogin.te
+++ b/refpolicy/policy/modules/system/authlogin.te
@@ -145,7 +145,7 @@ kernel_use_fd(pam_console_t)
storage_getattr_fixed_disk(pam_console_t)
storage_setattr_fixed_disk(pam_console_t)
storage_getattr_removable_device(pam_console_t)
-storage_set_removable_device_attributes(pam_console_t)
+storage_setattr_removable_device(pam_console_t)
term_use_console(pam_console_t)
term_getattr_unallocated_ttys(pam_console_t)
diff --git a/refpolicy/policy/modules/system/hotplug.te b/refpolicy/policy/modules/system/hotplug.te
index 6e59141..991c4fb 100644
--- a/refpolicy/policy/modules/system/hotplug.te
+++ b/refpolicy/policy/modules/system/hotplug.te
@@ -64,7 +64,7 @@ dev_read_urand(hotplug_t)
fs_getattr_all_fs(hotplug_t)
storage_setattr_fixed_disk(hotplug_t)
-storage_set_removable_device_attributes(hotplug_t)
+storage_setattr_removable_device(hotplug_t)
term_dontaudit_use_console(hotplug_t)
diff --git a/refpolicy/policy/modules/system/init.te b/refpolicy/policy/modules/system/init.te
index 929da00..b7b1143 100644
--- a/refpolicy/policy/modules/system/init.te
+++ b/refpolicy/policy/modules/system/init.te
@@ -225,7 +225,7 @@ fs_getattr_all_fs(initrc_t)
storage_getattr_fixed_disk(initrc_t)
storage_setattr_fixed_disk(initrc_t)
-storage_set_removable_device_attributes(initrc_t)
+storage_setattr_removable_device(initrc_t)
term_use_all_terms(initrc_t)
term_reset_tty_labels(initrc_t)
More information about the scm-commits
mailing list