[PATCH v3 5/5] capability: unexport has_capability_noaudit
cem at kernel.org
cem at kernel.org
Thu Jul 2 09:33:25 UTC 2026
From: Carlos Maiolino <cem at 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 <cmaiolino at redhat.com>
Cc: Jan Kara <jack at suse.cz>
Cc: Serge E. Hallyn <serge at hallyn.com>
Cc: Dave Chinner <david at fromorbit.com>
Cc: Eric Sandeen <sandeen at redhat.com>
Cc: Dr. Thomas Orgis" <thomas.orgis at uni-hamburg.de>
Cc: linux-xfs at vger.kernel.org
Cc: linux-fsdevel at vger.kernel.org
Cc: linux-security-module at vger.kernel.org
Cc: linux-kernel at vger.kernel.org
Reviewed-by: "Darrick J. Wong" <djwong at kernel.org>
Reviewed-by: Christoph Hellwig <hch at lst.de>
---
kernel/capability.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/kernel/capability.c b/kernel/capability.c
index 2c2d1e8300bd..3d0387fb93a3 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.54.0
More information about the Linux-security-module-archive
mailing list