diff options
author | 2002-06-05 18:14:00 +0000 | |
---|---|---|
committer | 2002-06-05 18:14:00 +0000 | |
commit | 0ae9025b923fd508bb5f8d9618ee31514bc1fedf (patch) | |
tree | 8bf9101bfb488255a1469fe482612cf35198c456 | |
parent | core support from Jean-Francois Brousseau <krapht@secureops.com> with (diff) | |
download | wireguard-openbsd-0ae9025b923fd508bb5f8d9618ee31514bc1fedf.tar.xz wireguard-openbsd-0ae9025b923fd508bb5f8d9618ee31514bc1fedf.zip |
no special case of execve.
-rw-r--r-- | bin/systrace/filter.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/bin/systrace/filter.c b/bin/systrace/filter.c index f5742820167..c4511ed4650 100644 --- a/bin/systrace/filter.c +++ b/bin/systrace/filter.c @@ -1,4 +1,4 @@ -/* $OpenBSD: filter.c,v 1.6 2002/06/05 16:51:08 provos Exp $ */ +/* $OpenBSD: filter.c,v 1.7 2002/06/05 18:14:00 provos Exp $ */ /* * Copyright 2002 Niels Provos <provos@citi.umich.edu> * All rights reserved. @@ -326,9 +326,7 @@ filter_ask(struct intercept_tlq *tls, struct filterq *fls, fgets(line, sizeof(line), stdin); } else { /* Automatically allow */ - if (strcmp(name, "execve") == 0) { - strlcpy(line,"true then permit", sizeof(line)); - } else if (tls != NULL) { + if (tls != NULL) { struct intercept_translate *tl; char compose[MAXPATHLEN], *l; int set = 0; |