From 8757172f6ff6b52d4be1d6d6bf55b90b0cde3ed5 Mon Sep 17 00:00:00 2001 From: Erez Zadok Date: Mon, 12 Jan 2009 22:16:46 -0500 Subject: [PATCH] Security/VFS: re-export security_inode_permission symbol Unionfs needs it because it has to do everything in there, but skip the EROFS test (so copyup can be triggered). There's no easy way to execute parts of security_inode_permission() without copying and duplicating much of its functionality, so exporting the symbol seems the simplest. Signed-off-by: Erez Zadok --- security/security.c | 1 + 1 file changed, 1 insertion(+) diff --git a/security/security.c b/security/security.c index 4dc31f4f2700..d3ec411df652 100644 --- a/security/security.c +++ b/security/security.c @@ -553,6 +553,7 @@ int security_inode_permission(struct inode *inode, int mask) return 0; return security_ops->inode_permission(inode, mask); } +EXPORT_SYMBOL(security_inode_permission); int security_inode_setattr(struct dentry *dentry, struct iattr *attr) { -- 2.43.0