| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
| |
ok deraadt
|
|
|
|
| |
ok deraadt@ phessler@
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
SO_TABLE is not applicable to AF_ROUTE, ROUTE_TABLEFILTER works across all
families and goes well in line with the other ROUTE_* macros.
While here, document RTABLE_ANY and mention rtable(4).
OK claudio jmc
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
this is needed^Wuseful since the kernel doesn't implicitly implement
split horizon in bridge for mpw anymore. it does allow the joining
of different VPLS meshes on the same bridge now though.
based on discussion with Lee Nelson and Mitchell Krome
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Any messages sent to the kernel are returned, and copies are sent to all
interested listeners. The kernel will provide the process ID for the
sender [...]
Change the last "for" to "of", making it even clearer that the kernel tells
listeners about the sender's PID; it does not provide anything back to the
sender in particular.
"Seems right" deraadt
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
already document this in a slightly more tangled way - i chose not to edit those texts;
help/ok stsp
|
|
|
|
| |
while here i knocked out a Tn from iwn and tidied it a little...
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Based on FreeBSD via Genadijus Paleckis on tech@, some modifications by me.
Tested with Atheros Killer E2200.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
capable of detecting undefined behavior at runtime and all findings are
printed to the system console, including the offending line in the
source code.
kubsan is limited to architectures using Clang as their default compiler
and is not enabled by default.
Derived from the NetBSD implementation.
ok kettenis@ visa@
|
|
|
|
|
|
|
|
|
|
| |
BIOCSFILDROP was already able to be used as a quick and dirty
firewall, which is especially useful when you you want to filter
non-ip things. however, capturing the packets you're dropping is a
lot of overhead when you just want to drop stuff. this extends
fildrop so you can tell bpf not to capture the packets it drops.
ok sthen@ mikeb@ claudio@ visa@
|
| |
|
|
|
|
|
|
| |
the ioctl mpw.4 described is going away, and the examples are
different now cos ifconfig is different, and there's some RFCs it
implements.
|
|
|
|
| |
no ioctls yet
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
pfioc_src_nodes to size_t. This avoids integer truncation by casts
to unsigned. As the types of DIOCGETSTATES and DIOCGETSRCNODES
ioctl(2) arguments change, pfctl(8) and systat(1) should be updated
together with the kernel. Calculate number of pf(4) states as
size_t in userland.
OK sashan@ deraadt@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This lets witness(4) save a stack trace on each lock acquisition.
The saved traces can be viewed in ddb(4) when showing the currently
held locks, which may help when debugging incorrect locking.
Sample output:
ddb{0}> show all locks
Process 63836 (rm) thread 0xffff8000221e52c8 (435004)
exclusive rrwlock inode r = 0 (0xfffffd8119a092c0) locked @ /usr/src/sys/ufs/ufs/ufs_vnops.c:1547
#0 witness_lock+0x419
#1 _rw_enter+0x2bb
#2 _rrw_enter+0x42
#3 VOP_LOCK+0x3f
#4 vn_lock+0x36
#5 vfs_lookup+0xa1
#6 namei+0x2b3
#7 dounlinkat+0x85
#8 syscall+0x338
#9 Xsyscall+0x128
exclusive kernel_lock &kernel_lock r = 1 (0xffffffff81e6a5f0) locked @ /usr/src/sys/arch/amd64/amd64/intr.c:525
#0 witness_lock+0x419
#1 syscall+0x2b6
#2 Xsyscall+0x128
The saving adds overhead, so it is not enabled by default. It can be
taken into use by setting sysctl kern.witness.locktrace=1 at runtime
or by defining WITNESS_LOCKTRACE in the kernel configuration.
Feedback and OK anton@
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
The new node contains the subsystem's main control variable,
kern.witness.watch. It is aliased by the old name, kern.witnesswatch.
The alias will be removed in the future.
OK anton@ mpi@
|
|
|
|
|
|
|
|
|
|
|
| |
that helpful. lacking the correct facts, i nicked the following text
from the macppc page:
The
.Nm
driver provides an interface which simulates the Advanced Power Management
.Pq APM
BIOS functions.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
OK jsg@
|
| |
|
|
|
|
|
|
| |
- while there, knock out one .Tn and reformat the text around it
ok stsp
|