Skip to contentSkip to conversation

allow hald to read selinux config

PATCH In review Colin Walters 3 participants 3 messages Oct 23, 2004 – Oct 29, 2004 SELinux security module

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 allow hald to read selinux config

This patch is needed because HAL 0.4.0 now determines whether or not SELinux is enabled, and if it is applies the removable media context to mounted filesystems.

domains/program/unused/hald.te renamed from domains/program/unused/hald.te~ +1 -1
@@ -60,7 +60,7 @@
 allow hald_t usbfs_t:dir search;
 allow hald_t usbfs_t:file { getattr read };
 allow hald_t bin_t:lnk_file read;
-dontaudit hald_t selinux_config_t:dir { search };
+r_dir_file(hald_t, { selinux_config_t default_context_t } )
 allow hald_t initrc_t:dbus { send_msg };
 allow initrc_t hald_t:dbus { send_msg };
 allow hald_t etc_runtime_t:file rw_file_perms;
#1 lore raw
Quoted 3 lines · Colin Walters

This patch is needed because HAL 0.4.0 now determines whether or not SELinux is enabled, and if it is applies the removable media context to mounted filesystems.

HOORAY, whoopee!

--
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.

#2 lore raw
In reply to Colin Walters

Merged.

Quoted 3 lines · Colin Walters

This patch is needed because HAL 0.4.0 now determines whether or not SELinux is enabled, and if it is applies the removable media context to mounted filesystems.

Signature · 7 lines
James Carter <[email protected]>
National Security Agency

--
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.