Commit Graph

9131 Commits

Author SHA1 Message Date
Warner Losh
10aea17ec2 Include sys/param.h for both modfind and kldload
Include sys/linker.h for kldload
Include sys/module.h for modfind
sort sys includes
2003-06-09 06:26:50 +00:00
Warner Losh
dbf4064dcf Include stdlib.h for atoi declaration.
Add $FreeBSD$ while I'm here.
2003-06-09 06:23:10 +00:00
Warner Losh
1d08b7ad50 Include stdlib.h for atoi declaration
Add $FreeBSD$ while I'm here.
2003-06-09 06:22:01 +00:00
Warner Losh
f4fe0dcb87 include string.h for memcmp declearation 2003-06-09 06:19:15 +00:00
Warner Losh
b5fce26182 Include string.h for strlen declaration 2003-06-09 06:17:07 +00:00
Warner Losh
f2303cfb6e Include stdlib.h for exit declaration 2003-06-09 06:16:18 +00:00
Warner Losh
f8ba13e996 Include string.h for strcmp declaration 2003-06-09 06:16:00 +00:00
Philippe Charnier
aae2e03571 Add section number to .Xr 2003-06-08 14:33:04 +00:00
Philippe Charnier
860f0df364 The .Xr utility. Spelling. Put NIS under .Tn 2003-06-08 14:28:38 +00:00
Philippe Charnier
49f90486ce The .Xr utility 2003-06-08 14:06:45 +00:00
Philippe Charnier
f84e4bb732 Add section number to .Xr 2003-06-08 14:04:49 +00:00
Juli Mallett
dc5698b6dd Use implicit SRCS list, remove WARNS=0, the code is WARNS=4 clean now,
which is more than enough.
2003-06-08 08:38:11 +00:00
Juli Mallett
3dd9cabe01 WARNS cleanup. Constness and shadowing, namely. 2003-06-08 08:37:11 +00:00
Juli Mallett
28d8e02b2e Fix format string. 2003-06-08 08:33:48 +00:00
Greg Lehey
5b0c29d6dc Add licence.
Complained about by:	juli

Correct usage() text.
2003-06-08 07:29:57 +00:00
Greg Lehey
e1095ead46 Oops, this is section 8, not 1. 2003-06-08 06:59:33 +00:00
Greg Lehey
49f1f0ff0f Add man page. 2003-06-08 06:57:57 +00:00
Warner Losh
8aacd912f6 Include stdlib.h for exit() 2003-06-08 06:25:47 +00:00
Greg Lehey
a945d970d7 Introducing asf, a helper program for kernel debugging. 2003-06-08 06:18:13 +00:00
Warner Losh
05674b755f Use stdlib.h for getopt interface. 2003-06-07 19:13:57 +00:00
Warner Losh
09f4f53b9c remove unnecessary '?' from getopt string 2003-06-07 18:46:30 +00:00
Warner Losh
5cd1bcb2a9 MAXPATHLEN includes trailing NUL 2003-06-07 18:45:45 +00:00
Warner Losh
df001cb7b8 Use safer strlcpy and snprintf interfaces 2003-06-07 18:44:04 +00:00
Warner Losh
cabaa3ba21 Get getopt interface from unistd.h 2003-06-07 18:43:09 +00:00
Warner Losh
723a65e8f7 Get getopt interface from unistd.h 2003-06-07 18:35:45 +00:00
Warner Losh
498c24eea5 Don't need to redundantly redeclare optreset. 2003-06-07 18:33:18 +00:00
Mike Makonnen
4fb3a3060c Allow the optional setting of a user, primary group, or grouplist
when chrooting.

