summaryrefslogtreecommitdiff
path: root/libexec
AgeCommit message (Collapse)Author
2001-12-28- Allow RTLD_DEFAULT_LIBRARY_PATH to be overridden.lukem
- If ${SHLIBDIR} != ${LIBDIR}, then set RTLD_DEFAULT_LIBRARY_PATH to ${SHLIBDIR}:${LIBDIR}
2001-12-28if SHLINKDIR != /usr/libexec, install compat symlinklukem
2001-12-28* Add user-controlled mk.conf variableslukem
- SHLIBDIR Location to install shared libraries if ${USE_SHLIBDIR} is "yes". Defaults to "/usr/lib". - USE_SHLIBDIR If "yes", install shared libraries in ${SHLIBDIR} instead of ${LIBDIR}. Defaults to "no". Sets ${_LIBSODIR} to the appropriate value. This may be set by individual Makefiles as well. - SHLINKDIR Location of shared linker. Defaults to "/usr/libexec". If != "/usr/libexec", change the dynamic-linker encoded in shared programs * Set USE_SHLIBDIR for libraries used by /bin and /sbin: libc libcrypt libcrypto libedit libipsec libkvm libm libmi387 libtermcap libutil libz * If ${_LIBSODIR} != ${LIBDIR}, add symlinks from ${LIBDIR}/${LIB}.so* to ${_LIBSODIR}/${LIB}.so* for compatibility. * Always install /sbin/init statically (for now) The net effect of these changes depends on how the variables are set: 1.) If nothing is set or changed, there is no change from the current behaviour: - Static /bin, /sbin, and bits of /usr/* - Dynamic rest - Shared linker is /usr/libexec/ld*so 2.) If the following make variables are set: LDSTATIC= SHLINKDIR=/lib SHLIBDIR=/lib Then the behaviour becomes: - Dynamic tools - .so libraries used by /bin and /sbin are installed to /lib, with symlinks from /usr/lib/lib*so to -> /lib/lib*so where appropriate - Shared linker is /lib/ld*so 3.) As per 2.), but add the following variable: USE_SHLIBDIR=yes This forces all .so's to be instaleld in /lib (with compat symlinks), not just those tagged by their Makefiles to be. Again, compat symlinks are installed
2001-12-20Sync getopt() / man page with actual getopt options.soren
2001-12-20Grumble. Put compiler options back into CPPFLAGS for now, sincethorpej
they're needed to build .S files with the correct PIC options. XXX Really needs cleanup in <bsd.*.mk> to do this properly.
2001-12-20Small whitespace fix.thorpej
2001-12-20Update README. Still not complete.thorpej
2001-12-20Upon further investigation, do NOT include an addend in RELATIVEthorpej
relations (the addend should always be zero, but this is safer).
2001-12-20Include the addend in GLOB_DAT relocations (!!).thorpej
2001-12-16* Move The Alpha R(RELATIVE) handling into an Alpha-specific code block,thorpej
thus isolating the "iffy hueristic" from the rest of the relocation code. * In the "iffy hueristic", use _GOT_END_, not _DYNAMIC. * Include the addend in Alpha R(RELATIVE) relocations.
2001-12-14Don't put compiler options into CPPFLAGS.thorpej
2001-12-14...and the other other missing notice.thorpej
2001-12-14Add other missing copyright notice.thorpej
2001-12-14Add missing copyright notice.fvdl
2001-12-14Garbage-collect the OLD_GOT stuff.thorpej
2001-12-14binutils-current ld emits DT_TEXTREL into _DYNAMIC on arm-elf. Handlethorpej
this.
2001-12-14PR/14941: David Querbach: add support for non-standard MS-Windows PPP client.christos
2001-12-14Add code to peek into the PLT and determine which PLT entry formatthorpej
is being used.
2001-12-13Supply two lazy binding routines for Alpha: one that works with thethorpej
old PLT format, and one that works with the new. XXX We currently always use _rtld_bind_start_old() in _rtld_setup_alpha_pltgot(). We need to add code to peek into one of the PLT entries to see which format it's in and pick the correct binding routine.
2001-12-13Check in workaround for BFD ABI change on MIPS: the new MIPS BFD generatesrafal
relocs for local symbols as section-relative REL32 relocs with values based at 0, whereas previously BFD generated those relocs with values based at the start address of the section. This code adjusts all STT_SECTION REL32 relocs which have values less than the start of the section by adding in the base address of the section. This may limit section sizes to 2GB, but that shouldn't be a problem for now. XXX: Needs to be followed-up with binutils list to get closure on which interpretation is correct (the new ABI or the old one), I just haven't yet had the time to chase that.
2001-12-13Use numeric labels.thorpej
2001-12-13Add RCS ID.thorpej
2001-12-13* Add a linker script which provides a _GOT_END_ symbol that we canthorpej
use to find the end of the GOT, rather than relying on _DYNAMIC to immediately follow the GOT. (A change in current binutils moved _DYNAMIC, and thus would have broken our Alpha ld.elf_so). * Add #ifdef'd out code to deal with the new PLT format.
2001-12-12remove extraneous ": " from messagelukem
2001-12-12Readability cleanups; MKfoo=no -> NOfoo.tv
2001-12-06Fix skey password challenge. Problem reported in [bin/14848] by John F. Woods.lukem
2001-12-04Add two new ftpd.conf(5) directives:lukem
- 'denyquick'; deny a connection so tagged by ftpusers(5) after the USER command instead of the PASS command. whilst this might provide some info leakage of accounts names if you have some `real' or `chroot' users enabled and not others, it does prevent accidental entering of such passwords if you have all such users denied. This option is strongly recommended on anonymous-only servers. Functionality requested by Rob Windsor in [bin/12602] - 'private'; don't display class related information in the output of STAT. For paranoid admins.
2001-12-01Improve FILES section.wiz
2001-12-01- enable case insensitive fnmatch(3)ing for hostname globs in ftpusers(5)lukem
- enable WARNS=2
2001-12-01clarify glob type of hostname globlukem
2001-11-29Allow this to be built as a host program.thorpej
2001-11-27- Don't try and use the motd if it's empty.lukem
Problem reported in [bin/14751] by Kimmo Suominen - Display conffilename() version of limitfile and motd in status output
2001-11-24Fix bug found by Izumi Tsutsui -- if _rtld_find_symdef returned NULL, therafal
runtime linker would crash. Restore behavior similar to version 1.3, where the runtime linker continues on, ignoring the symbol.
2001-11-23Avoid strange error message in case of corrupted manual page files.tron
2001-11-21"than" instead of "then".wiz
2001-11-21support non-IPv4 address families (in fact, IPv6).itojun
2001-11-19__ss_{len,family} hack is no longer necessaryitojun
2001-11-15Provide a $LOGNAME as well.kleink
2001-11-10ANSI'ify.thorpej
2001-11-10Const'ify partab[].thorpej
2001-11-02Update to the new t_agetstr() API.christos
2001-11-02Allow both space and colon as a separator in LD_PRELOAD. Document this andskrll
the fact that space may be retired in the future. Closes misc/11961 Reviewed by christos
2001-11-01Sort SEE ALSO, drop some unnecessary .Pp's, whitespace and misc fixes.wiz
2001-10-31Add a man page for ld.elf_so.skrll
2001-10-14Fix how underfined weak symbols are treated -- before, ld.so would do nothingrafal
with them, rather than defaulting them to zero. This caused breakage with the drawf EH stuff and init/fini code when they weren't used by the caller (and hence the appropriate handlers were left undefined). Also fix an un- initialized variable in symbol.c that only MIPS MD code tripped over.
2001-10-13set "upload guest on" in incoming example, even though it is the defaultlukem
2001-10-09Enable verbose debugging messages via tftpd.christos
2001-09-27PR/5631: Rumi Szabolcs: Make talk work without COMPAT43christos
2001-09-26In the `I can't believe it's been broken all this time' department:mycroft
_rtld_bind_start must save and restore the condition codes. Varargs functions (like, say, printf()) depend on the state of cr1 to determine whether they need to store floating point registers in the save area. Without this, the first call to any particular varargs function will fail if floating point values were passed.
2001-09-24va_{start,end} audit:wiz
Make sure that each va_start has one and only one matching va_end, especially in error cases. If the va_list is used multiple times, do multiple va_starts/va_ends. If a function gets va_list as argument, don't let it use va_end (since it's the callers responsibility). Improved by comments from enami and christos -- thanks! Heimdal/krb4/KAME changes already fed back, rest to follow. Inspired by, but not not based on, OpenBSD.