Mailinglist Archive: yast-devel (116 mails)

< Previous Next >
Re: [yast-devel] LD_PRELOAD doesn't work for processes running as root any more
  • From: Andreas Jaeger <aj@xxxxxxx>
  • Date: Fri, 06 Jun 2008 12:30:55 +0200
  • Message-id: <m3abhyety8.fsf@xxxxxxxxxxx>
Marcus Meissner <meissner@xxxxxxx> writes:

On Fri, Jun 06, 2008 at 11:56:45AM +0200, Stefan Hundhammer wrote:
JFYI - this might affect us, too, at least for debugging or testing.

If there was an announcement anywhere else, I missed it. I read this just by
accident on [opensuse]:

LD_PRELOAD does not work for setuid applications - and that's the
correct behaviour for quite some time...

And it is of course incorrect.

$ ./xx
$ LD_PRELOAD=/suse/meissner/yy.so ./xx
Boo!
$ su
Passwort:
# LD_PRELOAD=/suse/meissner/yy.so ./xx
Boo!
#

Still looking fine.

Please make xx setuid root and run again as user,

Andreas
--
Andreas Jaeger, Director Platform/openSUSE, aj@xxxxxxx
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
Maxfeldstr. 5, 90409 Nürnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
< Previous Next >
Follow Ups