[Bug 263165] libsysdecode does not decode all capability rights
Date: Fri, 08 Apr 2022 21:36:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263165 Bug ID: 263165 Summary: libsysdecode does not decode all capability rights Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: markj@FreeBSD.org The "mktables" script used to extract rights from capsicum.h skips over "composite" rights like CAP_SEEK. As a result, kdump can give bizarre-looking messages when an ENOTCAPABLE error occurs: MainThread CAP operation requires CAP_READ,CAP_SEEK_TELL,CAP_MMAP, descriptor holds CAP_READ,CAP_SEEK_TELL,CAP_MMAP,CAP_FSTAT In this example, the operation really requires CAP_READ, CAP_SEEK and CAP_MMAP. -- You are receiving this mail because: You are the assignee for the bug.