Obtained from:	NetBSD
MFC after:	4 weeks
2003-06-07 10:56:12 +00:00
Guido van Rooij
aff35e3a2b Move my maintainership of parts of ipfilter back to Darren Reed 2003-06-06 11:30:50 +00:00
Peter Pentchev
f02cd7c7d0 Warn if there is no newline at the end of the group file.
PR:		51256
Submitted by:	Brian D Gallaway <bdg730@makserver0.usask.ca>
Reviewed by:	tjr, -audit
Approved by:	tjr
2003-06-06 07:10:39 +00:00
Poul-Henning Kamp
1afc333e74 Report NODEV devices as <NFSfile> 2003-06-05 21:56:47 +00:00
Ollivier Robert
b6bf7843a3 Follow the trend of moving MAINTAINER lines from Makefile into
src/MAINTAINERS.
2003-06-05 05:03:01 +00:00
Robert Watson
52271f82d6 Update lsextattr(8) to use the new extattr_list_*() APIs, rather than
using the somewhat more hackish variant on extattr_get_*() to retrieve
the attribute list on an object.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2003-06-05 04:30:00 +00:00
Peter Wemm
88e9362de9 GRRR. Do not force Dangerously Dedicated mode on amd64 when you select
'use entire disk'.  Neither for ia64 while I'm here - it needs a MBR if
its going to use fdisk+disklabel.  The ia64 case is mostly academic though
because you'd be creating two partitions (dos + freebsd) rather than
a single freebsd-only partition.
2003-06-04 19:28:39 +00:00
Ceri Davies
df9af9283f Correct a spelling error. 2003-06-04 19:24:24 +00:00
Mark Murray
390e8cc297 Drop MAINTAINER bits from here. 2003-06-04 15:58:03 +00:00
Doug Barton
a15410dee1 Remove MAINTAINER line in favor of the entry in src/MAINTAINERS 2003-06-04 09:38:04 +00:00
Peter Wemm
a6f4ec0614 Turn on btxld for amd64. 2003-06-03 01:38:16 +00:00
Peter Wemm
8e81109e14 Add AMD64 support. 2003-06-03 01:37:32 +00:00
Peter Wemm
3aefe09423 Port libc_r to amd64, and turn it back on for amd64. It passes all of
the same src/lib/libc_r/test/* tests that the other platforms pass.
2003-06-02 22:22:52 +00:00
Thomas Moestl
a0aa476ed8 Add a missing return statement to distExtractTarball().
Reviewed by:	jhb
2003-06-02 17:59:29 +00:00
Ruslan Ermilov
f937c268cf Assorted mdoc(7) fixes. 2003-06-02 11:19:24 +00:00
Mike Makonnen
fe6983de4b Explicitly compare the values returned by chdir(2) and chroot(2) to -1. 2003-06-02 05:52:24 +00:00
David E. O'Brien
0ff4c492b4 CSTD=c89 due to mismatched declarations. 2003-06-02 02:18:37 +00:00
Ruslan Ermilov
5234638ef6 Mostly fixed the SYNOPSIS. 2003-05-31 18:42:18 +00:00
Ruslan Ermilov
c16ad8ccc8 excute: typo; possible replacements: excite, excuse. 2003-05-31 18:24:40 +00:00
Ruslan Ermilov
e6f5d39465 Sigh, I guess this manpage used cat(1) as a template?
Otherwise, fix the manpage to not use the second person,
and add two missing punctuation bits.
2003-05-31 18:19:50 +00:00
Ruslan Ermilov
a388918d35 Assorted mdoc(7) fixes. 2003-05-31 18:07:09 +00:00
Scott Long
acb9e0f3f6 Teach sysinstall to recognize if acpi was turned off from the bootloader,
and then ask the user if this should be made permanent.

Approved by:	re
2003-05-31 11:28:28 +00:00
Mario Sergio Fujikawa Ferreira
fc12c41ca3 pkg_create incorrectly does not add trailing '\n' when it receives
either COMMENT or DESCR from the command line. When a port is
installed, one gets both +COMMENT and +DESCR files with a trailing
'\n' character. However, +COMMENT does not contain a trailing '\n'
when it is installed from a package due to this behavior of pkg_create.

 Therefore, make sure it behaves exactly the same regardless of
where got its information; either command line or files. The modified
functions are used by pkg_create.

PR:		52097
Reviewed by:	bento, kris,
		portmgr, re,
		Michael Nottebrock <michaelnottebrock@gmx.net>,
		Martin Horcicka <horcicka@FreeBSD.cz>
Approved by:	re (scottl)
MFC after:	1 week
2003-05-26 17:12:22 +00:00
Mario Sergio Fujikawa Ferreira
c32acd2e5c Add a trailing '\n' character if none is found in the information
obtained from a package. Patch show_file() [1] and show_index() [2]
functions.

PR:		52097
Reviewed by:	bento, kris,
		portmgr, re,
		Michael Nottebrock <michaelnottebrock@gmx.net>,
		Martin Horcicka <horcicka@FreeBSD.cz>
Approved by:	re (scottl)
Obtained from:	NetBSD [1],
		OpenBSD [2]
MFC after:	1 week
2003-05-26 17:06:05 +00:00