Commit Graph

4698 Commits

Author SHA1 Message Date
delphij
2163cbcb0f Constify savedir pointer, and remove an accompaning strdup() call. 2005-05-29 16:28:07 +00:00
charnier
278cc09264 Give variable an initial value. Use errx() instead of fprintf(). 2005-05-29 16:07:10 +00:00
charnier
a40be9078d rscid -> __FBSDID. Mark parameter as __unused when necessary. 2005-05-29 15:57:00 +00:00
ru
c3abc18f4d Fix order (I introduced some time ago) broken in previous revision. 2005-05-25 07:31:05 +00:00
mux
f539b2792a Only build mount_reiserfs(8) on i386, it exists only there for now.
Spotted by:	ru
2005-05-24 23:06:10 +00:00
dumbbell
103db97f6e Connect mount_reiserfs(8) to the build.
Approved by:	mux (mentor)
2005-05-24 12:37:18 +00:00
dumbbell
6b2d30ffe5 Import of mount_reiserfs(8), used to mount a ReiserFS filesystem.
Approved by:	mux (mentor)
2005-05-24 12:34:45 +00:00
ume
428418e43b - do DNS lookup for symbolic names specified for a destination
or gateway.
- improves error reporting using gai_strerror(3) instead of
  printing "bad value".
- remove "0" for servname argument for getaddrinfo(3).

Submitted by:	Andreas Kohn <andreas __at__ syndrom23.de>
MFC after:	1 week
2005-05-23 14:12:32 +00:00
ru
5a7d45e3b5 Synchronize program's usage() with manpage's SYNOPSIS. 2005-05-21 07:08:32 +00:00
mlaier
ce2b072e9f Unbreak handling of "ip[v]6" protocol and option flag. No more segfaults
and not every protocol is IPv6.
2005-05-21 03:27:33 +00:00
sos
ac2cc57f35 Print the rigth argv string on error (too much c&p).. 2005-05-20 06:23:40 +00:00
sam
01b6c1ef44 guard against bogus address data
Submitted by:	Bakul Shah
2005-05-20 03:58:53 +00:00
ru
0a6d657eb7 Fix the contents of the underneath .depend files and "make checkdpadd". 2005-05-17 14:29:06 +00:00
imp
1cec98375c Ignore sigpipe so we can properly detach clients to the pipe.
Submitted by: Fredrik Lindberg
2005-05-16 20:51:46 +00:00
darrenr
7b001e5d5e Enable building /sbin/ipf (but not the rescue version) with the ability to
parse bpf strings for filter rules in ipf.conf
2005-05-16 16:22:55 +00:00
ru
e7b25f55b8 Fixed markup from the previous revision. 2005-05-16 15:09:13 +00:00
sos
74f9e41533 Reflect the new usage. 2005-05-16 13:32:23 +00:00
sos
05399c3127 Change the way ioctls are issue to ATA.
The most prominent part is that its now possible to issue ata_requests
directly to say acd0, instead of going through the cumbersome /dev/ata
device.
2005-05-16 13:07:27 +00:00
ume
e33ba03345 NI_WITHSCOPEID cleanup. Neither RFC 2553 nor RFC 3493 defines
NI_WITHSCOPEID, and our getaddrinfo(3) does nothing special
for it, now.
2005-05-13 16:31:11 +00:00
glebius
4be4400945 'ngtee' also depends on net.inet.ip.fw.one_pass. 2005-05-11 12:58:15 +00:00
jmallett
a30e94db03 shutdown(2)'s how argument as 0 is nowhere near as cool as SHUT_RD 2005-05-11 02:50:41 +00:00
glebius
32e61f472f IPFW version 2 is the only option now in HEAD. Do not confuse
users of future releases with instructions about building IPFW2
on RELENG_4.
2005-05-04 13:14:57 +00:00
fjoe
5542bd31ad Add -m option (find module using modfind() and stat it). 2005-05-04 12:46:43 +00:00
mlaier
8f88cd5e08 Update ifconfig's pfsync module for 3.7 pfsync(4) 2005-05-03 16:59:14 +00:00
mlaier
b75ba09627 Adapt Makefiles for pfctl(8) and authpf(8) to 3.7 sources. 2005-05-03 16:57:38 +00:00
delphij
638d4d00fc Cleanups for gcc4:
- Use socklen_t for socket functions
 - Remove an unnecessary extern
 - Signed/unsigned cleanups

