| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
| |
warnings.
|
|
|
|
|
| |
unused include, adding parens for return and sizeof and renaming,
adding some missing whitespace and sorting some variables.
|
|
|
|
|
|
| |
value into a variable of the right type and then printing it via
an intmax_t. This makes avoids some duplication and makes it easy
to add a new integer format Q for printing things of type CTLTYPE_QUAD.
|
|
|
|
| |
See src/contrib/ipfilter/HISTORY for details of changes since 4.1.13
|
|
|
|
|
|
| |
also remove the init mlink to securelevel.
Discussed with and sharing pointyhat with: brueffer
|
|
|
|
|
|
|
|
| |
correct place on large sector disks. The boot signature should be at
offset 0x1fe in the BPB; newfs_msdos currently stores it 2 bytes from
the end of the sector.
Taken from: NetBSD
|
|
|
|
| |
Reviewed by: phk
|
| |
|
|
|
|
| |
rc.d to stop it reloading the network module on unload.
|
|
|
|
|
|
| |
structs.
gcc 4.2 doesn't do it by default, and that results in unaligned access on
arm.
|
|
|
|
|
|
|
|
| |
to mount an ISO 9660 CD image file.
PR: 112691
Submitted by: Warren Block, wblock at wonkity.com
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
| |
previous commit and that introduced optional parameters.
Existing classes (like geli(8)) use empty strings by default
and expect the parameter to be passed to the kernel as such.
Also, the default value of a string argument can be NULL.
Fix both cases by making the optional parameter conditional
upon gc_argname being set and making sure to test for NULL
before dereferencing the pointer.
Reported by: brueffer@
|
|
|
|
| |
Pointed out by: pjd@
|
|
|
|
|
|
|
| |
In order to support gpart(8), geom(8) needs to support a named
argument. Also, optional string parameters are a requirement.
Both have been added to the infrastructure. The former required
all existing classes to be adjusted.
|
|
|
|
|
|
|
|
| |
specifying rotational-positions, reflect that in the command arguments.
PR: bin/110178
Submitted by: Alex Kozlov <spam at rm-rf dot kiev dot ua>
Approved by: imp (mentor)
|
|
|
|
|
|
|
|
|
| |
with the exception of one word.
PR: docs/112465
Submitted by: naddy
Obtained from: OpenBSD
MFC after: 1 week
|
|
|
|
|
| |
PR: 109929
Submitted by: Alex Kozlov
|
|
|
|
|
|
|
| |
and its bibliography.
Submitted by: Tomoyuki Okazaki <okazaki at kick dot gr dot jp>
MFC after: 1 month
|
|
|
|
|
|
|
|
|
| |
addresses.
o Swap a couple of magic 6s by ETHER_ADDR_LEN.
PR: bin/80913
Submitted by: Andrey V. Elsukov
MFC after: 1 month
|
| |
|
|
|
|
|
|
| |
- Remove non-exist -b flag.
- Add reference to boot98cfg and newfs.
- s/disklabel/bsdlabel/
|
|
|
|
| |
Submitted by: rpaulo (SoC2007 student)
|
| |
|
| |
|
|
|
|
|
|
|
| |
Mobile IPv6 Routing Header Type 2 in addition to filter
on the non-differentiated presence of any Routing Header.
MFC after: 3 weeks
|
|
|
|
| |
leaving the functions.
|
|
|
|
|
|
|
|
| |
Now it is possible to do something like fdisk -p ad0 | fdisk -f - ad1.
PR: bin/110182
Submitted by: Jukka A. Ukkonen
MFC after: 1 month
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before:
$ ipfw -n add 100 count icmp from any to any mac-type 0x01
00100 count icmp 0x0001
$ ipfw -n add 100 count icmp from any to any mac any any
00100 count icmp MAC any any any
After:
$ ipfw -n add 100 count icmp from any to any mac-type 0x01
00100 count icmp from any to any mac-type 0x0001
$ ipfw -n add 100 count icmp from any to any mac any any
00100 count icmp from any to any MAC any any
PR: bin/112244
Submitted by: Andrey V. Elsukov
MFC after: 1 month
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rationale:
We are interested in the current (last) element of the argv array
there, not in its first element. The if construct is there because
we want to avoid adding empty (zero-length) arguments to argv, so
we just don't advance argvp if the current argument is empty, and
it gets overwritten at the next iteration. Note that strsep(3)
doesn't treat consecutive delim characters as a single separator,
it returns empty fields between such characters, and it's up to the
caller to handle them this or that way.
Also add a comment that the argv array ends up null-terminated in
any case (it's due to the design of the for loop) as an answer to
a possible question why the whole argv isn't zero-filled.
Submitted by: yongari
Tested by: yongari
MFC after: 3 days
|
|
|
|
|
| |
Submitted by: Ulrich Spoerlein <uspoerlein@gmail.com>
PR: 111630
|
|
|
|
|
|
|
|
|
|
|
|
| |
vs 4), supress all unused partition output unless -v is specified.
This makes operating on a 'typical' disk with one partition less
painful. The 30 lines needed for the empty partitions no longer
scroll the useful information off the screen. When the user requests
a specific partition, the unused information is not suppressed.
Also add the partition name to the -s output.
Initialize the partition name to 'FreeBSD' when -I is specified.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. The static buffer that ping6(8) uses to hold the control data
it gets from recvmsg(2) is too small in some cases.
2. When it prints the extra header information it doesn't do
any checking to make sure the data it's printing is within
the bounds of the supplied buffer.
Fix this by:
o Increasing the buffer to hold extra headers to 10240 bytes (the minimum
according to RFC3542 sec. 20.1) and allocate it dynamically.
o In verbose mode, specify a warning if any control data from recvmsg(2)
was truncated because the buffer was too small.
o When printing the extra headers make sure not to overrun the buffer
boundaries.
Reviewed By: mlaier
PR: kern/99425
MFC After: 1 month
|
|
|
|
|
| |
Spotted by: Ivan Voras
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
| |
The name trunk is misused as the networking term trunk means carrying multiple
VLANs over a single connection. The IEEE standard for link aggregation (802.3
section 3) does not talk about 'trunk' at all while it is used throughout IEEE
802.1Q in describing vlans.
The lagg(4) driver provides link aggregation, failover and fault tolerance.
Discussed on: current@
|
|
|
|
|
| |
Submitted by: rdivacky
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
| |
correct test to -ge 5. Without this change an RFC3442 encoded default
route would be ignored.
Reported by: Cedric Jonas <cedric at decemplex dot net>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
tolerance. This driver allows aggregation of multiple network interfaces as
one virtual interface using a number of different protocols/algorithms.
failover - Sends traffic through the secondary port if the master becomes
inactive.
fec - Supports Cisco Fast EtherChannel.
lacp - Supports the IEEE 802.3ad Link Aggregation Control Protocol
(LACP) and the Marker Protocol.
loadbalance - Static loadbalancing using an outgoing hash.
roundrobin - Distributes outgoing traffic using a round-robin scheduler
through all active ports.
This code was obtained from OpenBSD and this also includes 802.3ad LACP support
from agr(4) in NetBSD.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
out more than size bytes to the caller's buffer.
PR: bin/111191
Reviewed by: pb
MFC after: 1 week
|
|
|
|
|
|
|
|
|
| |
which size is not multiple of sector size.
Reported by: Eric Anderson <anderson@centtech.com>
- Improve wording in error message. I'm sorry, I don't remember who
submitted this one.
|
|
|
|
|
|
| |
parameter like everything else
MFC after: 2 weeks
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
|
|
| |
hardware drivers. Unlike pseudo-device drivers, which just attach
to the cloning framework and wait for "ifconfig create", h/w drivers
create interfaces for installed cards as soon as loaded. The issue
of devd(8) involuntarily reloading modules should be dealt with in a
different way.
|
|
|
|
|
|
| |
PR: bin/110705
Reported by: Tom Judge
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
| |
new interface. In other cases loading the module is unwanted and
can lead to ill side effects. One such effect found is as follows:
"kldunload if_foo" tells the module to kill all its interfaces,
which results in messages sent to devd; the module unloads. Then
devd starts processing the messages, which ends up in a etc script
running ifconfig fooX, which reloads the module.
|