summaryrefslogtreecommitdiffstats
path: root/libexec
Commit message (Collapse)AuthorAgeFilesLines
* Set the user context correctly so that cd ~ does the right thing.des1998-10-131-9/+4
| | | | | | PR: bin/7943 bin/8293 Submitted by: Bill Fenner <fenner@parc.xerox.com> Approved by: jkh
* Fix a bug in dlclose that broke the apache13 port. The list ofjdp1998-10-131-1/+2
| | | | loaded objects wasn't being maintained properly.
* This thing has its own puts function, so use it.jkh1998-10-081-1/+3
| | | | Submitted by: Matthew Jacob <mjacob@nas.nasa.gov>
* Fix a memory leak in rpc.rstatd that shows up when it's run in standaloneken1998-10-081-1/+7
| | | | | | mode. (i.e., not from inetd) PR: bin/8212
* Added double quotes around CHMOD description to prevent garbled output.alex1998-09-291-2/+2
| | | | | PR: 8094 Submitted by: Christoph Weber-Fahr <wefa@callcenter.systemhaus.net>
* Make LD_PRELOAD work for ELF.jdp1998-09-221-1/+38
|
* Remove useless `BINOWN=root' now that it is the default.obrien1998-09-191-2/+1
|
* Work around an alpha compiler bug.dfr1998-09-161-4/+5
| | | | Reviewed by: Kenneth D. Merry <ken@plutotech.com>
* Fix a bug that showed up when debugging dynamically linked programs.jdp1998-09-161-3/+13
| | | | | | | | | | | | | | | | | | | References from GDB to "printf" and various other functions would find the versions in the dynamic linker itself, rather than the versions in the program's libc. This fix moves the GDB link map entry for the dynamic linker to the end of the search list, where its symbols will be found only if they are not found anywhere else. It was suggested by Doug Rabson, though I implemented it a little differently. I personally would prefer to leave the dynamic linker's entry out of the GDB search list altogether. But Doug argues that it is handy there for such things as setting breakpoints on dlopen(). So it stays for now, at least. Note, if we ever integrate the dynamic linker with libc (which has several important benefits to recommend it), this whole problem goes away.
* Make the pathname pointed to by the Obj_Entry structure for thejdp1998-09-151-3/+11
| | | | | | dynamic linker itself dynamically allocated. All of them are supposed to be dynamically allocated, but we cheated before. It made gdb unhappy under some circumstances.
* Update system to new device statistics code.gibbs1998-09-152-23/+97
| | | | | Submitted by: "Kenneth D. Merry" <ken@plutotech.com> mike@smith.net.au (Mike Smith)
* Update to the binutils-2.9.1 PLT format.dfr1998-09-111-2/+4
|
* Add the r_addend of the relocation when processing GLOB_DAT relocations.dfr1998-09-111-3/+3
|
* Fix a cut&paste error which prevented LD_BIND_NOW from working.dfr1998-09-081-2/+2
|
* Don't recognize a file as an a.out shared library unless it has atjdp1998-09-051-6/+4
| | | | | | | | | | | | least 2 version numbers. This fixes the bug where the dynamic linker would try to load an ELF shared library if it found one. Note, this change also fixes the same thing in "ld", because the code is shared. For "ld" there is still a problem with ".a" libraries, which cannot be distinguished by name. I haven't decided what, if anything, to do about that.
* Chaneg MACHINE to MACHINE_ARCH to support MACHINE=pc98.jb1998-09-051-7/+3
| | | | Remove a couple of unsupported machines.
* Chaneg MACHINE to MACHINE_ARCH to support MACHINE=pc98.jb1998-09-051-3/+3
|
* Implement ldconfig functionality for ELF. The hints are stored injdp1998-09-051-3/+50
| | | | | | | | | | | | | | | | | | | | | | | a different file than the a.out hints, namely, "/var/run/ld-elf.so.hints". These hints consist only of the directory search path. There is no hash table as in the a.out hints, because ELF doesn't have to search for the file with the highest minor version number. (It doesn't have minor version numbers at all.) A single run of ldconfig updates either the a.out hints or the ELF hints, but not both. The set of hints to process is selected in the usual way, via /etc/objformat, or ${OBJFORMAT}, or the "-aout" or "-elf" command line option. The rationale is that you probably want to search different directories for ELF than for a.out. "ldconfig -r" is faked up to produce output like we are used to, except that for ELF there are no minor version numbers. This should enable "ldconfig -r" to be used for checking LIB_DEPENDS in ports even for ELF. I implemented the ELF functionality in a new source file, with an eye toward eliminating the a.out code entirely at some point in the future.
* Add -lcrypt when building kerberos.jb1998-09-052-6/+6
|
* Enable rtld-elf for build on alpha too. We now have support for sharedjb1998-09-041-2/+3
| | | | libraries on alpha!
* Add alpha support.dfr1998-09-0411-277/+1145
| | | | | Submitted by: John Birrell <jb@cimlogic.com.au> (with extra hacks by me) Obtained from: Probably NetBSD
* Suppress duplicate entries in ldd output.jdp1998-09-022-12/+12
|
* Style fixes. If it seems like a lot of lines of changes, it'sjdp1998-09-021-75/+79
| | | | | because I moved some functions. Mr. Tidy likes them to be in alphabetical order.
* Handle dlsym(NULL, ...) properly, by searching in the caller'sjdp1998-09-021-11/+26
| | | | | | | | shared object. Note, this searches _only_ that object, and not its needed objects, in accordance with the documentation. Also fix dlopen(NULL, ...) so that the executable's needed objects are searched as well as the executable itself.
* Sort cross references.wosch1998-08-311-2/+2
|
* BINFORMAT -> OBJFORMAT ready for E-day.jb1998-08-301-5/+5
|
* Pass me the pointy hat with the extra sequins. Just a moment, while I getmckay1998-08-221-6/+20
| | | | | | | | | it to sit right... The __error() hack gave out the wrong address. It returned the address of errno in ld.so instead of the address of errno in the main program. Oops. The hack is now correct, just in time to be obsoleted by elf.
* Update this header to use the revamped elf headers which select Elf32jb1998-08-211-12/+12
| | | | | | | | | or Elf64 based on the inclusion of the machine dependent header. I've left the addition of the extra fields to handle the relocation structures with addend for a separate commit after jdp has had a chance to review what I've done. The current change is needed to compile csu/alpha/crt1.c
* Add "-C" to INSTALLFLAGS to install atomically. An elf->elfjdp1998-08-171-1/+3
| | | | | installworld dies at this point otherwise, leaving the system without a dynamic linker.
* Fix LIBDIR (for aout/ELF).markm1998-08-062-4/+4
|
* Build mail.local and smrsh (when building sendmail)peter1998-08-041-2/+6
|
* Build sendmail-8.9.1 smrshpeter1998-08-041-0/+9
|
* Use sendmail-8.9.1 mail.local (with our changes). It has LMTP support.peter1998-08-044-699/+5
|
* Fixed printf format errors.bde1998-08-023-9/+9
|
* Getty is missing the speed table entry for 230400 baud.phk1998-07-221-2/+3
| | | | | | PR: 7280 Reviewed by: phk Submitted by: Craig Leres <leres@ee.lbl.gov>
* Remove no longer needed FreeBSD specific code.steve1998-07-201-6/+1
| | | | | | PR: 5497 Submitted by: Jacob Bohn Lorensen <jacob@jblhome.ping.mk> Obtained from: OpenBSD (indirectly it seems so just to be safe)
* Document the use of lines beginning with a '#' as comment lines.jkoshy1998-07-091-1/+4
| | | | PR: 5676
* Clean up grammar. Provide proper pathnames for spool directories.jkoshy1998-07-011-13/+15
| | | | | | Document dependency on current load average for starting new batch jobs. PR: 7109
* Fixed printf format errors.bde1998-06-303-8/+10
|
* Don't assume that time_t is long.bde1998-06-291-2/+4
|
* Don't assume that time_t is long. Fixed printf format errors.bde1998-06-291-5/+5
|
* Since I got no objections to this patch, and no one has offered anymckay1998-06-211-1/+70
| | | | | | | | | | | | alternative, I present .. ta! da! .. the __error() hack. This patch to the a.out dynamic loader provides old a.out binaries with __error() if they are linked with an older libc that lacks it, but are also linked against a library that needs it. There is a smaller, tricker hack that takes advantage of the fact that ld.so has __error() too, courtesy of the new libc, but this hack is the straightforward version.
* Fix stupid typo, I had only tested this in elf mode.peter1998-06-121-2/+2
|
* Only build rtld-aout if we're in an a.out build environment.peter1998-06-121-2/+5
|
* Activate libbindpeter1998-06-111-1/+2
|
* Spelling fixes.phk1998-06-101-2/+2
| | | | | | PR: 6903 Reviewed by: phk Submitted by: Josh Gilliam <josh@quick.net>
* Search for libraries in dlopen() when the specified pathbrian1998-06-073-8/+13
| | | | | | contains no ``/''s. Elf already searches it seems. Mostly submitted by: Mike Smith <mike@smith.net.au>
* named-xfer can't be linked static due to the duplicated symbols injb1998-06-061-4/+4
| | | | | | | | libc and libbind. rpc.rstatd required libkvm. Only try to build these on i386 for the time being.
* Mention that syslog.conf(5) does not log LOG_FTP messages by default.jkoshy1998-06-051-2/+6
| | | | PR: 5287
* Use gethostname(3) to obtain the local host name, as opposed to uname(3).joerg1998-06-031-5/+4
| | | | Otherwise the length of the name is limited to 32 characters only.
OpenPOWER on IntegriCloud