From 5c0ce6b83ed39e2b65d691ab07fc1ce72c98300e Mon Sep 17 00:00:00 2001 From: Gavin Hayes Date: Thu, 22 Dec 2022 02:00:51 -0500 Subject: [PATCH] Add note about APE loader and noexec mounts (#707) --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6b9f67e02..712ae2ae2 100644 --- a/README.md +++ b/README.md @@ -57,9 +57,13 @@ sudo sh -c 'echo -1 >/proc/sys/fs/binfmt_misc/status' Since we used the `ape-no-modify-self.o` bootloader (rather than `ape.o`) your executable will not modify itself when it's run. What -it'll instead do, is extract a 4kb program to `${TMPDIR:-${HOME:-.}}` -that maps your program into memory without needing to copy it. It's -possible to install the APE loader systemwide as follows. +it'll instead do, is extract a 4kb program (the [APE loader](https://justine.lol/apeloader/)) +to `${TMPDIR:-${HOME:-.}}` that maps your program into memory without +needing to copy it. The APE loader must be in an executable location +(e.g. not stored on a `noexec` mount) for it to run. See below for +alternatives: + +It's possible to install the APE loader systemwide as follows. ```sh # System-Wide APE Install