diff options
author | Niels Provos <provos@cvs.openbsd.org> | 2002-07-16 01:22:49 +0000 |
---|---|---|
committer | Niels Provos <provos@cvs.openbsd.org> | 2002-07-16 01:22:49 +0000 |
commit | 51f0a9193eb831223c413223c7a880382b37af72 (patch) | |
tree | e592e613664cdb015ce46879c2adf0db7583ad45 /bin/systrace/parse.y | |
parent | 26e2b293859a559593aded9335120e9e0c1d295e (diff) |
internal uid/gid tracking. permit can not detach systrace, useful for
sshd.
Diffstat (limited to 'bin/systrace/parse.y')
-rw-r--r-- | bin/systrace/parse.y | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/systrace/parse.y b/bin/systrace/parse.y index d95d47f490d..a7bb313dce6 100644 --- a/bin/systrace/parse.y +++ b/bin/systrace/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.4 2002/06/05 17:22:38 mickey Exp $ */ +/* $OpenBSD: parse.y,v 1.5 2002/07/16 01:22:48 provos Exp $ */ /* * Copyright 2002 Niels Provos <provos@citi.umich.edu> @@ -103,6 +103,10 @@ fullexpression : expression THEN action errorcode break; if (!strcasecmp($4, "inherit")) flags = PROCESS_INHERIT_POLICY; + else if (!strcasecmp($4, "detach")) + flags = PROCESS_DETACH; + else + yyerror("Unknown flag: %s", $4); break; } |