Thread (6 messages) flat view 6 messages, 5 authors, 2004-11-19

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

From: Alan Cox <hidden>
Date: 2004-11-18 18:23:24
Also in: lkml

On Iau, 2004-11-18 at 17:25, James Morris wrote:
1) Don't call security_unix_may_send() hook during sendmsg() for 
SOCK_SEQPACKET, and ensure that sendmsg() can only be called on a 
connected socket so as not to bypass the security_unix_stream_connect() 
hook.

2) Return -EINVAL if sendto() is called on SOCK_SEQPACKET with an address 
supplied.
Consider shutdown(). A sendmsg into shutdown must return the pending
ECONNRESET
first. 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help