Reviewed by:	harti
2005-05-02 10:31:27 +00:00
delphij
4497410a32 WARNS=6 and gcc4 cleanup:
- Use const where necessary
	- Use __unused where applicable
	- Rename variables that is conflicit with global definations
2005-05-02 10:13:38 +00:00
delphij
6b13894421 include stdarg.h for va_list 2005-05-02 10:04:16 +00:00
delphij
347f9b1d5a Make gcc4 happy by making consistent signedness. 2005-05-02 10:00:39 +00:00
nyan
fa923d7b23 - Merged some missing changes from fdisk/fdisk.c.
- Remove ifdef PC98.
- Make WARN=4 clean.
2005-05-01 10:08:35 +00:00
nyan
5009ff132c cosmetic changes. 2005-05-01 09:50:02 +00:00
nyan
09a70338b7 Merged more changes from fdisk/fdisk.c. 2005-05-01 05:04:05 +00:00
nyan
fa2fcbedc1 Use NDOSPART macro instead of a magic number. 2005-05-01 05:01:55 +00:00
nyan
27eb420eea Merged from src/sbin/fdisk/fdisk.c revision 1.77. 2005-05-01 04:14:01 +00:00
phk
691e072f68 If we resort to opening a slice instead of the base device, do so with
the correct mode for our arguments.
2005-04-29 21:24:27 +00:00
pjd
85babab07f Remove trailing spaces. 2005-04-29 07:57:50 +00:00
darrenr
f739412edd Patches from Ruslam Ermilov to remove NetBSD bits from Makefiles and cleanup
build problems with rescue.
2005-04-28 16:26:35 +00:00
brooks
3f77e18f9b Fix a the previous commit. I wanted to remove the if and always run the
body not remove both.

Reported by:	ceri
Pointy hat:	brooks
2005-04-26 20:22:31 +00:00
brooks
347035a2c9 Don't force IPv6 proto to be printed numericaly.
Noticed by:	ceri
2005-04-26 20:00:07 +00:00
darrenr
56966568e9 Not looking for ipfilter source files in the right place 2005-04-26 15:35:50 +00:00
pjd
5745532ed1 Fix stripe size in example.
Found by:	kris
MFC after:	3 days
2005-04-26 09:23:21 +00:00
darrenr
8d4b1e38ea remove old directories used to build ipfilter tools 2005-04-25 18:59:29 +00:00
darrenr
1cd27551f9 There's only one ipfilter directory now 2005-04-25 18:56:42 +00:00
darrenr
0010fa7c21 create a new build heirarchy for ipfilter tools 2005-04-25 18:55:52 +00:00
des
e669069b43 - distinguish between the device name (what the user called it on the
command line) and the device path (what we passed to open()).  Use
  the former in diagnostics.
- when adding or removing partitions, print a single line to stdout for
  each partition that was added or removed, indicating its name.
- add an -a option to 'gpt remove' which must be explicitly specified
  to remove all partitions.

Approved by:	marcel (in prinicple)
MFC after:	2 weeks
2005-04-24 20:08:29 +00:00
pjd
c7eadd3426 Remove duplicated description of 'clear' subcommand.
Pointed out by:	marck
X-MFC-after:	few seconds
2005-04-23 12:17:21 +00:00
jcamou
7deff5f03c Use .Pa instead of .Xr to follow mdoc(7)
specifications.

Noticed by:	trhodes
Approved by:	trhodes (mentor)
MFC after:	1 day
2005-04-20 01:56:33 +00:00
brooks
f3ecaa630b Add IPv6 support to IPFW and Dummynet.
Submitted by:	Mariano Tortoriello and Raffaele De Lorenzo (via luigi)
2005-04-18 18:35:05 +00:00
imp
edc45448f9 'r' disk devices no longer exist, so don't try to create a pathname
that has an 'r' in it.

This also eliminates a bogus use of strlcat.
PR: 80064
2005-04-18 15:08:29 +00:00
imp
6bc67c1366 Fix parsing of nomatch events.
minor debug fix.
2005-04-18 02:54:07 +00:00