[Bug 277057] rights(4): Not all rights may be specified in a rights mask

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 15 Feb 2024 00:39:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277057

--- Comment #6 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=05f530f4d2bb15fda3d258b3bd92d4515d9ef39f

commit 05f530f4d2bb15fda3d258b3bd92d4515d9ef39f
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2024-02-15 00:03:40 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2024-02-15 00:37:54 +0000

    cat: fix cap_rights_init usage

    Capability rights passed to cap_rights_* are not simple bitmaks and
    cannot be ORed together in general (although it will work for certain
    subsets of rights).

    PR:             277057
    Reported by:    asomers, markj

 bin/cat/cat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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