Re: About change of arguments in hooks

From: Chris Wright (chrisat_private)
Date: Fri Apr 11 2003 - 10:23:30 PDT

  • Next message: Crispin Cowan: "Re: About change of arguments in hooks"

    * Greg KH (gregat_private) wrote:
    > On Fri, Apr 11, 2003 at 12:16:58AM -0500, Weiqing Sun wrote:
    > > 
    > > I'm thinking of implementing file redirection using LSM hooks, e.g.
    > > The deletion on /opt/2 will be applied to /tmp/2_victim.
    > 
    > Why not just use mount to handle this kind of stuff?  I wouldn't
    > recommend using lsm to handle redirection, but it might be possible with
    > a lot of care.
    
    Yeah, I had similar thought.  Otherwise, you would need pay special
    attention to proper locking, and avoiding deadlocks.
    -chris
    -- 
    Linux Security Modules     http://lsm.immunix.org     http://lsm.bkbits.net
    _______________________________________________
    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 : Fri Apr 11 2003 - 10:27:06 PDT