From: deraadt Date: Mon, 11 Dec 2023 00:39:43 +0000 (+0000) Subject: Add an accounting flag for syscall pinning violations. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=bceaf7c2a89fc7bd58c9efcf8b3fa859444c5a5d;p=openbsd Add an accounting flag for syscall pinning violations. --- 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 */ };