Re: [PATCH] permission hook in filemap_nopage

From: Antony Edwards (aedwardat_private)
Date: Tue Feb 05 2002 - 15:28:21 PST

  • Next message: Chris Wright: "Re: [PATCH] extended attribute support"

    >> Yes you're right -- the hook would have to be in handle_pte_fault or
    >> establish_pte.
    >
    > Have you run any benchmarks with such a hook in either place?  I think
    > the overhead involved in doing this would be very noticable.
    
    Not yet -- got sidetracked -- getting around to it now. Though, I
    assume that having the hook in handle_pte_fault will be very (probably
    prohibitively) expensive. If that turns out to be true I think
    removing sys_read/sys_write hooks isn't such a bad idea -- is anyone
    using them? And if so, how are you dealing with memory mapped files?
    
    Antony
    
    
    _______________________________________________
    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 Feb 05 2002 - 15:29:15 PST