[PATCH 5/8 v4] export security_inode_permission to allow overlayfs to be modular

From: Miklos Szeredi
Date: Tue Oct 26 2010 - 06:51:55 EST


From: Andy Whitcroft <apw@xxxxxxxxxxxxx>

When compiling overlayfs as a module we end up with an unknown symbol
'security_inode_permission'. Export it.

Signed-off-by: Andy Whitcroft <apw@xxxxxxxxxxxxx>
Signed-off-by: Miklos Szeredi <mszeredi@xxxxxxx>
---
security/security.c | 1 +
1 file changed, 1 insertion(+)

Index: linux-2.6/security/security.c
===================================================================
--- linux-2.6.orig/security/security.c 2010-10-26 11:29:16.000000000 +0200
+++ linux-2.6/security/security.c 2010-10-26 11:29:28.000000000 +0200
@@ -520,6 +520,7 @@ int security_inode_permission(struct ino
return 0;
return security_ops->inode_permission(inode, mask);
}
+EXPORT_SYMBOL_GPL(security_inode_permission);

int security_inode_setattr(struct dentry *dentry, struct iattr *attr)
{

--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/