Re: LSM adapted to support XFS

From: Oliver Tennert (tennert@science-computing.de)
Date: Wed Dec 18 2002 - 23:17:47 PST

  • Next message: dwheelerat_private: "Changing the defaults for secondary modules (wrong defaults)"

    On Wed, 18 Dec 2002, Stephen D. Smalley wrote:
    
    > It turns out that nfsd_open in 2.4 directly sets up the struct file
    > rather than using init_private_file, unlike nfsd_open in 2.5.  Hence,
    > our changes to init_private_file don't solve the problem in the
    > current 2.4 version.
    > 
    > Attached is a quick fix to allocate a file security structure if one has not 
    > already been allocated when file_permission is called.  The preferred solution 
    > would be to back port the 2.5 changes to use init_private_file in nfsd_open so 
    > that the file security structure will be allocated during setup. 
    > 
    > --
    > Stephen Smalley, NSA
    > sdsat_private
    > 
    
    Hi Stephen,
    
    It works fine! Thank you very much indeed! Though it may only be a
    workaround, at least it is pretty well for me for the time being.
    
    Best regards
    
    Oliver 
    
    
    
    
    
    
    
    
    		   Dr. Oliver Tennert
                        
      		   +49 -7071 -9457-598
                              
     		   e-mail: O.Tennert@science-computing.de
      		   science + computing AG
      		   Hagellocher Weg 71                  
       		   D-72070 Tuebingen                  
                                         
    
    
    _______________________________________________
    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 Dec 19 2002 - 19:38:23 PST