Re: Patch to swapon/swapoff

From: Greg KH (gregat_private)
Date: Wed Nov 14 2001 - 23:30:16 PST

  • Next message: Nick Bellinger: "[Fwd: Re: Openwall module changes]"

    On Thu, Nov 15, 2001 at 04:47:46PM +1100, Lachlan McIlroy wrote:
    > 
    > We would like to change the dentry parameter to the swapon/swapoff hooks 
    > to be a swap_info_struct.  This still provides the dentry but also 
    > provides other goodies like the vfsmnt structure.  In order to pass a 
    > valid swap_info_struct to the swapoff hook I had to move the hook to 
    > later on in the code.  Does anyone have any objections/suggestions?
    > 
    > I've attached the patch.
    
    Looks good to me.  Anyone else?
    
    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 : Wed Nov 14 2001 - 22:32:44 PST