diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2002-10-16 15:01:09 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2002-10-16 15:01:09 +0000 |
commit | 53b5fc5bded7381e9b2c1867c9ac08b7d77b944f (patch) | |
tree | 27171f6bdd77dd43fb3237b94729e02800c7fb4d /bin/systrace/lex.l | |
parent | e0a16d26d6e3fd1b83b87e2e312caed5b59a3258 (diff) |
support for privilege elevation.
with privilege elevation no suid or sgid binaries are necessary any
longer. Applications can be executed completely
unprivileged. Systrace raises the privileges for a single system call
depending on the configured policy.
Idea from discussions with Perry Metzger, Dug Song and Marcus Watts.
from provos
Diffstat (limited to 'bin/systrace/lex.l')
-rw-r--r-- | bin/systrace/lex.l | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/systrace/lex.l b/bin/systrace/lex.l index 6370fd373a0..1a1cff1e780 100644 --- a/bin/systrace/lex.l +++ b/bin/systrace/lex.l @@ -1,4 +1,4 @@ -/* $OpenBSD: lex.l,v 1.10 2002/10/09 03:52:10 itojun Exp $ */ +/* $OpenBSD: lex.l,v 1.11 2002/10/16 15:01:08 itojun Exp $ */ /* * Copyright 2002 Niels Provos <provos@citi.umich.edu> @@ -89,6 +89,8 @@ true { return TRUE; } if { return IF; } user { return USER; } group { return GROUP; } +as { return AS; } +":" { return COLON; } "," { return COMMA; } "=" { return EQUAL; } "!=" { return NEQUAL; } |