summaryrefslogtreecommitdiff
path: root/bin/systrace/intercept.h
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>2002-07-12 12:26:30 +0000
committerNiels Provos <provos@cvs.openbsd.org>2002-07-12 12:26:30 +0000
commitb7300f4735468d52f521338865215c75f9f319f2 (patch)
tree1074383738e9cec5612d3740e807edb5a5fda4bb /bin/systrace/intercept.h
parent64e656e7d9cd68a82ca9d23edfd658ddef483316 (diff)
some clean up. install argument replacements only if we are going to
permit the system call. translate some set[e]{g,u}id calls
Diffstat (limited to 'bin/systrace/intercept.h')
-rw-r--r--bin/systrace/intercept.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/systrace/intercept.h b/bin/systrace/intercept.h
index 029ac2b026f..137ba307c9d 100644
--- a/bin/systrace/intercept.h
+++ b/bin/systrace/intercept.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: intercept.h,v 1.5 2002/07/09 20:46:18 provos Exp $ */
+/* $OpenBSD: intercept.h,v 1.6 2002/07/12 12:26:29 provos Exp $ */
/*
* Copyright 2002 Niels Provos <provos@citi.umich.edu>
* All rights reserved.
@@ -64,7 +64,7 @@ struct intercept_system {
#define ICPOLICY_ASK 0
#define ICPOLICY_PERMIT -1
#define ICPOLICY_KILL -2
-#define ICPOLICY_NEVER 1
+#define ICPOLICY_NEVER 1 /* overloaded with errno values > 1 */
#define ICFLAGS_RESULT 1