New patch for sock security

From: Wayne Salamon (wsalamonat_private)
Date: Thu Jul 18 2002 - 06:49:28 PDT

  • Next message: Chris Wright: "Re: [patch] LSM base + task/binprm changes (Was: Re: Submitting LSM)"

      Attached are two new patches for the sock security hooks, 2.4 and 2.5.
    The change from the last set of patches is to make the copy of the new
    sock strcuture take place in a inline function. This function can be
    #defined to copy/restore the sock->security field, or not. We can replace
    the '#if 1' with the new config macros if/when they are defined.
    
      For the 2.4 code base, the inling function (clone_sk) is contained in
    sock.h. However, for 2.5, the function is clone_tcp_sk(), contained in
    include/linux/tcp.h because tcp_minisocks deals with a tcp_sock in 2.5
    
      A few other changes were made based on feedback from James and Chris
    Wright.
    
    -- 
    Wayne Salamon
    wsalamonat_private
    
    
    
    
    


    _______________________________________________ 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 : Thu Jul 18 2002 - 06:59:20 PDT