From a32e34aa2685b87ba3d6e2ae0bbd1388259b24b7 Mon Sep 17 00:00:00 2001 From: Jun-ichiro itojun Hagino Date: Mon, 9 Dec 2002 07:24:57 +0000 Subject: add support for regular expressions and pidname translations. from provos --- bin/systrace/systrace.1 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'bin/systrace/systrace.1') 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 .\" 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 -- cgit v1.2.3