summaryrefslogtreecommitdiffstats
path: root/libexec
Commit message (Collapse)AuthorAgeFilesLines
* Make ftpd use setproctitle() from libutilpeter1996-01-014-10/+16
| | | | | I've left the old code in there under #ifdef OLD_SETPROCTITLE in case somebody wants to try to compile out ftpd on some other machine.
* This commit was generated by cvs2svn to compensate for changes in r13122,peter1995-12-3018-1961/+0
| | | | which included commits to RCS files with non-trunk default branches.
* recording cvs-1.6 file deathpeter1995-12-305-240/+0
|
* This commit was generated by cvs2svn to compensate for changes in r13007,wpaul1995-12-257-0/+1224
| | | | which included commits to RCS files with non-trunk default branches.
* Implement server-side transaction TCP. (Has no effect on non-TTCP clients.)wollman1995-12-171-9/+25
|
* Fix the bug which allowed people to avoid the "-s" (secure) bug.peter1995-12-101-2/+3
| | | | | Now, "finger" is invoked with "--" before the first network supplied argument, so the "--" and "-l" hacks will be stopped.
* Fix typo.nate1995-12-021-1/+1
|
* It is not necessary to check if a '-' is in lusername., Checking ifguido1995-12-011-1/+1
| | | | | lusername starts with a '-' is enough. Otherwise, no users with a '-' in there name can use rlogin.
* Timeout when an expected accept does not happen after all.guido1995-11-291-3/+11
| | | | | | This gets rids of dozens of hanging ftpd's because some broken pc implementation `forgets' to open a passive connection. Obtained from: Wietse Venema
* Stop rlogind from bogusly ignoring an explicit .rhosts file for root.peter1995-11-201-3/+2
| | | | It still correctly ignores hosts.equiv. This is now consistant with rshd.
* Add missing & in des_set_key argumentache1995-11-191-1/+1
|
* Move the setlogin() call a little earlier.. It was being done in the childpeter1995-11-121-4/+5
| | | | | process - which would be no longer allowed if the setlogin() changes go through. Now the parent (the session leader, when started by inetd) does it.
* Changed the terminology for what used to be called the "memorizing"nate1995-11-022-188/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vector. Now it is called the "symbol caching" vector. This was made possible and unconfusing by other changes that allowed me to localize everything having to do with the caching vector in the function reloc_map(). Switched to alloca() for allocating the caching vector, and eliminated the special mmap-based allocation routines. Although this was motivated by performance reasons, it led to significant simplification of the code, and made it possible to confine the symbol caching code to the single function reloc_map(). Got rid of the unnecessary and inefficient division loop at the beginning of rtld(). Reduced the number of calls to getenv("LD_LIBRARY_PATH") to just 1, on suggestion from <davidg@root.com>. Added breaks out of the relocation loops when the relocation address is found to be 0. A relocation address of 0 is caused by an unused relocation entry. Unused relocation entries are caused by linking a shared object with the "-Bsymbolic" switch. The runtime linker itself is linked that way, and the last 40% of its relocation entries are unused. Thus, breaking out of the loop on the first such entry is a performance win when ld.so relocates itself. As a side benefit, it permits removing a test from md_relocate_simple() in ../i386/md-static-funcs.c. Unused relocation entries in other shared objects (linked with "-Bsymbolic") caused even bigger problems in previous versions of the runtime linker. The runtime linker interpreted the unused entries as if they were valid. That caused it to perform repeated relocations of the first byte of the shared object. In order to do that, it had to remap the text segment writable. Breaking out of the loop on the first unused relocation entry solves that. Submitted by: John Polstra <jdp@polstra.com>
* Revert fsync ifdef behaviour and name, now default variant acts likeache1995-10-312-2/+4
| | | | | original one. Suggested by: peter
* Put fsync under #ifdef EXTRA_SANITY and turn it off by default.ache1995-10-312-5/+8
| | | | | fsync here cause real disk trashing when large UUCP mail chanks parsed.
* Add revnetgroup.wpaul1995-10-261-1/+1
|
* This commit was generated by cvs2svn to compensate for changes in r11814,wpaul1995-10-266-0/+951
| | | | which included commits to RCS files with non-trunk default branches.
* Run-time linker speedups - Round Onenate1995-10-251-3/+170
| | | | | | | | | | | | | | | | | | | | Implemented symbol memorizing to reduce the number of calls to lookup(), making relocation go faster. While relocating a given shared object, the dynamic linker maintains a memorizing vector that is directly indexed by the symbol number in the relocation entry. The first time a given symbol is looked up, the memorizing vector is filled in with a pointer to the symbol table entry, and a pointer to the so_map of the shared object in which the symbol was defined. On subsequent uses of the same symbol, that information is retrieved directly from the memorizing vector, without calling lookup() again. A symbol that is referenced in a relocation entry is typically referenced in many relocation entries, so this memorizing reduces the number of calls to lookup() dramatically. The overall improvement in the speed of dynamic linking is also dramatic -- as much as a factor of three for programs that use many shared libaries. Submitted by: jdp@polstra.com "John Polstra"
* Remove LD_NOSTD_PATH unsetenv, isn't exist anymoreache1995-10-241-1/+0
|
* Remove LD_NOSTD_PATH implementation, it isn't works andache1995-10-241-4/+2
| | | | | can cause some problems. Suggested-by: davidg
* if uid != euid or gid != egid unsetenv("LD_NOSTD_PATH") tooache1995-10-211-1/+2
|
* Fix original patch error with ! before strncmpache1995-10-201-4/+10
| | | | Zap only needed LD_* variables
* Don't allow LD_* env. variables to be trickedache1995-10-201-0/+22
| | | | Submitted by: Sam Hartman <hartmans@mit.edu>
* Added a -D option to set the TCP_NODELAY socket option. This improvesdg1995-10-152-5/+17
| | | | responsiveness at the expense of some additional network traffic.
* Kerberos can now deal with multi-homed clients.gibbs1995-10-051-1/+1
| | | | | | | | | | | | | | Kerberos obtains a network address for the local host from the routing tables and uses it consistently for all Kerberos transactions. This ensures that packets only leave the *authenticated* interface. Clients who open and use their own sockets for encrypted or authenticated correspondance to kerberos services should bind their sockets to the same address as that used by kerberos. krb_get_local_addr() and krb_bind_local_addr() allow clients to obtain the local address or bind a socket to the local address used by Kerberos respectively. Reviewed by: Mark Murray <markm>, Garrett Wollman <wollman> Obtained from: concept by Dieter Dworkin Muller <dworkin@village.org>
* This is a FreeBSD manpage, not a NetBSD manpage. :)nate1995-10-053-6/+6
|
* Build secure telnetd if available and allowedache1995-09-291-0/+2
|
* Fix SRCS (.c's were .o's) so that `make depend' works.bde1995-09-281-2/+2
|
* Make the error message more readable when 'ld.so' cannot locate a needednate1995-09-271-13/+11
| | | | | | | | | | | | | | shared library. Formerly, the message looked like this: ld.so: run: libjdp1.so.1.0: Undefined error: 0 The new message looks like this: ld.so: run: Can't find shared library "libjdp1.so.1.0" (Where "run" is the name of the program being executed.) Submitted by: jdp@polstra.com (John Polstra)
* Fixup the "ld.so failed" message for the case when ld.so finds undefinednate1995-09-271-5/+5
| | | | | | | | | | | symbols. An easy example to see this is to develop an X program which links against Xt, but doesn't add -lX11 to the link line. It will link fine, but cause run-time errors by ld.so because of missing symbols used by Xt defined in X11. This patch makes the errors more readable. Submitted by: jdp@polstra.com (John Polstra)
* Fixed bug introduced with the change of startslave()...two argumentsdg1995-09-111-3/+3
| | | | | | were chopped off of the function call and garbage was passed instead. The solution involves making some variable globals as well as fixing the call to have all the arguments.
* Move erase cleanup outside linemode conditionalpst1995-09-061-1/+1
|
* Properly set the erase character for the login prompt.pst1995-09-051-1/+5
| | | | Submitted by: John Capo <jc@irbs.com> & Peter Wemm
* Delay starting login process until option negotiation is complete topst1995-09-051-22/+7
| | | | | | avoid race condition on connections with larger round-trip-times. Submitted by: John Capo & Peter Wemm
* Fix ${.CURDIR} misspellingache1995-08-291-2/+2
|
* Check for expired passwords before allowing access to the system.mpp1995-08-285-5/+19
|
* Import Paul Kranenburg's man page for ld.so (aka. rtld).joerg1995-08-264-2/+435
| | | | Obtained from: NetBSD
* Upgrade to 2.9ache1995-08-215-68/+236
|
* Change `install' to `${INSTALL}' so that default install flags can bebde1995-08-061-1/+1
| | | | | | | specified in the top level Makefiles. Previously I missed dozens of Makefiles that skip the install after using `cmp -s' to decide that the install isn't necessary.
* Only build telnetd if secure telnetd is not going to be built.markm1995-08-061-1/+5
| | | | Reviewed by: rgrimes
* Use data ports in the range 40000..44999 by default to enhance FTP usabilitypst1995-08-053-8/+46
| | | | | | | in a firewall environment. Original idea by Mark Tracy (?). Reviewed by: wollman Submitted by: pst
* Fix some typos in a comment BUAD -> BAUD.ats1995-08-051-3/+3
|
* Back this change out. It's just not worth arguing over and any further emailsjkh1995-08-032-35/+4
| | | | | | I get on this topic will go straight to /dev/null. This is absolutely the last word on this topic you'll see from me. Too much time has already been wasted.
* Change default banner fro 4.4 BSD to FreeBSD.paul1995-08-021-1/+1
| | | | | | Reviewed by: Submitted by: Obtained from:
* Use the same DECODE_BAUD trick like in new telnetd to obtainache1995-08-021-0/+17
| | | | | termios speed. Obtained from: Pre-Lite2 telnet
* A useful aid.. Add support for:jkh1995-08-012-4/+35
| | | | | | | | %r: current release %m: machine architecture type (i386 for now) %s: OS name (FreeBSD) from uname() in banner string.
* rexecd was not calling "setlogin()" when it should have. This was causingpeter1995-07-291-0/+2
| | | | | | getlogin() to return wrong answers (eg: "root"). Reviewed by: davidg Obtained from: James Jegers, for NetBSD, slightly reworked by me.
* Uncomment 'CFLAGS+=ETC_ETHERS' -- we have support for this as of 2.0.5.wpaul1995-07-251-2/+2
|
* Change hardcoded 15 (which means 38400) to B115200 which is 17ache1995-07-231-2/+1
|
* Change ld.so to correctly load dependant libraries for dlopen and unload themdfr1995-06-271-66/+234
| | | | | | | | | | | | | | | | | on dlclose. Also correctly call constructors and destructors for libraries linked with /usr/lib/c++rt0.o. Change interpretation of dlopen manpage to call _init() rather than init() for dlopened objects. Change c++rt0.o to avoid using atexit to call destructors, allowing dlclose to call destructors when an object is unloaded. Change interface between crt0 and ld.so to allow crt0 to call a function on exit to call destructors for shared libraries explicitly. These changes are backwards compatible. Old binaries will work with the new ld.so and new binaries will work with the old ld.so. A version number has been introduced in the crt0-ld.so interface to allow for future changes. Reviewed by: GAWollman, Craig Struble <cstruble@singularity.bevc.blacksburg.va.us>
OpenPOWER on IntegriCloud