summaryrefslogtreecommitdiffstats
path: root/libexec
Commit message (Collapse)AuthorAgeFilesLines
* Ignore empty usernames, and repeat the login: prompt in this case.joerg1999-03-301-6/+10
| | | | | | | | | | | There's not much point in having uucpd behave differently than login(1) for this, and now uucpd is compatible to the default chat script of Taylor UUCP which sends a single \r at first. While i was at it, added a few strategic ``errno = 0;''s, so at least an `Undefined error 0' will be returned for things like a closed connection while reading the login ID or password, as opposed to an even more bogus thing like `No such file or directory'.
* - Commit the correct dladdr() implementation.nate1999-03-241-7/+14
| | | | Reviewed by: jdp@FreeBSD.org <This is the version he reviewed!>
* - Added dladdr(3) support.nate1999-03-241-1/+47
| | | | Reviewed by: jdp@FreeBSD.org
* Set the CPU resource limit back to infinity before exec()ing PP.brian1999-03-091-1/+4
| | | | PR: 10399
* Clean up some .Os macro uses: quotes are not needed, multiple argumentsfenner1999-02-152-4/+4
| | | | | don't really work if the first one isn't "FreeBSD", and "FreeBSD-Experimental" isn't an OS name.
* - Set the system immutable flag when installing ld.so to avoid peoplenate1999-02-151-2/+3
| | | | | | accidentally clobbering it. Submitted by: numberous people on -current
* Oops, I missed a few more /etc/nologin references yesterday. It appearsasami1999-01-123-8/+8
| | | | | | my check of the tree was incomplete. Sorry guys. Reported by: Ben Smithurst <ben@scientia.demon.co.uk>
* As previously threatened, clean up the rshd -a option and make it defaultpeter1998-12-163-111/+50
| | | | | | | | | | | | | | | | on rshd and rlogind. However, note that: 1: rshd used to drop a connection with -a if the hostname != ip address. This is unneeded, because iruserok() does it's own checking. It was also wrong if .rhosts had an explicit IP address in it, connections would be dropped from that host solely because the DNS was mismatched even though it was explicitly intended to work by IP address. 2: rlogind and rshd check the hostname mappings by default now because that is what goes into the utmp/wtmp and logs. If the hostname != ip address, then it uses the IP address for logging/utmp/wtmp purposes. There isn't much point logging ficticious hostnames. 3: rshd -a is now accepted (but ignored) for compatability. If you really want to make life miserable for people with bad reverse DNS, use tcpd in paranoid mode (which is questionable anyway, given DNS ttl tweaking).
* Old stuff laying around: Don't use a function called getstr(), that haspeter1998-12-161-6/+6
| | | | | nasty consequences when the system curses is ncurses as this conflicts with a ncurses funciton and causes recursion.
* Block for buffer overflow.eivind1998-12-131-1/+3
|
* PR: bin/9031dillon1998-12-121-2/+2
| | | | Changed unbounded strcpy() to snprintf() to fix buffer overrun exploit
* Fixed long line in previous commit.bde1998-12-031-2/+3
|
* Update to correctly reflect the default values ofbillf1998-12-021-2/+2
| | | | | | | net.inet.ip.portrange.hifirst and net.inet.ip.portrange.hilast PR: docs/6745 Submitted by: Masachika Ishizuka <ishizuka@ish.org>
* Added a -D option to turn on TCP_NODELAY.dg1998-12-012-5/+18
|
* Reviewed by: freebsd-current, freebsd-securitydillon1998-12-011-1/+6
| | | | | | Removed getuid() root check so ntalkd can be run from a tty sandbox. It isn't suid root anyway, who knows why the getuid() check was even in there in the first place!
* Use the runpath of the main program for locating libraries loaded bydfr1998-11-271-2/+2
| | | | | | dlopen(). Reviewed by: jdp
* Find "klogin.c" in "src/lib/libpam/modules/pam_kerberosIV" insteadjdp1998-11-211-2/+2
| | | | | of in "src/usr.bin/login". The latter instance is going away. As soon as ftpd is PAMized, it won't need to use klogin.c at all.
* Enable named-xfer and rbootd for alpha.dima1998-11-101-14/+5
|
* Fix a bug in the handling of minor version numbers. Formerly, thejdp1998-11-071-13/+34
| | | | | | | | | | | | | | | | rtld would accept the first shared library it found with the right major version number, even if the minor version number was too low. If a different version of the shared library with an adequate minor version number appeared later in the search path, it would not be found. Now the rtld searches all locations first looking for a library with a minor version that is high enough. Only if such a library is not found will it fall back to accepting a minor version number that is too low. As before, a warning comes out in that case. This solves some problems encountered when building an older world on a -current system.
* Rename a function name so that it doesn't conflict with a future system call.dg1998-10-301-5/+5
|
* 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
|
OpenPOWER on IntegriCloud