Re: [PATCH v4 5/5] capability: unexport has_capability_noaudit

From
Carlos Maiolino <cem@kernel.org>
Date
2026-08-07 09:56:37
Also in
linux-xfs, lkml
Reply to
sergeh@kernel.org, 2026-08-06
On Thu, Aug 06, 2026 at 01:54:23PM -0500, sergeh@kernel.org wrote:
On Tue, Aug 04, 2026 at 11:45:55AM +0200, cem@kernel.org wrote:
quoted
From: Carlos Maiolino <cem@kernel.org>

This has been originally exported to be used in xfs. Giving we are not
using it anymore, unexport for consistency.

Signed-off-by: Carlos Maiolino <redacted>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Serge Hallyn <sergeh@kernel.org>

Thanks, Carlos.

Should these all just go in through the xfs tree?
Yeah, I'm pulling them through XFS tree if you are ok with it?!

Cheers.
quoted
---
 kernel/capability.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/kernel/capability.c b/kernel/capability.c
index f4a7f1963c9d..90e6ab62f6db 100644
--- a/kernel/capability.c
+++ b/kernel/capability.c
@@ -326,7 +326,6 @@ bool has_capability_noaudit(struct task_struct *t, int cap)
 {
 	return has_ns_capability_noaudit(t, &init_user_ns, cap);
 }
-EXPORT_SYMBOL(has_capability_noaudit);
 
 static bool ns_capable_common(struct user_namespace *ns,
 			      int cap,
-- 
2.55.0
Thread (17 messages) 17 messages, 3 authors, last reply 2026-08-21
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help