summaryrefslogtreecommitdiffstats
path: root/sys/lib/libkern
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2016-05-10 23:48:07 +0000
committerdlg <dlg@openbsd.org>2016-05-10 23:48:07 +0000
commit3b1d1411b85fc2e289fc82d776923059eaab39e9 (patch)
tree6578b50b6db6a5b5584f7663bb47d7fbd944293b /sys/lib/libkern
parentDo not close the stdio file desciptors in init(8), but dup2(2) them (diff)
downloadwireguard-openbsd-3b1d1411b85fc2e289fc82d776923059eaab39e9.tar.xz
wireguard-openbsd-3b1d1411b85fc2e289fc82d776923059eaab39e9.zip
make the bpf tap functions take const struct mbuf *
this makes it more obvious that the bpf code should only read packets, never modify them. now possible because the paths that care about M_FILDROP set it after calling bpf_mtap. ok mpi@ visa@ deraadt@
Diffstat (limited to 'sys/lib/libkern')
0 files changed, 0 insertions, 0 deletions