trunk: trivial gentoo tweaks
This commit is contained in:
parent
5bf9deb5bb
commit
92d1ade254
@ -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;
|
||||||
|
|
||||||
|
@ -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)
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
policy_module(libraries,1.6.1)
|
policy_module(libraries,1.6.2)
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user