[RFC PATCH 4/4] capability: unexport has_capability_noaudit
Christoph Hellwig
hch at lst.de
Mon Jun 29 12:31:50 UTC 2026
On Fri, Jun 26, 2026 at 08:20:08AM -0700, Darrick J. Wong wrote:
> Please update the kerneldoc for this function to mention that it only
> checks real capability, not effective capability. I'd like to prevent
> someone else from making the same mistakes I did with these functions
> that sound the same in documentation but have very different behaviors.
Yes, that would be useful. But make it a separate patch please, it's
not related to the unexporting in any way.
More information about the Linux-security-module-archive
mailing list