[lkml]   [2004]   [Nov]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] linux 2.9.10-rc1: Fix oops in unix_dgram_sendmsg when using SELinux and SOCK_SEQPACKET
    * James Morris ( wrote:
    > On Thu, 18 Nov 2004, Chris Wright wrote:
    > > Why not make a unix_seq_sendmsg, which is a very small wrapper?
    > Good idea, patch forthcoming.
    > > Does the above stop the other issue? My laptop died, so I'm not able to
    > > test ATM.
    > No, it seems to be caused when addrlen in sendto() is non-zero, causing
    > unix_find_other() to be called instead of unix_peer_get(), which is
    > screwing up reference counts.

    Right, but the snippet I posted guards against that I think. It forces
    unix_peer_get() in dgram_sendmsg.

    > As for MSG_EOR, apart from the generic socket code, nothing is being done.
    > This would be a separate issue.

    Yup, just noting the bits that looked broken to me.

    Linux Security Modules
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 14:08    [W:0.023 / U:89.440 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site