security.h fixes for 2.5.48

From: Stephen D. Smalley (sdsat_private)
Date: Tue Nov 19 2002 - 10:35:39 PST

  • Next message: James Morris: "Re: security.h fixes for 2.5.48"

    In addition to adding some #include's to the SELinux module, I had to
    add several forward declarations for structures to include/linux/security.h
    to build 2.5.48-lsm1.  See the attached patch.
    
    --
    Stephen Smalley, NSA
    sdsat_private
    
    
    Index: lsm-2.5/include/linux/security.h
    ===================================================================
    RCS file: /home/pal/CVS/lsm-2.5/include/linux/security.h,v
    retrieving revision 1.26
    diff -u -r1.26 security.h
    --- lsm-2.5/include/linux/security.h	28 Oct 2002 19:37:45 -0000	1.26
    +++ lsm-2.5/include/linux/security.h	19 Nov 2002 18:21:28 -0000
    @@ -51,6 +51,10 @@
     #define LSM_SETID_FS	8
     
     /* forward declares to avoid warnings */
    +struct socket;
    +struct sock;
    +struct sockaddr;
    +struct msghdr;
     struct sk_buff;
     struct net_device;
     struct nfsctl_arg;
    
    _______________________________________________
    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 : Tue Nov 19 2002 - 10:29:38 PST