From 50b6a4b1b7f5b4484bccbabf2a8057bf860f8c59 Mon Sep 17 00:00:00 2001 From: Dave Allison Date: Thu, 15 May 2014 20:35:11 -0700 Subject: 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 --- rootdir/init.environ.rc.in | 1 + 1 file changed, 1 insertion(+) (limited to 'rootdir') 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 -- cgit v1.1