ld.so.preload of libmediaclient.so is *very* harmful

Volker Lendecke Volker.Lendecke at SerNet.DE
Fri Feb 4 04:20:02 MST 2011

On Fri, Feb 04, 2011 at 06:51:08AM +0100, Markus Rechberger wrote:
> Do you know what system drivers are for?
> Did you ever have the idea that a devicedriver is available systemwide
> to every application and
> if something's wrong in a kernelmodule the entire system is affected as well?
> Or if an appilcation issues a read() it will be passed further to
> kernelspace and if something
> bad happens there that the entire system might be stuck?

For one point I would like to hear your arguments:


When a driver is installed in the kernel, it is only ever
touched when the device is really used. If a library hooks
into open(), read() or so, even if it passes it down 1:1 to
the kernel because it does not affect the library's device,
it must make that decision. Imagine we had the majority of
all devices implemented this way, this would stack up

With best regards,


SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen

More information about the samba-technical mailing list