summaryrefslogtreecommitdiffstats
path: root/libexec
Commit message (Collapse)AuthorAgeFilesLines
* Fix for new Kerberos4. Make a fist cut at PAM-ising while I'm here.markm1999-09-198-326/+388
|
* When a STAT command is sent to ftpd as an out-of-band transmission duringmharo1999-09-121-0/+1
| | | | | | | | a file transfer, the command was mishandled on every other receipt of the command. PR: 13261 Submitted by: Ian Lepore <ian@plutotech.com>
* Fix more Common Error brokenness.markm1999-09-062-4/+4
|
* Add common error lib for the Kerberos case.markm1999-09-061-2/+2
|
* Make jdk-1.1.8 work again. It turns out that some code insidejdp1999-09-051-5/+9
| | | | | | | | | | | | | | | libjava peeks into the dynamic linker's private Obj_Entry structures. My recent changes introduced some new members near the front of the structures, causing libjava to get the wrong fields. This commit moves the new members toward the end of the structure so that the layout of the portion that is relevant to JDK remains the same as before. I will work with the JDK porting team to see if we can come up with a less fragile way for them to do what they need to do. I understand the current approach was necessary in order to work around some limitations of the dynamic linker. Maybe it's not necessary any more.
* Enable -Wformat checking for debug_printf().jdp1999-09-041-1/+3
|
* Change the warning about unrecognized entries in the dynamic tablejdp1999-09-041-2/+2
| | | | | | | to a debug message which is disabled in production builds of the dynamic linker. The condition warned about is normally harmless. PR: bin/12849
* When looking up symbols, search the objects loaded at program startjdp1999-09-041-8/+8
| | | | | | | up first -- before the dlopened DAGs containing the referencing object. This makes dynamically loaded perl modules work properly again.
* Get the actual pathname of the dynamic linker from the executable'sjdp1999-08-303-12/+31
| | | | | | | PT_INTERP program header entry, to ensure that gdb always finds the right dynamic linker. Use obj->relocbase to simplify a few calculations where appropriate.
* When checking to see if a shared object is already loaded, look forjdp1999-08-303-7/+38
| | | | a device/inode match if no pathname match is found.
* Revamp the symbol lookup algorithm to cope better with objectsjdp1999-08-304-82/+245
| | | | | | | | | | | | | | | | | | | | | | loaded separately by dlopen that have global symbols with identical names. Viewing each dlopened object as a DAG which is linked by its DT_NEEDED entries in the dynamic table, the search order is as follows: * If the referencing object was linked with -Bsymbolic, search it internally. * Search all dlopened DAGs containing the referencing object. * Search all objects loaded at program start up. * Search all objects which were dlopened() using the RTLD_GLOBAL flag (which is now supported too). The search terminates as soon as a strong definition is found. Lacking that, the first weak definition is used. These rules match those of Solaris, as best I could determine them from its vague manual pages and the results of experiments I performed. PR: misc/12438
* When honoring -Bsymbolic, still keep searching if only a weakjdp1999-08-301-4/+8
| | | | definition was found in the referencing object.
* Simplify the logic in find_symdef().jdp1999-08-301-45/+41
|
* Add $FreeBSD$ lines to man pages that are missing them to make itmpp1999-08-285-0/+7
| | | | | | | easier for translation teams. PR: docs/13418 Submitted by: Alexey Zelkin <phantom@cris.net>
* $Id$ -> $FreeBSD$peter1999-08-28191-191/+191
|
* unifdef -DINTERNAL_LS - it's too useful to be off by default. If anyonepeter1999-08-265-32/+7
| | | | | really dislikes this, we could add a switch to disable it at runtime and check in popen.c.
* Ufff. cflags -> chflags. I could have sworn this change has been inimp1999-08-211-3/+3
| | | | | | my last three successful make buildworlds... Noticed by: phk
* Remove all flags from devices before we try to assert ownership andimp1999-08-211-1/+3
| | | | | | | set permissions. Bug not fixed: We silently ignore failures of chflags, chmod and chown.
* Add a NULL pointer check whose absence could cause segmentationjdp1999-08-201-6/+6
| | | | | | | violations in certain obscure cases involving failed dlopens. Many thanks to Archie Cobbs for providing me with a good test case. Eliminate a block that existed only to localize a declaration.
* Back out previous commit - it's not necessary now that tty.h properly includesjkh1999-08-091-2/+1
| | | | the queue macros.
* Add a missing include (sys/queue.h for sys/tty.h SLIST usage.)green1999-08-091-1/+2
|
* Correction to previous commit.stark1999-08-081-9/+5
|
* Corrected mistake that was causing daemon to loop without servingstark1999-08-081-2/+2
| | | | | user requests. Note that nothing can be said about the value of 'user' unless User != NULL.
* Change many asserts into normal errors. They were all for conditionsjdp1999-07-183-39/+65
| | | | | | caused by invalid shared objects rather than by internal errors. Enable format string mismatch checking for _rtld_error().
* Change the symbol used to find the end of an object's address spacejdp1999-07-141-2/+2
| | | | | from "end" to "_end". The former does not exist in most shared libraries. This fixes problems in dladdr() and dlsym(RTLD_NEXT, ...).
* Fix a couple of typos.mpp1999-07-121-3/+3
| | | | | PR: 12610 Submitted by: Seth <seth@freebie.dp.ny.frb.org>
* Add code to 'handle' R_ALPHA_NONE relocations by ignoring them.dfr1999-07-121-1/+4
|
* Add a MAINTAINER line naming myself. We control the vertical. Wejdp1999-07-091-1/+2
| | | | control the horizontal.
* Fix bug: if a dlopen() failed (e.g., because of undefined symbols),jdp1999-07-091-38/+44
| | | | | | | | | | the dynamic linker didn't clean up properly. A subsequent dlopen() of the same object would appear to succeed. Another excellent fix from Max Khon. PR: bin/12471 Submitted by: Max Khon <fjoe@iclub.nsu.ru>
* Shake hands with GDB a little bit earlier so that it is possible tojdp1999-07-031-3/+3
| | | | | | debug the init functions. Submitted by: dfr
* Update the SYNOPSIS to reflect that the -l option can be specifiedmpp1999-06-281-2/+3
| | | | | | more than once. Pointed-out-by: sheldonh
* Fix a reference counting problem when using dlopen(NULL, ...).jdp1999-06-251-3/+4
| | | | PR: bin/12129
* Fix a serious performance bug for large programs on the Alpha,jdp1999-06-257-103/+231
| | | | | | | | | | | | | | | discovered by Hidetoshi Shimokawa. Large programs need multiple GOTs. The lazy binding stub in the PLT can be reached from any of these GOTs, but the dynamic linker only has enough information to fix up the first GOT entry. Thus calls through the other GOTs went through the time-consuming lazy binding process on every call. This fix rewrites the PLT entries themselves to bypass the lazy binding. Tested by Hidetoshi Shimokawa and Steve Price. Reviewed by: Doug Rabson <dfr@freebsd.org>
* Identify illegal switches, don't print them as '?' in the error..peter1999-05-181-2/+2
|
* Fix ypxfr so that it can be run from cron.wpaul1999-05-101-4/+4
| | | | Patch submitted by: Dan Nelson <dnelson@emsphone.com>
* Add missing -A option to SYNOPSIS.ghelmer1999-05-041-1/+2
| | | | PR: docs/10771
* More egcs warning fixes:imp1999-04-257-14/+19
| | | | | | | | | | o main returns int not void o use return 0 at end of main when needed o use braces to avoid potentially ambiguous else o don't default to type int (and also remove a useless register modifier). Reviewed by: obrien and chuckr
* Back out my change from 6 April PDT that added a new dlversion()jdp1999-04-221-16/+1
| | | | | | | function. It was an ill-considered feature. It didn't solve the problem I wanted it to solve. And it added Yet Another Version Number that would have to be maintained at every release point. I'm nuking it now before anybody grows too fond of it.
* After relocating the main program, but before calling any of thejdp1999-04-211-7/+33
| | | | | | _init() functions, initialize the global variables "__progname" and "environ". This makes it possible for the _init() functions to call things like getenv() and err().
* The ELF specification says that the RPATH in the executable orjdp1999-04-091-4/+4
| | | | | shared object takes precedence over LD_LIBRARY_PATH. Make the dynamic linker do it that way.
* Eliminate all machine-dependent code from the main source body andjdp1999-04-0914-88/+488
| | | | | | | | | | | | | | | the Makefile, and move it down into the architecture-specific subdirectories. Eliminate an asm() statement for the i386. Make the dynamic linker work if it is built as an executable instead of as a shared library. See i386/Makefile.inc to find out how to do it. Note, this change is not enabled and it might never be enabled. But it might be useful in the future. Building the dynamic linker as an executable should make it start up faster, because it won't have any relocations. But in practice I suspect the difference is negligible.
* Determine the host name using an array size ofbrian1999-04-081-2/+3
| | | | | | | | | MAXHOSTNAMELEN and call trimdomain() before implementing the -u option. This allows local hosts of a lan with a long domain name to appear properly in utmp by base host name (w/o domain) rather than by IP number.
* Really fix -u....brian1999-04-071-2/+6
|
* Ensure that things returned by gethostname() andbrian1999-04-0713-43/+52
| | | | | | | | | | friends are terminated and allow for a maximum host name length of MAXHOSTNAMELEN - 1. Put parenthesis around sizeof args. Make some variables static. Fix telnetd -u (broken by my last commit) Prompted by: bde
* Fix the size of rhost, don't forget to NUL terminatebrian1999-04-071-2/+3
| | | | | it and use brackets for sizeof. Requested by: bde
* Fix a couple of typos in comments.jdp1999-04-071-3/+3
|
* Add a new function dlversion() which returns the version number ofjdp1999-04-071-1/+16
| | | | | | the dynamic linker in the same form as __FreeBSD_version. This is mainly intended for checking the dynamic linker version during a make world.
* Link with libutilbrian1999-04-062-4/+6
|
* Use realhostname() rather than various combinations ofbrian1999-04-069-170/+51
| | | | | | gethostbyaddr() & gethostbyname(). Remove brokeness in ftpd for hosts of MAXHOSTNAMELEN length.
* After receiving a connection and doing a reversebrian1999-04-061-2/+18
| | | | | | | | | | lookup on the incoming IP, do a forward lookup on the result and make sure that the IP is in the resulting list. If it's not, put the IP number in utmp/wtmp instead of the rogue name. Stolen from: rlogind Suggested by: sef
OpenPOWER on IntegriCloud