Add LD_PRELOAD for libsigchain.so to the environment

To remove the need to modify the bionic dynamic linker, add the
signal chaining library as a preload in the environment.  This
will be picked up by the dynamic linker and will override
sigaction and sigprocmask to allow for signal chaining.

Change-Id: I6e2d0628b009bd01e0ed9aed0b311871b9c8363a
This commit is contained in:
Dave Allison 2014-05-15 20:35:11 -07:00
parent 8b2d46a5fc
commit 50b6a4b1b7
1 changed files with 1 additions and 0 deletions

View File

@ -9,3 +9,4 @@ on init
export ASEC_MOUNTPOINT /mnt/asec
export LOOP_MOUNTPOINT /mnt/obb
export BOOTCLASSPATH %BOOTCLASSPATH%
export LD_PRELOAD libsigchain.so