Thread View: news.software.nntp
3 messages
3 total messages
Started by Christopher Davis
Mon, 29 Apr 1996 00:00
Re: inews dynamically linked?
Author: Christopher Davis
Date: Mon, 29 Apr 1996 00:00
Date: Mon, 29 Apr 1996 00:00
14 lines
1289 bytes
1289 bytes
GA> == Greg Andrews <gerg@netcom.com> GA> Could a user set their LD_LIBRARY_PATH and circumvent the normal GA> getuid/geteuid/getpwuid identification mechanism? I'm going to link GA> my inews with -Bstatic just to be sure, but I wanted to get the GA> opinions of folks who have more experience with this sort of thing. Depends on the OS, obviously. If inews is installed suid or sgid, then most OSes will not honor the LD_ variables when loading it (actually I don't know of any that would); if it isn't suid or sgid, then users can just compile their own copy without the checks anyway.
Re: inews dynamically linked?
Author: Dave Barr
Date: Tue, 30 Apr 1996 00:00
Date: Tue, 30 Apr 1996 00:00
10 lines
848 bytes
848 bytes
In article <gergDqnr6L.DI@netcom.com>, Greg Andrews <gerg@netcom.com> wrote: >If the OS will ignore the LD_ variables, why do folks advise that >Sendmail should be statically linked? Because they are misinformed. --Dave
Re: inews dynamically linked?
Author: Christopher Davis
Date: Fri, 03 May 1996 00:00
Date: Fri, 03 May 1996 00:00
16 lines
1179 bytes
1179 bytes
GA> == Greg Andrews <gerg@netcom.com>
GA> If the OS will ignore the LD_ variables, why do folks advise that
GA> Sendmail should be statically linked?
Because dynamic linking and freeze files don't work well together.
I will point out that freeze files are gone in V8, but the default of
linking statically isn't. I don't.
% ldd /usr/lib/sendmail
-lc.1 => /usr/lib/libc.so.1.9.2
-ldl.1 => /usr/lib/libdl.so.1.0
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads