| To: | Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] linux 2.9.10-rc1: Fix oops in unix_dgram_sendmsg when using SELinux and SOCK_SEQPACKET |
| From: | Chris Wright <chrisw@xxxxxxxx> |
| Date: | Thu, 18 Nov 2004 10:34:11 -0800 |
| Cc: | James Morris <jmorris@xxxxxxxxxx>, Ross Kendall Axe <ross.axe@xxxxxxxxxxxxxxxx>, netdev@xxxxxxxxxxx, Stephen Smalley <sds@xxxxxxxxxxxxxx>, lkml <linux-kernel@xxxxxxxxxxxxxxx>, Chris Wright <chrisw@xxxxxxxx>, "David S. Miller" <davem@xxxxxxxxxxxxx> |
| In-reply-to: | <1100796294.6019.8.camel@localhost.localdomain>; from alan@lxorguk.ukuu.org.uk on Thu, Nov 18, 2004 at 04:45:14PM +0000 |
| References: | <Xine.LNX.4.44.0411172222160.2531-100000@thoron.boston.redhat.com> <1100796294.6019.8.camel@localhost.localdomain> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.2.5i |
* Alan Cox (alan@xxxxxxxxxxxxxxxxxxx) wrote: > On Iau, 2004-11-18 at 03:42, James Morris wrote: > > > Well, my reading of socket(2) suggests that it's _not_ supposed to work. > > > > sendto() on a non connected socket should fail with ENOTCONN. > > Not entirely true at all. A network protocol can implement lazy binding > and > do implicit binding on the sendto. Other protocols might not actually > have > a receiving component so have no bind() functionality at all. Just to be clear, this fix is not at socket layer, but specific to UNIX domain socket protocol layer. thanks, -chris -- Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net |
| Previous by Date: | Re: [PATCH] linux 2.9.10-rc1: Fix oops in unix_dgram_sendmsg when using SELinux and SOCK_SEQPACKET, James Morris |
|---|---|
| Next by Date: | Re: [PATCH] linux 2.9.10-rc1: Fix oops in unix_dgram_sendmsg when using SELinux and SOCK_SEQPACKET, James Morris |
| Previous by Thread: | Re: [PATCH] linux 2.9.10-rc1: Fix oops in unix_dgram_sendmsg when using SELinux and SOCK_SEQPACKET, James Morris |
| Next by Thread: | IPv6 "badness" in recent releases, Jeff Garzik |
| Indexes: | [Date] [Thread] [Top] [All Lists] |