[vbox-dev] Loading external libraries in 2.0.4
Frank.Mehnert at Sun.COM
Thu Oct 30 01:48:11 PDT 2008
On Thursday 30 October 2008, James Lucas wrote:
> Putting the path into /etc/ld.so.conf and running ldconfig seems to
> work. Would still be interested in why LD_LIBRARY_PATH doesn't work
It does not work because the VirtualBox binaries are now setuid root.
VirtualBox, VBoxSDL, VBoxHeadless and so on are small stubs running
setuid root. After doing several consistency checks and after opening
the handle to kernel driver, the privileges are dropped. LD_LIBRARY_PATH
does not work with setuid root binaries.
Dr.-Ing. Frank Mehnert Sun Microsystems http://www.sun.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://www.virtualbox.org/pipermail/vbox-dev/attachments/20081030/613bda52/attachment-0001.bin
More information about the vbox-dev