public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/arm/morello/main] morello: Provide documentation about the morello port.
@ 2022-10-27 14:00 Szabolcs Nagy
  0 siblings, 0 replies; 3+ messages in thread
From: Szabolcs Nagy @ 2022-10-27 14:00 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=7e17dad9564c5375c45337889e6236708862e99a

commit 7e17dad9564c5375c45337889e6236708862e99a
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [glibc/arm/morello/main] morello: Provide documentation about the morello port.
@ 2022-11-23 14:50 Szabolcs Nagy
  0 siblings, 0 replies; 3+ messages in thread
From: Szabolcs Nagy @ 2022-11-23 14:50 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ae90dd111bc393178a39cc6166170aa7c3656296

commit ae90dd111bc393178a39cc6166170aa7c3656296
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date:   Wed Oct 19 16:08:54 2022 +0100

    morello: Provide documentation about the morello port.

Diff:
---
 manual/README.morello | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/manual/README.morello b/manual/README.morello
new file mode 100644
index 0000000000..cf30eeaee5
--- /dev/null
+++ b/manual/README.morello
@@ -0,0 +1,37 @@
+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 (gprof, sprof, LD_PROFILE).
+- LD_AUDIT is not supported (la_symbind, PLT hooks, require new 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 mutex does not work (pointers in shared memory).
+- Purecap pldd only supports purecap ABI processes (not lp64).
+- malloc bounds narrowing has large overhead (locks and hash table lookup).
+- malloc bounds narrowing can break code expecting page granularity protection.
+	Use GLIBC_TUNABLES=glibc.mem.cap_narrowing=0 env var as a workaround.
+- string functions are not optimized.
+- Executable stack is not supported.
+- Internal pointer protection and pointer mangling are disabled.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [glibc/arm/morello/main] morello: Provide documentation about the morello port.
@ 2022-10-26 15:22 Szabolcs Nagy
  0 siblings, 0 replies; 3+ messages in thread
From: Szabolcs Nagy @ 2022-10-26 15:22 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c01ec3989d67ecb3c25d90fe54cd455798111145

commit c01ec3989d67ecb3c25d90fe54cd455798111145
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-11-23 14:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-27 14:00 [glibc/arm/morello/main] morello: Provide documentation about the morello port Szabolcs Nagy
  -- strict thread matches above, loose matches on Subject: below --
2022-11-23 14:50 Szabolcs Nagy
2022-10-26 15:22 Szabolcs Nagy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).