summaryrefslogtreecommitdiffstats
path: root/libexec
Commit message (Collapse)AuthorAgeFilesLines
* Add the search directories from the hints file only the first time it isjdp1996-10-101-2/+5
| | | | | | opened. After that, the directories are already present, and there is no point in adding them again. This doesn't fix any bugs; it's just for efficiency.
* Fix a bug that caused a segmentation violation if dlsym() was calledjdp1996-10-101-2/+2
| | | | with its first argument equal to NULL.
* correct spelling of 'X Window System' (tm)wosch1996-10-061-2/+2
|
* delete doubled words, e.g.: "the the" -> "the"wosch1996-10-051-2/+2
|
* There's no need to 'unsetenv()' unsafe environment variables explicitlynate1996-10-011-6/+1
| | | | | | since rt_readenv() already takes care of not setting unsafe variables. This was part of the changes I submitted to Peter and John during the review which must have gotten missed.
* Sigh, oh well, here's my obligigatory "oops" commit. I don't quite knowpeter1996-10-011-1/+13
| | | | | | | how I managed to get this out of sync, but I did. I guess that's what I get for directly committing from different machines that I was testing on. Pointed out by: Paul Traina <pst@freebsd.org>
* Update to handle new version ld.so.hints and info in executable forpeter1996-10-015-64/+381
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | configurable fallback search paths, as well as new crt interface version. Also: - even faster getenv(), get all environment variable settings in a single pass. - ldd printf-like format specifications - minor code cleanups, one vsprintf -> vsnprintf (harmless) The library search sequence is a little more complete now. Before, it'd search $LD_LIBRARY_PATH (by opendir/readdir/closedir), then read the hints file, then read /usr/lib (again by scanning thr directory). It would then fail if there was no "found" library. Now, it does LD_LIBRARY_PATH and the hints file the same, but then uses a longer fallback path. The -R path is fetched from the executable if specified at build time, the ldconfig path is appended, and /usr/lib is appended to that. Duplicates are suppressed. This means that simply placing a new library in /usr/local/lib will work (the same as it did in /usr/lib) without needing ldconfig -m. It will find it quicker if the ldconfig is run though. Similar changes have been made to the NetBSD ld.so, but ours is rather different now due to John Polstra's speedups and fixes from a while back. The ldd printf-like format support came direct from NetBSD. Reviewed by: nate, jdp
* Update the backends to go with the top-level ld changes. The non-i386peter1996-10-013-11/+34
| | | | | | | changes are for completeness, I don't think they work. There are changes to deal with the new include files. Obtained from: NetBSD (mostly)
* Support for .weak (in addition to the N_INDR stab) for gcc/g++. Also dealpeter1996-10-015-19/+562
| | | | | | | | | | with the -R option and store the path in the dynamic header when specified. The $LD_RUN_PATH environment variable is not checked yet. While here, split up the code a bit more to enable more selective replacing of GPL'ed components that are linked with ld.so with others. Obtained from: NetBSD (mostly, the breakup is my fault)
* add missing comma(s) in .Xr macroswosch1996-09-234-11/+11
|
* add forgotten $Id$wosch1996-09-2290-3/+157
|
* Reviewed by: Bill Fenner <fennder@parc.xerox.com>imp1996-09-222-1/+47
| | | | | | | | | | | Reviewed by: Garrett Wollman <wollman@freebsd.org> Submitted by: Warner Losh <imp@village.org> Close PR bin/1145: Add -s flag to tftpd. This enables the so-called secure mode of tftpd where it chroots to a given directory before allowing access to the files. In addition, it runs as nobody when in this mode. Reviewed a long time ago by Bill and Garrett. Apply my patch from the pr, and close the PR.
* Fix some compilation warnings.pst1996-09-213-3/+3
|
* This should have gone away with the COMPAT_43 cruft. cgetent() is nowbde1996-09-201-339/+0
| | | | used instead of the rudimentary routines here.
* Make the inetd suggestion slightly less confusing.phk1996-09-191-2/+2
|
* Don't use __dead or __pure in user code. They were obfuscationsbde1996-09-141-1/+1
| | | | | | for gcc >= 2.5 and no-ops for gcc >= 2.6. Converted to use __dead2 or __pure2 where it wasn't already done, except in math.h where use of __pure was mostly wrong.
* Use `install -C' instead of lots of shell commands to install ld.sobde1996-09-121-13/+2
| | | | | | | | | as atomically as possible. (Immutable targets can't be renamed without opening a window when neither the source nor the target is immutable. Perhaps there should be a rename_immutable syscall to do this if unsetting the immutable flags would work.)
* bootpd.dump is in /tmppst1996-09-111-3/+3
|
* wrong C bracketing, *blush*...peter1996-09-071-1/+1
|
* zap #include <sgtty.h>, it's not used.peter1996-09-071-1/+0
|
* Another sgtty use bites the dust..peter1996-09-071-5/+4
|
* Fixed DPADD.bde1996-09-053-6/+8
|
* Removed unused `-I.'s from CFLAGS.bde1996-09-041-2/+2
| | | | | | | | "." means the object directory, so it is just confusing to use it when nothing is included from the object directory unless the object directory is also the source directory. It is confusing for "." not to mean the source directory anyway, so used `-I.'s should be replaced by `-I${.OBJDIR}'.
* Unlocalize dateache1996-09-011-2/+2
|
* Add named-xferpeter1996-08-291-1/+2
|
* build bind-4.9.4-P1 named-xfer in it's own directorypeter1996-08-291-0/+20
|
* sync copyright with /usr/share/examples/etc/bsd-style-copyrightwosch1996-08-271-9/+5
|
* Use the .Bx macro where appropriate.mpp1996-08-233-5/+8
|
* Use the .At macro where appropriate.mpp1996-08-231-1/+2
|
* Use the .Fx macro where appropriate.mpp1996-08-231-2/+3
|
* Add a ``-P altlogin'' option which allows the sysadmin to specify anpeter1996-08-133-4/+21
| | | | alternate login(1) type program to run.
* Reviewed by: variousjulian1996-08-092-3/+49
| | | | | | | Submitted by: archie@whistle.com allow ftpd to bind to a single address/interface this allows easy split services.
* Tidy up the Kerberised bits. While I'm here, fix some -Wall complaints.markm1996-08-093-6/+19
|
* Fix another bogon.phk1996-08-061-2/+2
|
* Make password checking in ftpd work again.phk1996-08-061-3/+3
|
* Convert STATS and PARANOID to run-time options.pst1996-08-055-78/+143
| | | | | | | | Document the new -R (relax paranoia) option. From NetBSD/Lite2: code and man page cleanups, Kerberos IV hooks (relax, we're still exportable), and /etc/ftpchroot feature for semi-anonymous accounts
* If PARANOID is set, do not allow PORT commands to remote ports less than 1024pst1996-08-044-51/+75
| | | | | | | | | | | | | | | | | or addresses other than the requestor's address. This violates the FTP protocol (hmm...as I write this, I'm going to change this to a run-time var.) Require login before PASV and RNTO commands. Close unused PASV ports so they don't hang around forever. Do not allow file overwrites via rename or STOR when anonymous (suspenders). Clean up buffer utilization. My code, but heavily inspired by Hobbit's changes to wu-ftpd as pointed out by Mike Prettejohn and Kit Knox.
* Use err() instead of perror()/exit() and remember to #include <errno.h>wpaul1996-08-041-4/+5
| | | | and <err.h>.
* consistent presentation of emphasisadam1996-07-231-1/+1
|
* Include <sys/types.h> before including <grp.h> so that this doesn'tbde1996-07-121-9/+13
| | | | | | depend on <stdio.h> bogusly including <sys/types.h> Reordered includes to satisfy KNF rules.
* add manpage getNAME(1)wosch1996-07-083-3/+73
|
* Fill in new arguments in the ypxfr_getmap structure (byte order,wpaul1996-07-041-2/+16
| | | | | db type, filename) and check for new failure codes (db mismatch, endian mismatch).
* Improve performance with very large user databases by increasingwpaul1996-06-272-9/+9
| | | | | | | | | hash table size from 256 to 1024. Generate output that looks more like the SunOS mknetid: uses a space instead of tabs for white space. Fix typo in comment in hash.h: Groupit -> Groupid.
* Turn on mknetid.wpaul1996-06-251-3/+3
|
* This commit was generated by cvs2svn to compensate for changes in r16728,wpaul1996-06-256-0/+838
| | | | which included commits to RCS files with non-trunk default branches.
* If hostname > UT_HOSTSIZE, use its numerical address instead to keepache1996-06-171-1/+16
| | | | valid utmp and wtmp entries
* Take ypxfrd_xdr.c out of SRCS line. It should be included in librpcsvc,wpaul1996-06-061-2/+2
| | | | | | | | | which ypxfr links with. (Sorry: left over development bogon.) Just a reminder: you must rebuild librpcsvc before you build this program. Pointed out by: Stephen Hocking
* Add support for rpc.ypxfrd and document it in the man page.wpaul1996-06-058-40/+230
| | | | | | | | Also generallize the yp_dbwrite functions a little: allow the caller to specify certain flags. I need this mostly for some changes to rpc.yppasswdd to allow in-place updates. Also change Makefile a little to use the same format as ypserv.
* Pass in both username and file to jkfprintfpst1996-06-041-6/+7
|
* backout yacc changesphk1996-06-021-2/+2
|
OpenPOWER on IntegriCloud