Thread (6 messages) flat view 6 messages, 5 authors, 2011-03-23

Re: [PATCH v2] net/unix: Add secdata to unix_stream msgs

From: Paul Moore <hidden>
Date: 2011-03-23 22:16:51
Also in: lkml

On Wednesday, March 23, 2011 4:23:35 PM Pat Kane wrote:
  >> On Tue, 2011-03-22 at 19:32 -0700, David Miller wrote:
  >>> The SELINUX hook implementations even have "_dgram()" in their names.

The LSM hook that I am having problems with, and that the patch fixes
is  "secid_to_secctx()"  not "socket_getpeersec_dgram()".
Can you explain the problem you are having?  I'm specifically interested in 
who is calling secid_to_secctx() on a AF_UNIX stream packet.

Adding the secid token to a AF_UNIX stream packet isn't likely to be the right 
solution, although until we hear what the core problem is, I'm not sure we can 
offer any fixes.

--
paul moore
linux @ hp
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help