Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/bin/systrace



On Wed, Aug 10, 2005 at 10:39:51PM +0300, Elad Efrat wrote:
> Niels Provos wrote:
> 
> >then inpath "/usr/home/elad" matches
> >
> >  cd "/usr/home/elad"
> >  cd "/usr/home"
> >  cd "/usr"
> >  cd "/"
> 
> From the manual, I was under the impression that inpath is used to
> evaluate subdirs, so that inpath "/usr/home/elad" should match
> anything in that directory and below:

FWIW, my interpretation of the manual ("Evaluates to true if the
system call argument is a subpath of cmdstring") agrees with Niels. It
doesn't say "subdirs," it says "subpath." "/usr" is a subpath of
"/usr/home/elad", in the sense of being a substring. However, it's not
a subdirectory. The term "subpath" is a bit confusing though. Perhaps
the term "parent path" is better?



Home | Main Index | Thread Index | Old Index