summaryrefslogtreecommitdiff
path: root/bin/systrace/intercept.h
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2003-06-16 06:36:41 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2003-06-16 06:36:41 +0000
commitf4fb20fba83a40f6cbc1953f195f979baeeb3740 (patch)
tree1ded07d1d5e9e60694ee565e3120445083add775 /bin/systrace/intercept.h
parent9edeec56abbf5950aacf46d99f21ee8bc6c2fdfc (diff)
- limited number of processes per systrace
- escape fixes for special characters markus, sturm ok. from provos
Diffstat (limited to 'bin/systrace/intercept.h')
-rw-r--r--bin/systrace/intercept.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/systrace/intercept.h b/bin/systrace/intercept.h
index 89ca11fd9fa..84fd8b49c0f 100644
--- a/bin/systrace/intercept.h
+++ b/bin/systrace/intercept.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: intercept.h,v 1.16 2003/02/20 22:03:31 art Exp $ */
+/* $OpenBSD: intercept.h,v 1.17 2003/06/16 06:36:40 itojun Exp $ */
/*
* Copyright 2002 Niels Provos <provos@citi.umich.edu>
* All rights reserved.
@@ -145,6 +145,7 @@ int intercept_newpolicy(int);
int intercept_assignpolicy(int, pid_t, int);
int intercept_modifypolicy(int, int, const char *, const char *, short);
void intercept_child_info(pid_t, pid_t);
+void intercept_policy_free(int);
int intercept_replace_init(struct intercept_replace *);
int intercept_replace_add(struct intercept_replace *, int, u_char *, size_t);
@@ -158,6 +159,7 @@ void *intercept_sccb_cbarg(char *, char *);
int intercept_register_gencb(short (*)(int, pid_t, int, const char *, int, const char *, void *, int, void *), void *);
int intercept_register_execcb(void (*)(int, pid_t, int, const char *, const char *, void *), void *);
+int intercept_register_pfreecb(void (*)(int, void *), void *);
struct intercept_translate *intercept_register_translation(char *, char *,
int, struct intercept_translate *);