From: deraadt Date: Fri, 8 Dec 2023 13:58:41 +0000 (+0000) Subject: PT_OPENBSD_SYSCALLS is an extension that points to non-LOAD section X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=71915ccc50fb6e79850cb99b393962a78f2405f8;p=openbsd PT_OPENBSD_SYSCALLS is an extension that points to non-LOAD section which contains {offset,syscall#} structures. ok kettenis --- 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 */