summaryrefslogtreecommitdiffstats
path: root/libexec
Commit message (Collapse)AuthorAgeFilesLines
* ypxfr_getmap.c:wpaul1996-02-042-13/+35
| | | | | | | | | | | | - Handle 'empty' maps more gracefully. By empty I mean a valid map that just happens not to have any entries in it, such as you would get if you built a map database from an empty file. Previously, trying to ypxfr such a map would yield an 'NIS map/database error' which is not the correct behavior. ypxfr_misc: - Make sure to free() or xdr_free() dynamically allocated memory in ypxfr_get_master() as necessary.
* Rename des_set_key -> des_set_key_krb. (libdes conflict)markm1996-02-032-2/+2
|
* Add some missing manual page links.mpp1996-02-021-1/+2
|
* Section FILES and SEE ALSO completedwosch1996-01-281-1/+18
| | | | Section FILES and SEE ALSO completed
* Section FILES and SEE ALSO completedwosch1996-01-281-1/+13
|
* Fix getif() to work under 4.3bsd and laterpst1996-01-231-4/+3
|
* Remove bootpgwpst1996-01-232-687/+0
|
* Disconnect bootpgwpst1996-01-231-1/+1
|
* Merge back in 4.4bsd ARP changes by handpst1996-01-232-0/+14
|
* Add bootpgw makefilepst1996-01-231-0/+12
|
* Fix conflicts from 2.4.3 mergepst1996-01-234-42/+71
|
* This commit was generated by cvs2svn to compensate for changes in r13572,pst1996-01-2327-108/+1012
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import bootpd-2.4.3 from ftp.mc.compst1996-01-2330-146/+1082
| |
* | This commit was generated by cvs2svn to compensate for changes in r13569,pst1996-01-232-4/+2
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Minor cleanups from NetBSD-current.pst1996-01-232-4/+2
| | | | | | | | Obtained from: NetBSD
* | This release is a moderate restructuring of the dynamic linker.jdp1996-01-131-592/+605
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It addresses a number of problems that were present in earlier versions. The calls to the "init" and "fini" functions of shared libraries have been reordered, so that they are called in a strictly nested fashion, as is required for C++ constructors and destructors. In addition, the "init" functions are called in better order relative to each other. That makes the system more tolerant of C++ programs which depend on a library's being initialized before its clients. The dynamic linker is now more tolerant of shared libraries in which dependencies on other shared libraries are incompletely recorded. Cleanup in the event of errors has been improved throughout the dynamic linker. A number of memory leaks were eliminated. The warning message for a shared library whose minor version number is too old has been clarified. The code dealing with the "ld.so.hints" file has been cleaned up. A bug that caused the hints file to be unmapped incompletely has been fixed. A different bug that could potentially cause the hints file to be mapped on top of a loaded object has been fixed. The code that searches for shared libraries has been cleaned up. The searching is now more compatible with that done by SunOS and SVR4. Also, some unnecessary and useless searches of both the hints file and library directories have been eliminated. Reviewed by: nate@freebsd.org
* | Split up the code so that a single directory can be searched, tojdp1996-01-131-81/+116
| | | | | | | | | | | | | | support some changes in the dynamic linker. (This code is shared by the dynamic linker.) Reviewed by: nate@freebsd.org
* | Another '-' needed for make release.phk1996-01-111-2/+2
| |
* | Make the new realinstall target a little less draconian so that make releasephk1996-01-111-3/+3
| | | | | | | | doesn't fall over.
* | Install ld.so in a way that is safe even on a running system.jdp1996-01-111-2/+13
| |
* | - Fix error reporting when checking order number via NIS: we return zerowpaul1996-01-101-14/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | on a failure, but if we're checking a corrupt map we could also get back a zero from ypserv without really encountering any actual error. Flag this condition and generate an meaningful error message. - Fix transmission of ypxfr_clear to ypserv: error checking was wrong and we sending YPXFR_YPERR as an error status instead of YPXFR_CLEAR. - To help avoid a race condition (or at least reduce the likelyhood of it occuring), use rename() to move a newly transfered map into place instead of unlink()ing the old one first and then renaming. Da man page sez that rename should do the unlink() for us. This prevents ypserv from returning 'no such map in domain' when asked to query a map which ypxfr has just unlink()ed but not yet replaced.
* | 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
OpenPOWER on IntegriCloud