README: add note about AppArmor constraint on Debian

pull/237/head 2023123000-redfin
Christian Göttsche 2023-12-14 10:36:59 +01:00 committed by Daniel Micay
parent 61821b02c8
commit 7093fdc482
1 changed files with 3 additions and 0 deletions

View File

@ -159,6 +159,9 @@ line to the `/etc/ld.so.preload` configuration file:
The format of this configuration file is a whitespace-separated list, so it's
good practice to put each library on a separate line.
On Debian systems `libhardened_malloc.so` should be installed into `/usr/lib/`
to avoid preload failures caused by AppArmor profile restrictions.
Using the `LD_PRELOAD` environment variable to load it on a case-by-case basis
will not work when `AT_SECURE` is set such as with setuid binaries. It's also
generally not a recommended approach for production usage. The recommendation