From 1b3a477d9129f4e73a69ca5d8947cb0756b1fdb9 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Fri, 8 Dec 2023 13:58:42 +0000 Subject: PT_OPENBSD_SYSCALLS is an extension that points to non-LOAD section which contains {offset,syscall#} structures. ok kettenis --- sys/sys/exec_elf.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys') 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 */ -- cgit v1.2.3