diff options
author | Dave Allison <dallison@google.com> | 2014-05-15 20:35:11 -0700 |
---|---|---|
committer | Dave Allison <dallison@google.com> | 2014-05-15 20:35:11 -0700 |
commit | 50b6a4b1b7f5b4484bccbabf2a8057bf860f8c59 (patch) | |
tree | d613b56c166224b8f4d9ee35f2fcddb534f5d6fc | |
parent | 8b2d46a5fcbe81edde4b7c405916282a142a09d2 (diff) | |
download | system_core-50b6a4b1b7f5b4484bccbabf2a8057bf860f8c59.zip system_core-50b6a4b1b7f5b4484bccbabf2a8057bf860f8c59.tar.gz system_core-50b6a4b1b7f5b4484bccbabf2a8057bf860f8c59.tar.bz2 |
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
-rw-r--r-- | rootdir/init.environ.rc.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rootdir/init.environ.rc.in b/rootdir/init.environ.rc.in index 927c33d..1f964e3 100644 --- a/rootdir/init.environ.rc.in +++ b/rootdir/init.environ.rc.in @@ -9,3 +9,4 @@ on init export ASEC_MOUNTPOINT /mnt/asec export LOOP_MOUNTPOINT /mnt/obb export BOOTCLASSPATH %BOOTCLASSPATH% + export LD_PRELOAD libsigchain.so |