Subject: Re: CVS commit: src/bin/systrace
To: Elad Efrat <>
From: Dave Huang <>
List: source-changes
Date: 08/10/2005 16:39:56
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?