]> 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)
committerDenis Ovsienko <[email protected]>
Thu, 15 Jun 2023 07:21:32 +0000 (08:21 +0100)
commitb5a602a87181d2729be6b55ca595be382242eebb
tree8fc5c6e8ac936a5eb10a64da4882d64fb63deef7
parent2c4968b90ed9f0f714efbd6177871f7af0d151a7
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]>
tcpdump.c