From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1944) id 7FEF43853D71; Wed, 23 Nov 2022 14:44:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7FEF43853D71 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1669214651; bh=T98+vaA5IFR+xEX7/PWajVM8494Y2lE49EkkgXSiltw=; h=From:To:Subject:Date:From; b=DcXpRBMTKJt0coHn1gydg6AsxnMwTBTCtLw8UbCkFxLIWueraC4UxQytqUgd/lkO8 IC5WHgnm4HDnx+3O7f09MrNhGgArZD0s/1kmGhchb/t4gDj3PxUZaICEQHXKil9BbQ gfrc9F9gbDlG0D6k3VeyPC8B0VydLx1RRCVJ838w= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Szabolcs Nagy To: glibc-cvs@sourceware.org Subject: [glibc/arm/morello/main] cheri: elf: Add new AT_* auxv type definitions X-Act-Checkin: glibc X-Git-Author: Carlos Eduardo Seo X-Git-Refname: refs/heads/arm/morello/main X-Git-Oldrev: 61de2a5e8450060e014a61e9ff6ce88d2501ed97 X-Git-Newrev: 88e0b1d81b7a980b9bd4b570e3c50e2f630cb291 Message-Id: <20221123144411.7FEF43853D71@sourceware.org> Date: Wed, 23 Nov 2022 14:44:11 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=88e0b1d81b7a980b9bd4b570e3c50e2f630cb291 commit 88e0b1d81b7a980b9bd4b570e3c50e2f630cb291 Author: Carlos Eduardo Seo Date: Fri May 20 14:39:29 2022 +0000 cheri: elf: Add new AT_* auxv type definitions Follows the morello pure capability user ABI of linux. Diff: --- elf/elf.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/elf/elf.h b/elf/elf.h index 55809e941e..5b80879d74 100644 --- a/elf/elf.h +++ b/elf/elf.h @@ -1243,6 +1243,18 @@ typedef struct #define AT_MINSIGSTKSZ 51 /* Stack needed for signal delivery */ +#define AT_CHERI_EXEC_RW_CAP 60 +#define AT_CHERI_EXEC_RX_CAP 61 +#define AT_CHERI_INTERP_RW_CAP 62 +#define AT_CHERI_INTERP_RX_CAP 63 +#define AT_CHERI_STACK_CAP 64 +#define AT_CHERI_SEAL_CAP 65 +#define AT_CHERI_CID_CAP 66 +#define AT_ARGC 80 +#define AT_ARGV 81 +#define AT_ENVC 82 +#define AT_ENVP 83 + /* Note section contents. Each entry in the note section begins with a header of a fixed form. */