Thread (17 messages) flat view 17 messages, 5 authors, 2004-11-20

Re: [PATCH] linux 2.9.10-rc1: Fix oops in unix_dgram_sendmsg when using SELinux and SOCK_SEQPACKET

From: James Morris <hidden>
Date: 2004-11-18 08:00:08
Also in: lkml

On Thu, 18 Nov 2004, Ross Kendall Axe wrote:
That seems eminently sensible. Again, I was just cut-n'-pasting from
SOCK_STREAM. If these error codes are wrong, then SOCK_STREAM also needs
fixing.
An issue here though is that what impact will this have on existing 
applications?
quoted
There is a non SELinux-related bug lurking in this code.
IMHO, there never was an SELinux bug here. SELinux merely exposed an 
existing bug.
Looks like it, testing a fix now.
I'm unable to reproduce that, or the bug you mention in your other 
message. Care to send us your code?
See http://people.redhat.com/jmorris/net/seqpacket-killer-jm.tar.bz2 
I think that af_unix.c needs a bit of cleaning up. All of the functions 
are named as being stream vs dgram, even when the issue is connectionless 
vs connection-oriented.
Agreed.


- James
-- 
James Morris
[off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help