r357452 turned "cap_rights_contains" into a static inline function. This made it disappear from libc.so and my program complains: Undefined symbol "cap_rights_contains@FBSD_1.3" I wonder if this function is still supposed to be there for compatibility with older binaries.
Hm, r357471 could also be the problem.
Thanks for the report. I'm going to restore it.
A commit references this bug: Author: mjg Date: Tue Feb 11 18:13:54 UTC 2020 New revision: 357766 URL: https://svnweb.freebsd.org/changeset/base/357766 Log: capsicum: restore the cap_rights_contains symbol It is expected to be provided by libc. PR: 244033 Reported by: Jan Kokemueller Changes: head/sys/kern/subr_capability.c head/sys/sys/capsicum.h