aboutsummaryrefslogtreecommitdiff
path: root/libexec
Commit message (Collapse)AuthorAgeFilesLines
* Add missing dot.Philippe Charnier1998-01-071-2/+2
| | | | Notes: svn path=/head/; revision=32314
* Remove unused #includes and make it compile again with -DDEBUG. Use syslog()Philippe Charnier1998-01-072-12/+10
| | | | | | | instead of errx() when being a daemon. Notes: svn path=/head/; revision=32312
* Remove unused #include. Display if inetd started us in case of failure.Philippe Charnier1998-01-072-10/+5
| | | | Notes: svn path=/head/; revision=32311
* Typos.Philippe Charnier1998-01-071-3/+3
| | | | Notes: svn path=/head/; revision=32309
* Typo fix: bootgw -> bootpgwMasafumi Max NAKANE1997-12-291-2/+2
| | | | Notes: svn path=/head/; revision=32084
* style(9) nitsWarner Losh1997-12-261-2/+3
| | | | | | | Submitted by: bde Notes: svn path=/head/; revision=32009
* sprintf->snprintf paranoiaWarner Losh1997-12-241-4/+4
| | | | | | | Obtained from: OpenBSD (?) Notes: svn path=/head/; revision=31978
* Be extra paranoid about the length of data returned from gethostbyaddr orWarner Losh1997-12-241-2/+2
| | | | | | | | gethostbyname. Submitted by: Julian Assange Notes: svn path=/head/; revision=31977
* sprintf->snprintf paranoia. The one thing that looks like a hole inWarner Losh1997-12-241-7/+8
| | | | | | | | the diff is in an ifdef that isn't enabled for FreeBSD. Obtained from: OpenBSD(?) Notes: svn path=/head/; revision=31975
* Various sprintf -> snprintf fixes.Warner Losh1997-12-242-9/+12
| | | | | | | | Minor style fix (strcpy(foo,"") -> *foo = '\0') Obtained from: OpenBSD(?) Notes: svn path=/head/; revision=31973
* Use snprintf rather than printf out of paranoiaWarner Losh1997-12-245-9/+10
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=31971
* Typo.Philippe Charnier1997-12-181-2/+2
| | | | Notes: svn path=/head/; revision=31837
* Cosmetic in usage string.Philippe Charnier1997-12-151-2/+2
| | | | Notes: svn path=/head/; revision=31737
* Use full path in synopsis. Sort #includes. Use .Tn for NIS.Philippe Charnier1997-12-086-104/+163
| | | | Notes: svn path=/head/; revision=31626
* Sync with diffs I found in kerberised versions: -Wall, no `;' in macros.Philippe Charnier1997-12-083-27/+25
| | | | Notes: svn path=/head/; revision=31625
* Make emacs work again. This is a workaround for the fact that theJohn Polstra1997-12-051-18/+33
| | | | | | | | | | | | | | | | | | | | | | | emacs a.out file, self-generated by emacs's "unexec" function in "unexsunos4.c", is invalid. In particular, its "_end" symbol has the wrong value. The dynamic linker was using the value of that symbol to initialize its sbrk break level. The workaround is to peek at the executable's a.out header in memory, and calculate what "_end" should be based on the segment sizes. I will work out a fix for emacs and send it to the FSF. This dynamic linker workaround is still worthwhile, if only to avoid forcing all emacs users to build a new version. Note: xemacs gives a bogus warning at startup, for related reasons. The warning is harmless and can safely be ignored. I will send a patch to the xemacs maintainers to get rid of it, and meanwhile add a patch file to our port. Notes: svn path=/head/; revision=31546
* Use err(3). Add prototypes. Document that startup scripts are rc.i386 andPhilippe Charnier1997-12-045-61/+92
| | | | | | | | rc.conf (enable/disable) not rc.local. Use full pathname in SYNOPSIS section. Notes: svn path=/head/; revision=31525
* Sort #includes. Add rcsid. Use full pathname in SYNOPSIS section.Philippe Charnier1997-12-042-12/+14
| | | | Notes: svn path=/head/; revision=31524
* FTP_INTERNAL_LS -> FTPD_INTERNAL_LSSteve Price1997-12-041-2/+2
| | | | | | | Pointed out by: Jaye Mathisen <mrcpu@cdsnet.net> Notes: svn path=/head/; revision=31523
* Use full path in synopsis. Syslog will add trailing \n.Philippe Charnier1997-12-032-27/+39
| | | | Notes: svn path=/head/; revision=31512
* Use err(3). Remove progname and trailing \n in syslog strings.Philippe Charnier1997-12-038-149/+155
| | | | Notes: svn path=/head/; revision=31511
* Use err(3). Add protos for -Wall.Philippe Charnier1997-12-026-34/+73
| | | | Notes: svn path=/head/; revision=31491
* No \n in syslog() strings. Add man page to Xrefs. Change null byte to NUL byte.Philippe Charnier1997-12-022-23/+37
| | | | Notes: svn path=/head/; revision=31490
* Do not terminate syslog() messages with a dot, as others daemons do.Philippe Charnier1997-12-022-15/+16
| | | | Notes: svn path=/head/; revision=31489
* Document -n flag. Use err(3). Add usage.Philippe Charnier1997-12-022-36/+53
| | | | | | | Add syslog capability. Notes: svn path=/head/; revision=31488
* Get rid of the dynamic linker's internal malloc package, and arrangeJohn Polstra1997-11-292-266/+473
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | things so that it uses the same malloc as is used by the program being executed. This has several advantages, the big one being that you can now debug core dumps from dynamically linked programs and get useful information out of them. Until now, that didn't work. The internal malloc package placed the tables describing the loaded shared libraries in a mapped region of high memory that was not written to core files. Thus the debugger had no way of determining what was loaded where in memory. Now that the dynamic linker uses the application's malloc package (normally, but not necessarily, the system malloc), its tables end up in the regular heap area where they will be included in core dumps. The debugger now works very well indeed, thank you very much. Also ... Bring the program a little closer to conformance with style(9). There is still a long way to go. Add minimal const correctness changes to get rid of compiler warnings caused by the recent const changes in <dlfcn.h> and <link.h>. Improve performance by eliminating redundant calculations of symbols' hash values. Notes: svn path=/head/; revision=31445
* Use err(3). -Wall cleaning. cosmetics in man page.Philippe Charnier1997-11-263-23/+30
| | | | Notes: svn path=/head/; revision=31422
* Remove \n at end of syslog string. -Wall cleaning. Cosmetics in man page.Philippe Charnier1997-11-263-28/+39
| | | | Notes: svn path=/head/; revision=31421
* Cosmetics in man page. Add rcsid and sort #includes.Philippe Charnier1997-11-262-15/+22
| | | | Notes: svn path=/head/; revision=31420
* Use err(3). -Wall cleaning. Use Pa for file names and add section in Xrefs.Philippe Charnier1997-11-262-23/+29
| | | | Notes: svn path=/head/; revision=31419
* Sort #includes. Add rcsid. Add man page section in .Xrefs.Philippe Charnier1997-11-252-13/+15
| | | | Notes: svn path=/head/; revision=31405
* Use warn(3). Hardcode progname instead of using argv[0]. Use Pa for filePhilippe Charnier1997-11-254-59/+66
| | | | | | | name. Notes: svn path=/head/; revision=31404
* Add usage(), rcsids.Philippe Charnier1997-11-247-16/+43
| | | | Notes: svn path=/head/; revision=31386
* Cosmetics in usage() and man page.Philippe Charnier1997-11-244-59/+60
| | | | Notes: svn path=/head/; revision=31385
* Key is 8 bytes according to code, not 10 as stated in man page. Add rcsid.Philippe Charnier1997-11-242-5/+7
| | | | Notes: svn path=/head/; revision=31383
* Use err(3) instead of local redefinition. Add usage. -Wall cleaning.Philippe Charnier1997-11-245-93/+79
| | | | Notes: svn path=/head/; revision=31382
* Correct incompletes .Xrs. Remove duplicate #includes and unused variables.Philippe Charnier1997-11-217-52/+58
| | | | Notes: svn path=/head/; revision=31331
* Use err(3). -Wall cleaning.Philippe Charnier1997-11-212-15/+17
| | | | Notes: svn path=/head/; revision=31330
* Cosmetics in man page. Exit(-1) -> exit(1).Philippe Charnier1997-11-216-30/+36
| | | | Notes: svn path=/head/; revision=31329
* Add const to copyright string. Put sccsid under #if 0/#endif control.Philippe Charnier1997-11-202-7/+7
| | | | Notes: svn path=/head/; revision=31308
* Use err(3). exit(-1) -> exit(1).Philippe Charnier1997-11-201-11/+11
| | | | Notes: svn path=/head/; revision=31307
* Cosmetic in error strings. Sort Xrefs. Add usage (with syslog capability).Philippe Charnier1997-11-203-55/+67
| | | | Notes: svn path=/head/; revision=31306
* Log the request from the remote side, in addition to it having happened.Sean Eric Fagan1997-11-141-13/+27
| | | | | | | Reviewed by: julian Notes: svn path=/head/; revision=31168
* Switch the effective uid to that of the user when writing mail files,Alexander Langer1997-11-131-3/+27
| | | | | | | | | | allowing quotas to be enforced on mail spools. PR: 1111 Submitted by: Charles Henrich <henrich@crh.cl.msu.edu> Notes: svn path=/head/; revision=31164
* Store temporary files in /var/tmp instead /tmp. This should avoidWolfram Schneider1997-10-112-4/+4
| | | | | | | | a possible disk overflow for enormous large mails. Submitted by: grog Notes: svn path=/head/; revision=30313
* PR: bin/771 and bin/1037 are resolved by this changeFrank Durda IV1997-10-081-1/+17
| | | | | | | | | | | | | | | | | | | This change changes the default handling of linemode so that older and/or stupider telnet clients can still get wakeup characters like <ESC> and <CTRL>D to work correctly multiple times on the same line, as in csh "set filec" operations. It also causes CR and LF characters to be read by apps in certain terminal modes consistently, as opposed to returning CR sometimes and LF sometimes, which broke existing apps. The change was shown to fix the problem demonstrated in the FreeBSD telnet client, along with the telnet client in Solaris, SCO, Windows '95 & NT, DEC OSF, NCSA, and others. A similar change will be incorporated in the crypto version of telnetd. This resolves bin/771 and bin/1037. Notes: svn path=/head/; revision=30211
* Clarify the actions of -s and the list of allowable names.Warner Losh1997-10-061-1/+5
| | | | Notes: svn path=/head/; revision=30175
* Changes to support full make parallelism (-j<n>) in the worldJordan K. Hubbard1997-10-051-3/+4
| | | | | | | | | target. Reviewed by: <many different folks> Submitted by: Nickolay N. Dudorov" <nnd@nnd.itfs.nsk.su> Notes: svn path=/head/; revision=30113
* Putting records with zero-length keys into a Berkeley DB hash databaseBill Paul1997-09-301-6/+22
| | | | | | | | | | | | | | | | | | | | is asking for trouble (sequential database enumerations can get caught in an infinite loop). The yp_mkdb(8) utility avoids putting such records into a database, but ypxfr does not. Today I got bit by a NULL entry in one of the amd maps on my network, which is served by a SunOS master. The map was transfered successfully to my FreeBSD slave, but attempting to dump it with ypcat(1) caused ypserv(8) to transmit the same record over and over again, making the map appear to be infinitely large. I finally noticed the problem while testing a new version of amd under development at the Columbia CS department, which began gobbling up insane amounts of memory while trying to swallow the map. To deal with this problem, I'm modifying ypxfr to watch for records with zero-length keys and turn them into something less destructive before writing them to the database. Notes: svn path=/head/; revision=30008
* Changes for KTH KerberosIV.Mark Murray1997-09-281-7/+2
| | | | Notes: svn path=/head/; revision=29924