Re: [RFC] [PATCH] placement of unix_may_send hook

From: Greg KH (gregat_private)
Date: Sun Sep 09 2001 - 10:16:30 PDT

  • Next message: Chris Vance: "Re: [RFC] [PATCH] placement of unix_may_send hook"

    On Mon, Sep 10, 2001 at 02:06:59AM +1000, James Morris wrote:
    > The patch below proposes moving the unix_may_send socket hook in
    > unix_dgram_sendmsg() to a point after the dead/dying peer detection logic
    > in the main kernel.
    > 
    > It is not uncommon for a process to try and send to a connected dead peer
    > socket (e.g. calling syslog() while syslogd is being restarted), and
    > moving the hook prevents the need to try and perform the detection logic
    > in an LSM module (which won't really work properly anyway).
    
    Looks good to me.
    
    thanks,
    
    greg k-h
    
    _______________________________________________
    linux-security-module mailing list
    linux-security-moduleat_private
    http://mail.wirex.com/mailman/listinfo/linux-security-module
    



    This archive was generated by hypermail 2b30 : Sun Sep 09 2001 - 10:18:29 PDT