Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Apr 2022 21:36:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 263165] libsysdecode does not decode all capability rights
Message-ID:  <bug-263165-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263165

            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-look=
ing
messages when an ENOTCAPABLE error occurs:

MainThread CAP   operation requires CAP_READ,CAP_SEEK_TELL,CAP_MMAP, descri=
ptor
holds CAP_READ,CAP_SEEK_TELL,CAP_MMAP,CAP_FSTAT

In this example, the operation really requires CAP_READ, CAP_SEEK and CAP_M=
MAP.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263165-227>