]> The Tcpdump Group git mirrors - tcpdump/commit
Fix auto-enabling of Capsicum on FreeBSD with Autoconf. [skip appveyor]
authorDenis Ovsienko <[email protected]>
Tue, 3 Aug 2021 23:20:36 +0000 (00:20 +0100)
committerDenis Ovsienko <[email protected]>
Tue, 3 Aug 2021 23:45:45 +0000 (00:45 +0100)
commitac23514a0cc7a08eec383aac352fa3f7d39dec2c
treeb9320f67f9f38ee52d7139cba6a807ee1dee49d4
parent51f9c3b947eac89254c4e3662902487e0844a699
Fix auto-enabling of Capsicum on FreeBSD with Autoconf. [skip appveyor]

Even after commit 6393bb6 --with-sandbox-capsicum didn't work entirely
as documented, as it defaulted to disabled:

checking whether to sandbox using capsicum... no
checking whether to sandbox using Casper library... no

Get the test condition right so it does what it says:

checking sys/capsicum.h usability... yes
checking sys/capsicum.h presence... yes
checking for sys/capsicum.h... yes
checking for cap_enter... yes
checking for cap_rights_limit... yes
checking for cap_ioctls_limit... yes
checking for openat... yes
checking for cap_init in -lcasper... yes
checking for cap_gethostbyaddr in -lcap_dns... yes
checking whether to sandbox using capsicum... yes
checking whether to sandbox using Casper library... yes
CHANGES
configure
configure.ac