sos
877683a848
Open devices RDONLY for ioctls. That makes it work on open devices to which
...
GEOM doesn't allow WR access.
2005-06-06 20:46:51 +00:00
philip
2828ecf11a
Fix a silly little typo I just spotted.
2005-06-06 06:47:33 +00:00
thompsa
e8bfe6c248
Connect if_bridge to the build.
...
Approved by: mlaier (mentor)
2005-06-05 03:32:53 +00:00
thompsa
dc83783f40
Add if_bridge, which provides more advanced Ethernet bridging and 802.1d
...
spanning tree support.
Based on Jason Wright's bridge driver from OpenBSD, and modified by Jason R.
Thorpe in NetBSD.
Reviewed by: mlaier, bms, green
Silence from: -net
Approved by: mlaier (mentor)
Obtained from: NetBSD
2005-06-05 02:59:26 +00:00
green
497a5998af
Better explain, then actually implement the IPFW ALTQ-rule first-match
...
policy. It may be used to provide more detailed classification of
traffic without actually having to decide its fate at the time of
classification.
MFC after: 1 week
2005-06-04 19:04:31 +00:00
imp
f80a31a9ee
Revert last. It was the result of mismerges from cvs not an actual
...
need. _sconfig already was there in the correct place.
Noticed by: ru@
2005-06-03 15:53:37 +00:00
imp
0bf2c018af
Build sconfig on i386 to match where drivers are made it configures
2005-06-03 15:38:39 +00:00
mlaier
f2254cf702
Add support for IPv4 only rules to IPFW2 now that it supports IPv6 as well.
...
This is the last requirement before we can retire ip6fw.
Reviewed by: dwhite, brooks(earlier version)
Submitted by: dwhite (manpage)
Silence from: -ipfw
2005-06-03 01:10:28 +00:00
jhb
1a81cb90f4
Fix some warnings on 64-bit archs.
...
Reviewed by: sam
2005-06-01 14:55:45 +00:00
delphij
ee88062325
Add a handy macro to represent null mount option, MOPT_NULL, and make
...
use of the macro in sbin/mount*'s, by replacing:
mopts[] = {
MOPT_STDOPTS,
{ NULL }
}
With:
mopts[] = {
MOPT_STDOPTS,
MOPT_NULL
}
This change will help to reduce the situation that we don't explicitly
initialize "struct mntopt"'s. It should not contribute to any
functional/logical changes as far as I can tell.
2005-06-01 09:39:36 +00:00
stefanf
7f6920d685
Remove #ident directives, they don't exist on the vendor branch anymore.
2005-05-31 20:28:49 +00:00
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