need send_msg for merging dbus

This commit is contained in:
Chris PeBenito 2006-06-20 17:32:21 +00:00
parent cc0c00d044
commit 1b11a1fe65
2 changed files with 6 additions and 1 deletions

View File

@ -92,6 +92,10 @@ interface(`portage_run',`
#
interface(`portage_compile_domain',`
gen_require(`
class dbus send_msg;
')
allow $1 self:capability { fowner fsetid mknod setgid setuid chown dac_override net_raw };
dontaudit $1 self:capability sys_chroot;
allow $1 self:process { setpgid setsched setrlimit signal_perms execmem };
@ -114,6 +118,7 @@ interface(`portage_compile_domain',`
allow $1 self:udp_socket recvfrom;
# needed for merging dbus:
allow $1 self:netlink_selinux_socket { bind create read };
allow $1 self:dbus send_msg;
allow $1 portage_devpts_t:chr_file { rw_file_perms setattr };
term_create_pty($1,portage_devpts_t)

View File

@ -1,5 +1,5 @@
policy_module(portage,1.0.3)
policy_module(portage,1.0.4)
########################################
#