]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix for backends which doesn't support capsicum.
authorHans Petter Selasky <hselasky@FreeBSD.org>
Wed, 12 Sep 2018 10:09:59 +0000 (10:09 +0000)
committerHans Petter Selasky <hselasky@FreeBSD.org>
Wed, 12 Sep 2018 10:09:59 +0000 (10:09 +0000)
commite6895e80490be42c13efe6009373fa70391d0c96
treee20f30c8a39e36cc147263dd6e2952e6aa68d8c1
parentbd528a398ec8f8583711fbcc1cb4cbbecc231917
Fix for backends which doesn't support capsicum.

Not all libpcap backends use the BPF compatible set
of IOCTLs. For example the mlx5 backend uses libibverbs
which is currently not capsicum compatible.

Disable sandboxing for such backends.

MFC after: 3 days
Discussed with: emaste@
Approved by: re (kib)
Sponsored by: Mellanox Technologies
contrib/tcpdump/tcpdump.c