Re: [RFC PATCH 4/4] capability: unexport has_capability_noaudit

From: Christoph Hellwig

Date: Mon Jun 29 2026 - 08:45:16 EST


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.