Sidebar to the getent group: LD_PRELOAD
Steve Langasek
vorlon at netexpress.net
Fri Feb 15 07:40:14 GMT 2002
On Fri, Feb 15, 2002 at 08:50:42AM -0500, David Collier-Brown wrote:
> > #strace getent group
> > execve("/usr/bin/getent", ["getent", "group"], [/* 24 vars */]) = 0
> > uname({sys="Linux", node="rht-as", ...}) = 0
> > brk(0) = 0x804c728
> > old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000
> > open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
> Interesting! glibc2 really does have a preload
> mechanism, it's just not run from an LD_PRELOAD=
> environment variable... This isn't usefull to
> us, but it might be to Andrew...
> Previously, smbsh ran on Linux too, but the
> glibc2 team removed the (required!) LD_PRELOAD
> functionality.
LD_PRELOAD is still available in glibc2; it's only the shadowed symbols
needed by smbsh that have been removed.
Steve Langasek
postmodern programmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20020215/4f46ca75/attachment.bin
More information about the samba-technical
mailing list