Re: Determing the difference between path_walk and chdir ?

From: Valdis.Kletnieksat_private
Date: Wed Sep 26 2001 - 19:29:57 PDT

  • Next message: Chris Wright: "2001_09_26 patch against 2.4.10"

    On Wed, 26 Sep 2001 18:51:09 PDT, Crispin Cowan said:
    > How about a policy that lets you execute commands in /usr/private/bin 
    > but does not let you chdir to it, lest you do something naughty with "."?
    
    Oh.. *4 watt nightlight bulb goes on*.
    
    "lest you do something naughty with '.' that we forgot to check for in
    all the OTHER policy rulesets.."
    
    Yeah, THAT would work - I was getting hung up on the "but they cant do
    anything naughty with '.' because we'll catch them when they do" concept,
    and not thinking defense in depth....
    
    /Valdis
    
    _______________________________________________
    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 26 2001 - 19:30:32 PDT