Re: [PATCH] permission hook in filemap_nopage

From: Antony Edwards (aedwardat_private)
Date: Tue Feb 05 2002 - 10:59:55 PST

  • Next message: Antony Edwards: "Re: [PATCH] permission hook in filemap_nopage"

    > I think you should hook in do_no_page, since the ->nopage
    > callback could be something other than filemap_nopage.
    
    I thought about that, but only wanted to check access to files (for
    consistency with
    read(2)/write(2)). The semantics of this seem pretty (to me) -- but for
    shared
    memory I'm not sure. The process can still receive data from other
    processes
    without going through do_no_page -- so checking just because the page got
    swapped out doesn't appear to useful.
    
    Comments?
    
    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 - 11:01:17 PST