All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] semaphores
@ 2011-04-14 14:15 Russell Coker
  2011-04-14 15:20 ` Christopher J. PeBenito
  0 siblings, 1 reply; 2+ messages in thread
From: Russell Coker @ 2011-04-14 14:15 UTC (permalink / raw)
  To: refpolicy

type=AVC msg=audit(1302788046.768:5309): avc:  denied  { unix_read unix_write 
} for  pid=6009 comm="mplayer" key=5678293  
scontext=abc:user_r:user_t:s0:c0.c255-s0:c0.c511 
tcontext=abc:user_r:mozilla_t:s0:c0.c255-s0:c0.c511 tclass=sem

In Debian we have a policy based on the 20100524 release.  The above is the 
result of trying to run mplayer after doing something in a web browser that 
uses sound (Youtube on Chromium in this case).

Apart from allowing mozilla_t and user_t to access each other's semaphores, 
rewriting the sound libraries, and using ipcrm, how can we solve this?

-- 
My Main Blog         http://etbe.coker.com.au/
My Documents Blog    http://doc.coker.com.au/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [refpolicy] semaphores
  2011-04-14 14:15 [refpolicy] semaphores Russell Coker
@ 2011-04-14 15:20 ` Christopher J. PeBenito
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher J. PeBenito @ 2011-04-14 15:20 UTC (permalink / raw)
  To: refpolicy

On 4/14/2011 10:15 AM, Russell Coker wrote:
> type=AVC msg=audit(1302788046.768:5309): avc:  denied  { unix_read unix_write
> } for  pid=6009 comm="mplayer" key=5678293
> scontext=abc:user_r:user_t:s0:c0.c255-s0:c0.c511
> tcontext=abc:user_r:mozilla_t:s0:c0.c255-s0:c0.c511 tclass=sem
>
> In Debian we have a policy based on the 20100524 release.  The above is the
> result of trying to run mplayer after doing something in a web browser that
> uses sound (Youtube on Chromium in this case).
>
> Apart from allowing mozilla_t and user_t to access each other's semaphores,
> rewriting the sound libraries, and using ipcrm, how can we solve this?

I don't see any options beyond what you said.  I assume mplayer fails 
due to this denial?  If so, I'm not sure I see what the problem with 
allowing it is.  Of course I'd rather not, but its not as bad as if the 
access were the other way around.  User_t already has to interact with 
mozilla_t.

-- 
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-04-14 15:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-14 14:15 [refpolicy] semaphores Russell Coker
2011-04-14 15:20 ` Christopher J. PeBenito

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.