First, visit the build page and build a release of libpreloadvaccine
.
cp libpreloadvaccine.so /usr/lib/libpreloadvaccine.so
Add this line to the file /etc/profile
:
export LD_AUDIT=/usr/lib/libpreloadvaccine.so
If you want to whitelist any preloads, add them to this configuration file: /etc/libpreloadvaccine.allow
.
This list should be space delimited.
If you don't wish to whitelist preloads, you can simpy choose not to create this file or leave it blank.