Small patch to udev.te
Here is another small patch to fix a problem with udev on bootup.
Index: udev.te
===================================================================
RCS file: /cvsroot/selinux/nsa/selinux-usr/policy/domains/program/unused/udev.te,v retrieving revision 1.42
udev.te 25 Apr 2005 22:00:44 -0000 renamed from udev.te 22 Apr 2005 15:02:30 -0000 1.42 +0 -0
@@ -33,7 +33,7 @@ allow udev_t self:unix_stream_socket {connectto
create_stream_socket_perms};
allow udev_t self:unix_dgram_socket create_socket_perms; allow udev_t self:fifo_file rw_file_perms;
-allow udev_t device_t:file rw_file_perms;
+allow udev_t device_t:file { unlink rw_file_perms };
allow udev_t device_t:sock_file create_file_perms; allow udev_t device_t:lnk_file create_lnk_perms; allow udev_t { device_t device_type }:{ chr_file blk_file } {
relabelfrom relabelto create_file_perms };
Signature · 8 lines
. paul moore . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [email protected] hewlett packard . (603) 884-5056 linux security -- 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.