Re: path_post_lookup

From: Charles Levert (chuckat_private)
Date: Wed Sep 03 2003 - 14:01:48 PDT

  • Next message: MAILER-DAEMONat_private: "failure notice"

    On Wed, Sep 03, 2003 at 09:05:14AM -0400, Stephen Smalley wrote:
    > You are relying on the directory tree remaining stable for your
    > traversal of the parent links until you find the "capability" or reach
    > the root.  If the directory tree changes between the link_path_walk
    > traversal and your hook's traversal, then you may have faulty results. 
    > Yes?
    
    I see what you mean.  Mind you, the directory tree can also change *during*
    link_path_walk since the lock on the dcache is not held during all of it.
    This doesn't stop us from looking up paths.
    
    
    Charles
    _______________________________________________
    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 Sep 03 2003 - 14:02:58 PDT