From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1944) id 554C9384B0C6; Wed, 26 Oct 2022 15:15:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 554C9384B0C6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1666797337; bh=94wpfTwA2Y4p8/EnSmaJAmxr3NKlDHllyEhFTWGZiWs=; h=From:To:Subject:Date:From; b=Rx/OWv1pHaistUm4cT7UxmHniVR3Gf4Dizyuz6GDNPcHFSU7j42MHC9f7fn7TplJl uyisFrt/cR0mUGMN5/fI9rI9hoF4JPV3t6fhvQ/njL0UH8hRO0mlKiThrfbtyrf9TS JaVcV5y6SJLJoIvHecarFOjbgOjEtC0vPfy1ORHs= 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: 11e656b4b3ca2d71fe7ebb8845e03b082d82d805 X-Git-Newrev: 6e4a4f1f1820e333dc6da37c2541c789d897a0db Message-Id: <20221026151537.554C9384B0C6@sourceware.org> Date: Wed, 26 Oct 2022 15:15:37 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=6e4a4f1f1820e333dc6da37c2541c789d897a0db commit 6e4a4f1f1820e333dc6da37c2541c789d897a0db 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 4a5653c419..878dc9bf83 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. */