You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -159,8 +159,11 @@ line to the `/etc/ld.so.preload` configuration file:
159
159
The format of this configuration file is a whitespace-separated list, so it's
160
160
good practice to put each library on a separate line.
161
161
162
-
On Debian systems `libhardened_malloc.so` should be installed into `/usr/lib/`
163
-
to avoid preload failures caused by AppArmor profile restrictions.
162
+
For maximum compatibility `libhardened_malloc.so` can be installed into
163
+
`/usr/lib/` to avoid preload failures caused by AppArmor profiles or systemd
164
+
ExecPaths= restrictions. Check for logs of the following format:
165
+
166
+
ERROR: ld.so: object '/usr/local/lib/libhardened_malloc.so' from /etc/ld.so.preload cannot be preloaded (failed to map segment from shared object): ignored.
164
167
165
168
Using the `LD_PRELOAD` environment variable to load it on a case-by-case basis
166
169
will not work when `AT_SECURE` is set such as with setuid binaries. It's also
0 commit comments