summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorprovos <provos@openbsd.org>2002-06-05 18:14:00 +0000
committerprovos <provos@openbsd.org>2002-06-05 18:14:00 +0000
commit0ae9025b923fd508bb5f8d9618ee31514bc1fedf (patch)
tree8bf9101bfb488255a1469fe482612cf35198c456
parentcore support from Jean-Francois Brousseau <krapht@secureops.com> with (diff)
downloadwireguard-openbsd-0ae9025b923fd508bb5f8d9618ee31514bc1fedf.tar.xz
wireguard-openbsd-0ae9025b923fd508bb5f8d9618ee31514bc1fedf.zip
no special case of execve.
-rw-r--r--bin/systrace/filter.c6
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;