]> The Tcpdump Group git mirrors - tcpdump/commit
Fix for backends which doesn't support capsicum.
authorHans Petter Selasky <[email protected]>
Tue, 26 Jun 2018 10:03:02 +0000 (12:03 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Thu, 12 Oct 2023 17:22:25 +0000 (19:22 +0200)
commit705725c2475acfc5ee17c9bfdd96a64185959461
tree706afd977feb248e54ef2f2708b0a81682a736d9
parenta6e78f896b25cb7204e9f5739eab48add4dad559
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.

Completes commit 3e26499353048cd004d81e08126252b48bb987c4

Signed-off-by: Hans Petter Selasky <[email protected]>
(cherry picked from commit b5a602a87181d2729be6b55ca595be382242eebb)
tcpdump.c