lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHC9VhTZ98OwAAtk52MreZaU1OJwKS6PqOU=SCzhfBYNEM8qqw@mail.gmail.com>
Date: Thu, 19 Dec 2024 09:55:30 -0500
From: Paul Moore <paul@...l-moore.com>
To: "Dr. David Alan Gilbert" <linux@...blig.org>
Cc: serge@...lyn.com, linux-security-module@...r.kernel.org, 
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] capability: Remove unused has_capability

On Thu, Dec 19, 2024 at 9:19 AM Dr. David Alan Gilbert
<linux@...blig.org> wrote:
>
> OK, maybe:
>
> * NOTE WELL: cap_capable() has reverse semantics to the capable() call
> * and friends. That is cap_capable() returns an int 0 when a task has
> * a capability, while the kernel's capable(), has_ns_capability(),
> * has_ns_capability_noaudit(), and has_capability_noaudit() return a
> * bool true (1) for this case.

Works for me, thanks.

-- 
paul-moore.com

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