[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
    On Thu, 18 Nov 2004 12:25:21 -0500 (EST)
    James Morris <> wrote:

    > Updated patch below (with Chris Wright's wrapper idea).
    > This now fixes both issues.
    > 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.
    > Please review and apply if ok.
    > Signed-off-by: James Morris <>

    Looks good, applied thanks James.
    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.020 / U:1.820 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site