Age | Commit message (Collapse) | Author |
|
|
|
previous diff)
|
|
private key but no public counterpart; with & ok markus@
|
|
this lets things calling bpf_mtap_hdr and related functions also
populate the extended bpf_hdr with the rcvif and prio and stuff.
|
|
|
|
the metadata is set if the mbuf is passed with an m_pktrhdr, and
copies the mbufs rcvif, priority, flowid. it also carries the
direction of the packet.
it also makes bpf_hdr a multiple of 4 bytes, which simplifies some
calculations a bit. it also requires no changes in userland because
libpcap just thinks the extra bytes in the header are padding and
skips over them to the payload.
this helps me verify things like whether the stack and a network
card agree about toeplitz hashes, and paves the way for doing more
interesting packet captures. being able to see where a packet came
from as it is leaving a machine is very useful.
ok mpi@
|
|
|
|
kernel entry.
|
|
- Phillips -> Philips
ok kettenis
|
|
ok patrick@
|
|
|
|
ok patrick@
|
|
dlg@, deraadt@, mpi@
|
|
and some other wording improvements with respect to types;
OK ratchov@
|
|
Prevent a panic in syn_cache_insert() found by syzbot.
Reported-by: syzbot+aee24ad9b7bf5665912d@syzkaller.appspotmail.com
ok sashan@, anton@, millert@
|
|
are very long (function pointers), such that a number of input lines
in the SYNOPSIS do not fit into 80 columns. Consequently, consistently
use .Fo/.Fa/.Fc rather than .Fn for better readability of the source
code. Mechanical diff, no output change.
|
|
of integers for clarity and to read better;
one of the issues (abuse of .Sm) was originally reported by jmc@;
ok jmc@ ratchov@
|
|
listed below.
- pipex_init_session() to check request and alloc new session.
- pipex_link_session() to link session to pipex(4) layer.
- pipex_unlink_session() to unlink session from pipex(4) layer.
- pipex_rele_session() to release session and it's internal allocation.
ok mpi@
|
|
sockets from different domains so there is no reason to have locking and memory
allocation in this error path. Also in this case only `so' will be locked by
solock() so we should avoid `sosp' modification.
ok mpi@
|
|
functions further.
ok dlg
|
|
|
|
with EPROTONOSUPPORT.
ok mpi@
|
|
xor laddr and faddr and the ports together and only then fold the
32 bits into 16 bits.
ok dlg
|
|
Fix a corner case where old events could be re-evaluated.
From Yuichiro NAITO.
|
|
licence mere mortals can understand the terms of); will be connected to the
build on an arch-by-arch basis.
Testsuites and generated files have been intentionnaly omitted from this import.
Peer pressure and ok from at least drahn@ pirofti@ deraadt@
|
|
|
|
OK patrick@
|
|
in a mode, problem reported by Martin Vahlensieck.
|
|
control mode to avoid stray commands ending up in the shell.
|
|
OK deraadt@, jmc@, mpi@
|
|
ditch half of the calculations by merging the computation of hi and lo,
only splitting at the end. This allows us to leverage stoeplitz_hash_n16().
The name lo is now wrong. I kept it in order to avoid noise. I'm going to
clean this up in the next step.
ok dlg
|
|
|
|
|
|
Save the current alternate device index and skip it in
dev_reopen(). Handling alternate device indices this way will ease
future development as well.
|
|
|
|
|
|
multiplication H * val in stoeplitz_cache_entry(scache, val), so the
identity (H * x) ^ (H * y) == H * (x ^ y) allows us to push the calls to
the cache function down to the end of stoeplitz_hash_ip{4,6}{,port}().
The identity in question was also confirmed on amd64, sparc64 and powerpc
for all possible values of skey, x and y.
ok dlg
|
|
The report descriptors specify an invalid button count for models
with 6 or 8 buttons.
Thanks to Sivaram Gowkanapal, who provided the core of this patch.
ok mpi@
|
|
|
|
Automatic tagging does not work because the [-s] flag is optional.
Patch from Martin Vahlensieck.
|
|
ok patrick@
|
|
|
|
reduce it to a single one. Not only should this be more performant, it
also solves a kqueue related issue found by visa@ who also requested
this change: if you attach an EVFILT_WRITE filter to a pipe fd, the
knote gets added to the peer's klist. This is a problem for kqueue
because if you close the peer's fd, the knote is left in the list whose
head is about to be freed. knote_fdclose() is not able to clear the
knote because it is not registered with the peer's fd.
FreeBSD also takes a similar approach to pipe allocations.
ok mpi@ visa@
|
|
|
|
Pointed out by Martin Vahlensieck, thanks!
|
|
|
|
seed is explicitly set.
OK millert@
|
|
of SMR lists in userspace-visible parts of system headers. In addition,
the macros allow libkvm to examine SMR data structures.
Initial diff by and OK claudio@
|
|
prefix, and show how to use 0t for decimal (slight duplication from
the table in EXPRESSIONS but easier for the reader than sending them
off to look in a different part of the manual). ok mpi claudio jmc
|
|
sc_ih value of struct rl_softc. This fixes a crash in re(4) because
intr_barrier(9) is called with the rl_softc sc_ih which was NULL.
OK kettenis@
|