lkml.org 
[lkml]   [2004]   [Nov]   [15]   [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
    From
    Date
    On Sun, 2004-11-14 at 13:13, Ross Kendall Axe wrote:
    > With CONFIG_SECURITY_NETWORK=y and CONFIG_SECURITY_SELINUX=y, using
    > SOCK_SEQPACKET unix domain sockets causes an oops in the superfluous(?)
    > call to security_unix_may_send in sock_dgram_sendmsg. This patch avoids
    > making this call for SOCK_SEQPACKET sockets.

    I'd prefer to track down the actual issue in the SELinux code and
    correct it than just omit the security hook call entirely. Do you have
    the Oops output and a trivial test case? Thanks.

    --
    Stephen Smalley <sds@epoch.ncsc.mil>
    National Security Agency

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:08    [W:2.857 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site