trunk: trivial gentoo tweaks

This commit is contained in:
Chris PeBenito 2007-06-20 20:08:26 +00:00
parent 5bf9deb5bb
commit 92d1ade254
3 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,5 @@
policy_module(distcc,1.3.0) policy_module(distcc,1.3.1)
######################################## ########################################
# #
@ -28,6 +28,7 @@ allow distccd_t self:capability { setgid setuid };
dontaudit distccd_t self:capability sys_tty_config; dontaudit distccd_t self:capability sys_tty_config;
allow distccd_t self:process { signal_perms setsched }; allow distccd_t self:process { signal_perms setsched };
allow distccd_t self:fifo_file { read write getattr }; allow distccd_t self:fifo_file { read write getattr };
allow distccd_t self:netlink_route_socket r_netlink_socket_perms;
allow distccd_t self:tcp_socket create_stream_socket_perms; allow distccd_t self:tcp_socket create_stream_socket_perms;
allow distccd_t self:udp_socket create_socket_perms; allow distccd_t self:udp_socket create_socket_perms;

View File

@ -170,6 +170,10 @@ ifdef(`distro_gentoo',`
/usr/lib(64)?/xorg/modules/drivers/nvidia_drv\.o -- gen_context(system_u:object_r:textrel_shlib_t,s0) /usr/lib(64)?/xorg/modules/drivers/nvidia_drv\.o -- gen_context(system_u:object_r:textrel_shlib_t,s0)
/usr/lib(64)?/xorg/modules/extensions/nvidia(-[^/]*)?/libglx\.so(\.[^/]*)* -- gen_context(system_u:object_r:textrel_shlib_t,s0) /usr/lib(64)?/xorg/modules/extensions/nvidia(-[^/]*)?/libglx\.so(\.[^/]*)* -- gen_context(system_u:object_r:textrel_shlib_t,s0)
ifdef(`distro_gentoo',`
/usr/lib -l gen_context(system_u:object_r:lib_t,s0)
')
ifdef(`distro_redhat',` ifdef(`distro_redhat',`
/usr/share/rhn/rhn_applet/eggtrayiconmodule\.so -- gen_context(system_u:object_r:shlib_t,s0) /usr/share/rhn/rhn_applet/eggtrayiconmodule\.so -- gen_context(system_u:object_r:shlib_t,s0)

View File

@ -1,5 +1,5 @@
policy_module(libraries,1.6.1) policy_module(libraries,1.6.2)
######################################## ########################################
# #