diff options
author | Eric Wong <e@80x24.org> | 2021-04-30 09:24:32 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-04-30 19:59:43 +0000 |
commit | 77ce8b2a15495f7144e806e0747cb13e2ab7fe27 (patch) | |
tree | 2bbf0265c2dae5b3017716bc16f431cf013d9091 /lib/PublicInbox/Config.pm | |
parent | 2021754b745eba39ef83ff11d504c0257f0f8c11 (diff) | |
download | public-inbox-77ce8b2a15495f7144e806e0747cb13e2ab7fe27.tar.gz |
LD_PRELOAD sent by a client can't affect lei-daemon.
Diffstat (limited to 'lib/PublicInbox/Config.pm')
-rw-r--r-- | lib/PublicInbox/Config.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/PublicInbox/Config.pm b/lib/PublicInbox/Config.pm index 016f50ec..3f0f5a01 100644 --- a/lib/PublicInbox/Config.pm +++ b/lib/PublicInbox/Config.pm @@ -12,6 +12,7 @@ use strict; use v5.10.1; use PublicInbox::Inbox; use PublicInbox::Spawn qw(popen_rd); +our $LD_PRELOAD = $ENV{LD_PRELOAD}; # only valid at startup sub _array ($) { ref($_[0]) eq 'ARRAY' ? $_[0] : [ $_[0] ] } |