From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1944) id E64E33838A8D; Wed, 26 Oct 2022 15:22:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E64E33838A8D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1666797741; bh=sSmEySW/QOpoIbhsJzV7clycd20dDZ3me9rr9C7KhzU=; h=From:To:Subject:Date:From; b=PCdpXax2li5T9y0+gWGkNjJlOVykxdG2mas9s9oLdMWaPaOOR4AJJDv35WPaACHGd SPJDJ7N3/UvIcmjm2XiFreRgZ2yPHF6UVa1Tnv06N/+PepdCJ04bg+yVsR75hXn9nC mvJXUTb7PWewZEDVpPmMjYX1DGWVR9+YW9BDMLOc= 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] morello: Provide documentation about the morello port. X-Act-Checkin: glibc X-Git-Author: Szabolcs Nagy X-Git-Refname: refs/heads/arm/morello/main X-Git-Oldrev: e93e3f41fcc4802d414ad091dc57263beac2ec13 X-Git-Newrev: c01ec3989d67ecb3c25d90fe54cd455798111145 Message-Id: <20221026152221.E64E33838A8D@sourceware.org> Date: Wed, 26 Oct 2022 15:22:21 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c01ec3989d67ecb3c25d90fe54cd455798111145 commit c01ec3989d67ecb3c25d90fe54cd455798111145 Author: Szabolcs Nagy Date: Wed Oct 19 16:08:54 2022 +0100 morello: Provide documentation about the morello port. Diff: --- manual/README.morello | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/manual/README.morello b/manual/README.morello new file mode 100644 index 0000000000..8a2be21bd4 --- /dev/null +++ b/manual/README.morello @@ -0,0 +1,35 @@ +Morello glibc port +================== + +Morello is a prototype security architecture, led by Arm, based on CHERI. +https://www.morello-project.org/ +https://www.cl.cam.ac.uk/research/security/ctsrd/cheri/ + +Toolchain components of the morello port are maintained in upstream branches. +The morello port is implemented as an ABI variant of the aarch64 port that is +also called the purecap ABI. Morello specific ABI documents are at: +https://github.com/ARM-software/abi-aa +https://git.morello-project.org/morello/kernel/linux/-/wikis/home + +Areas with significant morello or CHERI specific changes outside the usual +target specific changes: + +- Early start code including ELF entry and auxv, +- Dynamic linker and relocation processing, +- malloc with narrow capability support, +- printf %#p to pretty print capabilities. + +Limitations of the morello port: + +- Building requires --disable-werror. +- Profiling and --enable-profile are not supported (gperf, sprof, LD_PROFILE). +- LD_AUDIT is not supported (symbind, PLT hooks, would require API redesign). +- VDSO is not supported (depends on Linux work). +- static-pie is not supported (requires start code redesign). +- POSIX message queue async notify does not work (pointers passed via an fd). +- Process shared robust mutexes don't work (pointers in shared memory). +- Purecap pldd only supports purecap ABI processes (not lp64). +- malloc has significant overhead (locks and hash table lookup). +- string functions are not optimized. +- Exectable stacks are not supported. +- Internal pointer protection and pointer mangling are disabled.