diff options
author | 2003-06-16 06:36:40 +0000 | |
---|---|---|
committer | 2003-06-16 06:36:40 +0000 | |
commit | cd1e39b59e15fb65a1ae03ebde716ef9fc29dd7f (patch) | |
tree | 3bb16ac32c4655e410047a9e0953f9c996c82c1e /sys/dev/systrace.h | |
parent | add supported device; (diff) | |
download | wireguard-openbsd-cd1e39b59e15fb65a1ae03ebde716ef9fc29dd7f.tar.xz wireguard-openbsd-cd1e39b59e15fb65a1ae03ebde716ef9fc29dd7f.zip |
- limited number of processes per systrace
- escape fixes for special characters
markus, sturm ok. from provos
Diffstat (limited to 'sys/dev/systrace.h')
-rw-r--r-- | sys/dev/systrace.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/sys/dev/systrace.h b/sys/dev/systrace.h index ddafb5d9947..fafc68721a0 100644 --- a/sys/dev/systrace.h +++ b/sys/dev/systrace.h @@ -1,4 +1,4 @@ -/* $OpenBSD: systrace.h,v 1.13 2003/03/28 11:52:05 mickey Exp $ */ +/* $OpenBSD: systrace.h,v 1.14 2003/06/16 06:36:40 itojun Exp $ */ /* * Copyright 2002 Niels Provos <provos@citi.umich.edu> * All rights reserved. @@ -62,14 +62,16 @@ struct str_msg_child { pid_t new_pid; }; -#define SYSTR_MSG_ASK 1 -#define SYSTR_MSG_RES 2 -#define SYSTR_MSG_EMUL 3 -#define SYSTR_MSG_CHILD 4 -#define SYSTR_MSG_UGID 5 +#define SYSTR_MSG_ASK 1 +#define SYSTR_MSG_RES 2 +#define SYSTR_MSG_EMUL 3 +#define SYSTR_MSG_CHILD 4 +#define SYSTR_MSG_UGID 5 +#define SYSTR_MSG_POLICYFREE 6 #define SYSTR_MSG_NOPROCESS(x) \ - ((x)->msg.msg_type == SYSTR_MSG_CHILD) + ((x)->msg.msg_type == SYSTR_MSG_CHILD || \ + (x)->msg.msg_type == SYSTR_MSG_POLICYFREE) struct str_message { int msg_type; |