diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2002-12-09 07:24:57 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2002-12-09 07:24:57 +0000 |
commit | a32e34aa2685b87ba3d6e2ae0bbd1388259b24b7 (patch) | |
tree | 3d04d60a67cde471849f23158dd885a14ae8fece /bin/systrace/systrace.1 | |
parent | 6f42ccbce41012b8903ef41f6dbcea306344b5f8 (diff) |
add support for regular expressions and pidname translations. from provos
Diffstat (limited to 'bin/systrace/systrace.1')
-rw-r--r-- | bin/systrace/systrace.1 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/bin/systrace/systrace.1 b/bin/systrace/systrace.1 index 3dc1c55b215..ad90989c189 100644 --- a/bin/systrace/systrace.1 +++ b/bin/systrace/systrace.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: systrace.1,v 1.29 2002/10/31 23:04:09 itojun Exp $ +.\" $OpenBSD: systrace.1,v 1.30 2002/12/09 07:24:56 itojun Exp $ .\" .\" Copyright 2002 Niels Provos <provos@citi.umich.edu> .\" All rights reserved. @@ -126,7 +126,8 @@ expression = symbol | "not" expression | "(" expression ")" | symbol = string typeoff "match" cmdstring | string typeoff "eq" cmdstring | string typeoff "neq" cmdstring | string typeoff "sub" cmdstring | string typeoff "nsub" cmdstring | - string typeoff "inpath" cmdstring | "true" + string typeoff "inpath" cmdstring | string typeoff "re" cmdstring | + "true" typeoff = /* empty */ | "[" number "]" action = "permit" | "deny" errorcode = /* empty */ | "[" string "]" @@ -193,6 +194,9 @@ This is the logical negation of .It inpath Evaluates to true if the system call argument is a subpath of .Va cmdstring . +.It re +Evaluates to true if the system call arguments matches +the specified regular expression. .El .Pp By appending the |