projects
/
openwrt
/
staging
/
yousong.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dc78d1
)
scripts: bundle-libraries: runas: also unset LD_PRELOAD
author
Yousong Zhou
<yszhou4tech@gmail.com>
Thu, 2 Jan 2020 02:29:13 +0000
(10:29 +0800)
committer
Yousong Zhou
<yszhou4tech@gmail.com>
Fri, 25 Sep 2020 13:17:49 +0000
(21:17 +0800)
This is needed for situations like after chroot where the runas.so can
not be found
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
scripts/bundle-libraries.sh
patch
|
blob
|
history
diff --git
a/scripts/bundle-libraries.sh
b/scripts/bundle-libraries.sh
index 9efcbbd0b20e9eccaba51705f3b7776cd91efc70..e110ef309083529d786bb779e95dc2924bf8c2dc 100755
(executable)
--- a/
scripts/bundle-libraries.sh
+++ b/
scripts/bundle-libraries.sh
@@
-84,6
+84,7
@@
_runas_so() {
unsetenv("RUNAS_ARG0");
}
+ unsetenv("LD_PRELOAD");
return 0;
}