summaryrefslogtreecommitdiffstats
path: root/libexec
Commit message (Collapse)AuthorAgeFilesLines
* Sync with my sources at home (these are really tiny changes):wpaul1996-01-062-12/+15
| | | | | | | | | | | | | | | | | | | | | | | | | - Fix a SEGV condition in ypxfr_main.c that reared its ugly head while I was working on the 'parallel jobs' feature of the new yppush. After we've completed the map transfer and created a local temporary copy, we check the order number of the map on ypserv again to make sure it didn't change while the transfer was in progress (map skew). If for some reason we flat out fail to get the order number from the server, we flag this as an error and bail, telling ypxfr_exit() to clean up our temporary files for us. However, ypxfr_exit() tries to close the database before unkining it, not realizing that it has already been closed prior to the skew check. The second attempt to close the database causes a SEGV somewhere inside the DB code. (Well, it does on my 2.0.5 machine anyway. I haven't seen anyone modify the DB library code in ages, so the condition is probably still there.) To work around this, we deliberately set dbp to NULL after closing the database and check for the condition in ypxfr_exit(), being careful to avoid the second close if we see the NULL. - In yp_dbwrite.c, make yp_open_db_rw() open the database with O_EXLOCK flag set. This probably won't affect much of anything, but I feel better having it there.
* added rpc.rquotad and rpc.spraydgraichen1996-01-051-2/+2
|
* This commit was generated by cvs2svn to compensate for changes in r13240,graichen1996-01-053-0/+234
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Obtained from: NetBSDgraichen1996-01-053-0/+234
| | | | | | | | | | imported the rpc.sprayd from NetBSD - it is used by the new spray command for network analysis
* | This commit was generated by cvs2svn to compensate for changes in r13237,graichen1996-01-053-0/+399
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Obtained from: NetBSDgraichen1996-01-053-0/+399
| | | | | | | | | | Imported rpc.rquotad from NetBSD - currently only used by the quota-command to display quota's over nfs
| * recording cvs-1.6 file deathpeter1995-12-301-56/+0
| |
* | 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.
OpenPOWER on IntegriCloud