fedora-selinux August 2010 archive
Main Archive Page > Month Archives  > fedora-selinux archives
fedora-selinux: Re: pipefs AVC

Re: pipefs AVC

From: Mr Dash Four <mr.dash.four_at_nospam>
Date: Sun Aug 29 2010 - 15:00:36 GMT
To: Dominick Grift <domg472@gmail.com>

> its a fifo_file on device pipefs with name/path: pipe:[11951]
>
> This type of internal communication is very common. We use the following
> policy for this:
>
> allow voip_sandbox_t self:fifo_file rw_fifo_file_perms;
>
This worked, though I get the following AVC when starting the process:

type=AVC msg=audit(1283088703.670:16403): avc: denied { execmem } for
pid=1847 comm="voip_sandbox"
scontext=unconfined_u:system_r:voip_sandbox_t:s0
tcontext=unconfined_u:system_r:voip_sandbox_t:s0 tclass=process
type=SYSCALL msg=audit(1283088703.670:16403): arch=40000003 syscall=90
per=400000 success=no exit=-13 a0=8e997d4 a1=bfc01000 a2=bfc00000
a3=1ff000 items=0 ppid=1845 pid=1847 auid=0 uid=496 gid=496 euid=496
suid=496 fsuid=496 egid=496 sgid=496 fsgid=496 tty=(none) ses=1
comm="voip_sandbox" exe="/usr/local/bin/voip_sandbox"
subj=unconfined_u:system_r:voip_sandbox_t:s0 key=(null)

Even though the 2 spawned processes are still in memory (though nothing
works) when I try to terminate the application nothing happens and when
I try to reboot I get this in the audit log:

type=AVC msg=audit(1283088703.670:16404): avc: denied { signal } for
pid=1847 comm="voip_sandbox"
scontext=unconfined_u:system_r:voip_sandbox_t:s0
tcontext=unconfined_u:system_r:voip_sandbox_t:s0 tclass=process

Tried to add 'allow voip_sandbox_t self:process { execmem signal };' but
that did not help one iota - I am getting the same avcs!

-- selinux mailing list selinux@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/selinux