]> The Tcpdump Group git mirrors - tcpdump/commit
Fix capsicum support to work with zerocopy buffers in bpf. 486/head
authorLuiz Otavio O Souza <[email protected]>
Wed, 14 Oct 2015 15:05:24 +0000 (10:05 -0500)
committerLuiz Otavio O Souza <[email protected]>
Wed, 14 Oct 2015 15:05:24 +0000 (10:05 -0500)
commit0a5ca18bab434b6bbfddb2f66467a47fe4fe22a8
tree7d4592de2f012b2842096fc9893f3c0f8d905eaf
parent8e23441356af86fe125f8e3854a98fe1d116caf6
Fix capsicum support to work with zerocopy buffers in bpf.

Zerocopcy buffers in bpf was broken until recently in FreeBSD and now that
it is fixed, tcpdump is failing with insuficient capabilities when trying to
use the BIOCROTZBUF ioctl.

This commit adds BIOCROTZBUF to the list of allowed ioctls.
tcpdump.c