aboutsummaryrefslogtreecommitdiff
path: root/libexec
Commit message (Collapse)AuthorAgeFilesLines
* correct spelling of 'X Window System' (tm)Wolfram Schneider1996-10-061-2/+2
| | | | Notes: svn path=/head/; revision=18767
* delete doubled words, e.g.: "the the" -> "the"Wolfram Schneider1996-10-051-2/+2
| | | | Notes: svn path=/head/; revision=18718
* There's no need to 'unsetenv()' unsafe environment variables explicitlyNate Williams1996-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. Notes: svn path=/head/; revision=18625
* Sigh, oh well, here's my obligigatory "oops" commit. I don't quite knowPeter Wemm1996-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> Notes: svn path=/head/; revision=18618
* Update to handle new version ld.so.hints and info in executable forPeter Wemm1996-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 Notes: svn path=/head/; revision=18599
* Update the backends to go with the top-level ld changes. The non-i386Peter Wemm1996-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) Notes: svn path=/head/; revision=18596
* Support for .weak (in addition to the N_INDR stab) for gcc/g++. Also dealPeter Wemm1996-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) Notes: svn path=/head/; revision=18595
* add missing comma(s) in .Xr macrosWolfram Schneider1996-09-234-11/+11
| | | | Notes: svn path=/head/; revision=18480
* add forgotten $Id$Wolfram Schneider1996-09-2290-3/+157
| | | | Notes: svn path=/head/; revision=18471
* Reviewed by: Bill Fenner <fennder@parc.xerox.com>Warner Losh1996-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. Notes: svn path=/head/; revision=18458
* Fix some compilation warnings.Paul Traina1996-09-213-3/+3
| | | | Notes: svn path=/head/; revision=18449
* This should have gone away with the COMPAT_43 cruft. cgetent() is nowBruce Evans1996-09-201-339/+0
| | | | | | | used instead of the rudimentary routines here. Notes: svn path=/head/; revision=18419
* Make the inetd suggestion slightly less confusing.Poul-Henning Kamp1996-09-191-2/+2
| | | | Notes: svn path=/head/; revision=18379
* Don't use __dead or __pure in user code. They were obfuscationsBruce Evans1996-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. Notes: svn path=/head/; revision=18286
* Use `install -C' instead of lots of shell commands to install ld.soBruce Evans1996-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.) Notes: svn path=/head/; revision=18258
* bootpd.dump is in /tmpPaul Traina1996-09-111-3/+3
| | | | Notes: svn path=/head/; revision=18237
* wrong C bracketing, *blush*...Peter Wemm1996-09-071-1/+1
| | | | Notes: svn path=/head/; revision=18097
* zap #include <sgtty.h>, it's not used.Peter Wemm1996-09-071-1/+0
| | | | Notes: svn path=/head/; revision=18094
* Another sgtty use bites the dust..Peter Wemm1996-09-071-5/+4
| | | | Notes: svn path=/head/; revision=18093
* Fixed DPADD.Bruce Evans1996-09-053-6/+8
| | | | Notes: svn path=/head/; revision=18050
* Removed unused `-I.'s from CFLAGS.Bruce Evans1996-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}'. Notes: svn path=/head/; revision=18035
* Unlocalize dateAndrey A. Chernov1996-09-011-2/+2
| | | | Notes: svn path=/head/; revision=17982
* Add named-xferPeter Wemm1996-08-291-1/+2
| | | | Notes: svn path=/head/; revision=17918
* build bind-4.9.4-P1 named-xfer in it's own directoryPeter Wemm1996-08-291-0/+20
| | | | Notes: svn path=/head/; revision=17912
* sync copyright with /usr/share/examples/etc/bsd-style-copyrightWolfram Schneider1996-08-271-9/+5
| | | | Notes: svn path=/head/; revision=17849
* Use the .Bx macro where appropriate.Mike Pritchard1996-08-233-5/+8
| | | | Notes: svn path=/head/; revision=17797
* Use the .At macro where appropriate.Mike Pritchard1996-08-231-1/+2
| | | | Notes: svn path=/head/; revision=17787
* Use the .Fx macro where appropriate.Mike Pritchard1996-08-231-2/+3
| | | | Notes: svn path=/head/; revision=17786
* Add a ``-P altlogin'' option which allows the sysadmin to specify anPeter Wemm1996-08-133-4/+21
| | | | | | | alternate login(1) type program to run. Notes: svn path=/head/; revision=17568
* Reviewed by: variousJulian Elischer1996-08-092-3/+49
| | | | | | | | | | Submitted by: archie@whistle.com allow ftpd to bind to a single address/interface this allows easy split services. Notes: svn path=/head/; revision=17483
* Tidy up the Kerberised bits. While I'm here, fix some -Wall complaints.Mark Murray1996-08-093-6/+19
| | | | Notes: svn path=/head/; revision=17478
* Fix another bogon.Poul-Henning Kamp1996-08-061-2/+2
| | | | Notes: svn path=/head/; revision=17453
* Make password checking in ftpd work again.Poul-Henning Kamp1996-08-061-3/+3
| | | | Notes: svn path=/head/; revision=17451
* Convert STATS and PARANOID to run-time options.Paul Traina1996-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 Notes: svn path=/head/; revision=17435
* If PARANOID is set, do not allow PORT commands to remote ports less than 1024Paul Traina1996-08-044-50/+74
| | | | | | | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=17433
* Use err() instead of perror()/exit() and remember to #include <errno.h>Bill Paul1996-08-041-4/+5
| | | | | | | and <err.h>. Notes: svn path=/head/; revision=17424
* consistent presentation of emphasisAdam David1996-07-231-1/+1
| | | | Notes: svn path=/head/; revision=17257
* Include <sys/types.h> before including <grp.h> so that this doesn'tBruce Evans1996-07-121-9/+13
| | | | | | | | | depend on <stdio.h> bogusly including <sys/types.h> Reordered includes to satisfy KNF rules. Notes: svn path=/head/; revision=17115
* add manpage getNAME(1)Wolfram Schneider1996-07-083-3/+73
| | | | Notes: svn path=/head/; revision=17016
* Fill in new arguments in the ypxfr_getmap structure (byte order,Bill Paul1996-07-041-2/+16
| | | | | | | | db type, filename) and check for new failure codes (db mismatch, endian mismatch). Notes: svn path=/head/; revision=16958
* Improve performance with very large user databases by increasingBill Paul1996-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. Notes: svn path=/head/; revision=16793
* Turn on mknetid.Bill Paul1996-06-251-3/+3
| | | | Notes: svn path=/head/; revision=16734
* (This import had better work correctly or so help me I'll move toBill Paul1996-06-256-0/+838
| | | | | | | | | | | | | | | | | | | | the Himalayas and become a hermit.) Import new mknetid program. This replaces the crufty, soon to be defunct mknetid script packaged with ypserv. This program parses the group, passwd, hosts and netid databases into the netid.byname map. Duplicate checking is performed using hash tables. Testing on my 486DX2/66 with FreeBSD 2.1.0 showed that this program can process a 30,000-entry passwd database into a netid map (along with assorted group and hosts information) in about 22 seconds. On my SPARC IPX with SunOS 4.1.3, it takes about 15 seconds. This compares favorably with the SunOS mknetid program, which parses the same database(s) in 13 seconds. (With smaller databases, my program is actually slightly faster. Go figure.) Notes: svn path=/cvs2svn/branches/WPAUL/dist/; revision=16728
* If hostname > UT_HOSTSIZE, use its numerical address instead to keepAndrey A. Chernov1996-06-171-1/+16
| | | | | | | valid utmp and wtmp entries Notes: svn path=/head/; revision=16433
* Take ypxfrd_xdr.c out of SRCS line. It should be included in librpcsvc,Bill Paul1996-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 Notes: svn path=/head/; revision=16154
* Add support for rpc.ypxfrd and document it in the man page.Bill Paul1996-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. Notes: svn path=/head/; revision=16132
* Pass in both username and file to jkfprintfPaul Traina1996-06-041-6/+7
| | | | Notes: svn path=/head/; revision=16105
* backout yacc changesPoul-Henning Kamp1996-06-021-2/+2
| | | | Notes: svn path=/head/; revision=16072
* Use the sysctl settable data port ranges rather than the staticallyPeter Wemm1996-05-312-30/+17
| | | | | | | | compiled values. see sysctl net.inet.ip.portrange.* and the IP_PORTRANGE discussion in <netinet/in.h> Notes: svn path=/head/; revision=16033
* Fix yacc rule usage.Poul-Henning Kamp1996-05-301-2/+2
| | | | Notes: svn path=/head/; revision=16015