login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
openbsd-tech
»
2010
»
December
»
17
Re: ld.so fix for empty LD_PRELOAD
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Mark Kettenis
Subject:
Re: ld.so fix for empty LD_PRELOAD
Date: Friday, December 17, 2010 - 3:48 am
> Date: Thu, 16 Dec 2010 22:43:04 +0100
quoted text
> From: Stefan Sperling <stsp@openbsd.org> > > $ export LD_PRELOAD='' > $ sed > sed: can't load library '' > $ env > env: can't load library '' > $ vim > /usr/local/bin/vim: can't load library '' > $ > > Is this the right way to fix it?
I'd say it works just fine without your fix. If you really don't want to preload stuff, make sure LD_PRELOAD isn't set at all.
quoted text
> Index: loader.c > =================================================================== > RCS file: /cvs/src/libexec/ld.so/loader.c,v > retrieving revision 1.120 > diff -u -p -r1.120 loader.c > --- loader.c 25 Oct 2010 20:34:44 -0000 1.120 > +++ loader.c 16 Dec 2010 21:40:07 -0000 > @@ -493,7 +493,7 @@ _dl_boot(const char **argv, char **envp, > TAILQ_INSERT_TAIL(&_dlopened_child_list, n, next_sib); > exe_obj->opencount++; > > - if (_dl_preload != NULL) > + if (_dl_preload != NULL && _dl_preload[0] != '__PLACEHOLDER__1_') > _dl_dopreload(_dl_preload); > > _dl_load_dep_libs(exe_obj, exe_obj->obj_flags, 1);
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
ld.so fix for empty LD_PRELOAD
, Stefan Sperling
, (Thu Dec 16, 2:43 pm)
Re: ld.so fix for empty LD_PRELOAD
, Mark Kettenis
, (Fri Dec 17, 3:48 am)
Re: ld.so fix for empty LD_PRELOAD
, Marco Peereboom
, (Fri Dec 17, 7:21 am)
Re: ld.so fix for empty LD_PRELOAD
, Mark Kettenis
, (Fri Dec 17, 10:20 am)
Re: ld.so fix for empty LD_PRELOAD
, Han Boetes
, (Fri Dec 17, 5:22 pm)
Re: ld.so fix for empty LD_PRELOAD
, Paul Irofti
, (Sat Dec 18, 10:18 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Gene Heskett
Re: New thread RDSL, post-2.6.20 kernels and amanda (tar) miss-fires
Ray Lee
Re: New thread RDSL, post-2.6.20 kernels and amanda (tar) miss-fires
Michael Moore
Re: underage models, pre teen models, lolita porn, young preteens, little lolitas
Gene Heskett
Re: New thread RDSL, post-2.6.20 kernels and amanda (tar) miss-fires
Justin Mattock
Re: macbook pro dvd playback after suspend Buffer I/O error
git
:
Bill Lear
cpio command not found
Gary Yang
fatal: did you run git update-server-info on the server? mv post-update.sample pos...
Uwe
Re: "bash: git-upload-pack: command not found" ??
Ben Schmidt
Getting the path right for git over SSH
Fredrik Kuivinen
Re: fatal: unable to create '.git/index': File exists
linux-netdev
:
Jamie Lokier
Re: [2/3] POHMELFS: Documentation.
Francois-Xavier Le Bail
[PATCH v2] net: typos in comments in include/linux/igmp.h
Stephen Hemminger
Re: vlan JMicron Technologies, Inc. JMC250 PCI Express Gigabit Ethernet
Sage Weil
Re: [2/3] POHMELFS: Documentation.
Patrick McHardy
Re: [ANNOUNCE]: First release of nftables
openbsd-misc
:
Netmaffia.hu
Tini Lányok AKCIÓBAN OTTHON
openbsd
observed spamd behavior
Ted Unangst
Re: OpenSMTPd actual development and integration
Paul M
Corrupted RAIDFrame device
BetClic
Benfica vs Porto - Qual o seu palpite?
git-commits-head
:
Linux Kernel Mailing List
Remove empty comment in acpi/power.c
Linux Kernel Mailing List
Linux 2.6.34-rc4
Linux Kernel Mailing List
[SCSI] scsi_dh_rdac: Retry for Quiescence in Progress in rdac device handler
Linux Kernel Mailing List
ALSA: cosmetic: make hda intel interrupt name consistent with others
Linux Kernel Mailing List
USB: gadget: audio: provide correct device id
Colocation donated by:
Syndicate