diff options
author | Niels Provos <provos@cvs.openbsd.org> | 2002-07-22 04:02:40 +0000 |
---|---|---|
committer | Niels Provos <provos@cvs.openbsd.org> | 2002-07-22 04:02:40 +0000 |
commit | 81b0d63380ec42b89f3d3b64eeed80d690c29e9e (patch) | |
tree | da048a0e841f4210cfdc5c186c9b702207e99631 /bin/systrace/intercept.h | |
parent | 009c89bfaa234731e5d31d4afe61de09f95877d5 (diff) |
add seqnr to message from kernel, userland needs to quote correct seqnr.
avoids problems where tsleep has been interrupted by a signal.
Diffstat (limited to 'bin/systrace/intercept.h')
-rw-r--r-- | bin/systrace/intercept.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/systrace/intercept.h b/bin/systrace/intercept.h index 9ccc6eb0f4e..01a86e092ad 100644 --- a/bin/systrace/intercept.h +++ b/bin/systrace/intercept.h @@ -1,4 +1,4 @@ -/* $OpenBSD: intercept.h,v 1.8 2002/07/19 14:38:57 itojun Exp $ */ +/* $OpenBSD: intercept.h,v 1.9 2002/07/22 04:02:39 provos Exp $ */ /* * Copyright 2002 Niels Provos <provos@citi.umich.edu> * All rights reserved. @@ -49,7 +49,7 @@ struct intercept_system { int (*restcwd)(int); int (*io)(int, pid_t, int, void *, u_char *, size_t); int (*getarg)(int, void *, int, void **); - int (*answer)(int, pid_t, short, int, short); + int (*answer)(int, pid_t, u_int32_t, short, int, short); int (*newpolicy)(int); int (*assignpolicy)(int, pid_t, int); int (*policy)(int, int, int, short); @@ -164,9 +164,9 @@ int intercept_existpids(void); char *intercept_get_string(int, pid_t, void *); char *intercept_filename(int, pid_t, void *, int); -void intercept_syscall(int, pid_t, int, const char *, int, const char *, - void *, int); -void intercept_syscall_result(int, pid_t, int, const char *, int, const char *, - void *, int, int, void *); +void intercept_syscall(int, pid_t, u_int16_t, int, const char *, int, + const char *, void *, int); +void intercept_syscall_result(int, pid_t, u_int16_t, int, const char *, int, + const char *, void *, int, int, void *); #endif /* _INTERCEPT_H_ */ |