From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1944) id 51C573851523; Thu, 27 Oct 2022 13:54:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 51C573851523 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1666878853; bh=lSKtNRVYMIiC+0Ca7rbFXm3ERjXbDVY9b6kSpsEw3pE=; h=From:To:Subject:Date:From; b=kYUF97dldsuSfSbomGTpNInhkCpAraDnfb16zp2+fvm35vbPFC1sHOJccEp1p9T67 7D9z2EHofmL3Ptb8zTv6EC3DbIEIMALRq/SSYPiXCLd0Dgf1kO8ir1WRU7Isag6FpK fxNyngRuXE1UmoqUr3MGXyuHJiFrvyY3S+dtyinw= 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: 841d63974f6fe56e6d91c67552f5833de13730bf X-Git-Newrev: 57f37bd95a683d83d2da599b07a81e0c57945c38 Message-Id: <20221027135413.51C573851523@sourceware.org> Date: Thu, 27 Oct 2022 13:54:13 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=57f37bd95a683d83d2da599b07a81e0c57945c38 commit 57f37bd95a683d83d2da599b07a81e0c57945c38 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. */