dev_delete to be used by lvm tools
A message that is not in the archive (sent off-list or not yet received): [email protected]
On Mon, 2007-02-26 at 14:53 -0500, [email protected] wrote:
dev_delete_generic_dirs() already exists.
Quoted 26 lines
===File /tmp/patches/nsaserefpolicy_policy_modules_kernel_devices.if===
policy/modules/kernel/devices.if +18
-0@@ -3173,3 +3173,21 @@ typeattribute $1 devices_unconfined_type; ') + +######################################## +## <summary> +## delete entries from directories in /dev. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed to delete entries. +## </summary> +## </param> +# +interface(`dev_delete',` + gen_require(` + type device_t; + ') + + allow $1 device_t:dir delete_dir_perms; +')============================================================
Signature · 10 lines
Chris PeBenito Tresys Technology, LLC (410) 290-1411 x150 -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 24 lines · Christopher J. PeBenito
On Mon, 2007-02-26 at 14:53 -0500, [email protected] wrote:
dev_delete_generic_dirs()already exists.Quoted 19 lines
===File /tmp/patches/nsaserefpolicy_policy_modules_kernel_devices.if===
policy/modules/kernel/devices.if +12
-0@@ -3173,3 +3173,21 @@ typeattribute $1 devices_unconfined_type; ') + +######################################## +## <summary> +## delete entries from directories in /dev. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed to delete entries. +## </summary> +## </param> +# +interface(`dev_delete',`
Quoted 8 lines
Quoted 8 lines
policy/modules/kernel/devices.if +6
-0+ gen_require(` + type device_t; + ') + + allow $1 device_t:dir delete_dir_perms; +')============================================================
Ok, I will adjust.
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.