Commit Graph

489 Commits

Author SHA1 Message Date
obrien
5999c586e0 MFS. 1998-02-18 10:53:16 +00:00
jdp
a1b356b0ca Implement dladdr. 1998-02-06 16:46:46 +00:00
charnier
a3a257c23c Convert to mdoc. Header -> Id. Typo. 1998-02-03 07:30:22 +00:00
phk
b5cf5f2e84 Remove lfs_cleanerd 1998-01-30 12:36:10 +00:00
phk
ee8d261a8f Disable lfs_cleanerd 1998-01-30 12:35:10 +00:00
bde
e9aff89bee Merged just enough files from Lite2 in lfs_cleanerd to convert from
MOUNT_LFS to "lfs" in one place.  The merge was painful because it
conflicted with cosmetic FreeBSD changes.  lfs_cleanerd still compiles
cleanly but has aproximately the same chance of working as before (0).
1998-01-20 14:41:53 +00:00
wpaul
7026fff7f5 Make these programs compile and work correctly now that /usr/include/rpcsvc
has been ANSI-fied.

Pointed out by: bde
1998-01-19 23:13:38 +00:00
bde
75271c7114 Removed most unused includes of <net/if_var.h> outside the kernel. 1998-01-16 17:38:56 +00:00
charnier
f51e7fa399 Add missing dot. 1998-01-07 07:56:15 +00:00
charnier
9eb833992e Remove unused #includes and make it compile again with -DDEBUG. Use syslog()
instead of errx() when being a daemon.
1998-01-07 07:54:18 +00:00
charnier
4b24ff256f Remove unused #include. Display if inetd started us in case of failure. 1998-01-07 07:51:00 +00:00
charnier
be2f5ef8c2 Typos. 1998-01-07 07:44:01 +00:00
max
c53a8357d4 Typo fix: bootgw -> bootpgw 1997-12-29 13:59:28 +00:00
imp
c7312ce4b2 style(9) nits
Submitted by:	bde
1997-12-26 23:36:43 +00:00
imp
a10f3f596e sprintf->snprintf paranoia
Obtained from: OpenBSD (?)
1997-12-24 19:39:57 +00:00
imp
2cab4ca6ce Be extra paranoid about the length of data returned from gethostbyaddr or
gethostbyname.
Submitted by:	Julian Assange
1997-12-24 19:38:18 +00:00
imp
04325fa0d2 sprintf->snprintf paranoia. The one thing that looks like a hole in
the diff is in an ifdef that isn't enabled for FreeBSD.
Obtained from:	OpenBSD(?)
1997-12-24 19:21:09 +00:00
imp
b14c1dcaab Various sprintf -> snprintf fixes.
Minor style fix (strcpy(foo,"") -> *foo = '\0')
Obtained from:	OpenBSD(?)
1997-12-24 19:13:23 +00:00
imp
986d085dae Use snprintf rather than printf out of paranoia
Obtained from:	OpenBSD
1997-12-24 18:56:03 +00:00
charnier
fe0f17e13b Typo. 1997-12-18 07:39:27 +00:00
charnier
d955d50cf0 Cosmetic in usage string. 1997-12-15 07:19:41 +00:00
charnier
0a2811815e Use full path in synopsis. Sort #includes. Use .Tn for NIS. 1997-12-08 07:49:56 +00:00
charnier
15ac08a2b7 Sync with diffs I found in kerberised versions: -Wall, no `;' in macros. 1997-12-08 07:46:53 +00:00
jdp
310123882b Make emacs work again. This is a workaround for the fact that the
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.
1997-12-05 02:06:37 +00:00
charnier
80226f89b8 Use err(3). Add prototypes. Document that startup scripts are rc.i386 and
rc.conf (enable/disable) not rc.local.
Use full pathname in SYNOPSIS section.
1997-12-04 07:25:19 +00:00
charnier
e07b667488 Sort #includes. Add rcsid. Use full pathname in SYNOPSIS section. 1997-12-04 07:20:45 +00:00
steve
7d0ed7b367 FTP_INTERNAL_LS -> FTPD_INTERNAL_LS
Pointed out by:	Jaye Mathisen <mrcpu@cdsnet.net>
1997-12-04 03:58:02 +00:00
charnier
3f0e1c985b Use full path in synopsis. Syslog will add trailing \n. 1997-12-03 07:19:58 +00:00
charnier
b4c65bae04 Use err(3). Remove progname and trailing \n in syslog strings. 1997-12-03 07:16:08 +00:00
charnier
01b40a7c30 Use err(3). Add protos for -Wall. 1997-12-02 12:33:42 +00:00
charnier
156349cd73 No \n in syslog() strings. Add man page to Xrefs. Change null byte to NUL byte. 1997-12-02 12:30:04 +00:00
charnier
9540025bcc Do not terminate syslog() messages with a dot, as others daemons do. 1997-12-02 12:25:39 +00:00
charnier
854ad15b67 Document -n flag. Use err(3). Add usage.
Add syslog capability.
1997-12-02 12:20:17 +00:00
jdp
472128bc3f Get rid of the dynamic linker's internal malloc package, and arrange
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.
1997-11-29 03:32:48 +00:00
charnier
334bd4b269 Use err(3). -Wall cleaning. cosmetics in man page. 1997-11-26 07:36:51 +00:00
charnier
b5211f460a Remove \n at end of syslog string. -Wall cleaning. Cosmetics in man page. 1997-11-26 07:34:56 +00:00
charnier
c65ec2723c Cosmetics in man page. Add rcsid and sort #includes. 1997-11-26 07:31:14 +00:00
charnier
fb5bb4fb5d Use err(3). -Wall cleaning. Use Pa for file names and add section in Xrefs. 1997-11-26 07:29:04 +00:00
charnier
567c2006a1 Sort #includes. Add rcsid. Add man page section in .Xrefs. 1997-11-25 07:17:15 +00:00
charnier
beac3ba1b0 Use warn(3). Hardcode progname instead of using argv[0]. Use Pa for file
name.
1997-11-25 07:14:34 +00:00
charnier
70fe45ba10 Add usage(), rcsids. 1997-11-24 07:33:42 +00:00
charnier
d66c24a711 Cosmetics in usage() and man page. 1997-11-24 07:31:31 +00:00
charnier
245a0aac04 Key is 8 bytes according to code, not 10 as stated in man page. Add rcsid. 1997-11-24 07:29:12 +00:00
charnier
49b51a1108 Use err(3) instead of local redefinition. Add usage. -Wall cleaning. 1997-11-24 07:27:06 +00:00
charnier
9dfaff9e03 Correct incompletes .Xrs. Remove duplicate #includes and unused variables. 1997-11-21 07:43:53 +00:00
charnier
f72328390a Use err(3). -Wall cleaning. 1997-11-21 07:40:48 +00:00
charnier
f510cb9462 Cosmetics in man page. Exit(-1) -> exit(1). 1997-11-21 07:38:43 +00:00
charnier
5f5d712e2f Add const to copyright string. Put sccsid under #if 0/#endif control. 1997-11-20 07:26:04 +00:00
charnier
53b5ed0174 Use err(3). exit(-1) -> exit(1). 1997-11-20 07:23:44 +00:00
charnier
cde2fbd6b0 Cosmetic in error strings. Sort Xrefs. Add usage (with syslog capability). 1997-11-20 07:21:55 +00:00