summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2023-12-08 13:58:42 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2023-12-08 13:58:42 +0000
commit1b3a477d9129f4e73a69ca5d8947cb0756b1fdb9 (patch)
treec18be6110538279a81f824f4a0f89c6362b877a8 /sys
parent0d3834d9530bc4246cee2c13152f711bbd68b239 (diff)
PT_OPENBSD_SYSCALLS is an extension that points to non-LOAD section
which contains {offset,syscall#} structures. ok kettenis
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/exec_elf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/exec_elf.h b/sys/sys/exec_elf.h
index f77649efd9e..a64587050b3 100644
--- a/sys/sys/exec_elf.h
+++ b/sys/sys/exec_elf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec_elf.h,v 1.101 2023/06/10 19:30:48 kettenis Exp $ */
+/* $OpenBSD: exec_elf.h,v 1.102 2023/12/08 13:58:41 deraadt Exp $ */
/*
* Copyright (c) 1995, 1996 Erik Theisen. All rights reserved.
*
@@ -482,6 +482,7 @@ typedef struct {
#define PT_OPENBSD_RANDOMIZE 0x65a3dbe6 /* fill with random data */
#define PT_OPENBSD_WXNEEDED 0x65a3dbe7 /* program performs W^X violations */
#define PT_OPENBSD_NOBTCFI 0x65a3dbe8 /* no branch target CFI */
+#define PT_OPENBSD_SYSCALLS 0x65a3dbe9 /* syscall locations */
#define PT_OPENBSD_BOOTDATA 0x65a41be6 /* section for boot arguments */
/* Segment flags - p_flags */