diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2023-12-11 00:39:44 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2023-12-11 00:39:44 +0000 |
commit | 4313a01b78006e211ba37f1d35b244d3d86a3a93 (patch) | |
tree | 77a633b4b6193d00b74f006a9a53e7f94e797fd4 /sys | |
parent | e6ad3913e55a2b2a8b2020b00fff5a4f8cfbe325 (diff) |
Add an accounting flag for syscall pinning violations.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/acct.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/acct.h b/sys/sys/acct.h index 6a7f51ddf3b..bd2ec247096 100644 --- a/sys/sys/acct.h +++ b/sys/sys/acct.h @@ -1,4 +1,4 @@ -/* $OpenBSD: acct.h,v 1.13 2023/02/21 14:31:07 deraadt Exp $ */ +/* $OpenBSD: acct.h,v 1.14 2023/12/11 00:39:43 deraadt Exp $ */ /* $NetBSD: acct.h,v 1.16 1995/03/26 20:23:52 jtc Exp $ */ /*- @@ -67,6 +67,7 @@ struct acct { #define ATRAP 0x00000040 /* memory access violation */ #define AUNVEIL 0x00000080 /* unveil access violation */ #define AEXECVE 0x00000100 /* execve from wrong libc stub */ +#define APINSYS 0x00000200 /* syscall pin violation */ u_int32_t ac_flag; /* accounting flags */ }; |