[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1285955282-10240-2-git-send-email-apw@canonical.com>
Date: Fri, 1 Oct 2010 18:48:01 +0100
From: Andy Whitcroft <apw@...onical.com>
To: Miklos Szeredi <miklos@...redi.hu>
Cc: linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
vaurora@...hat.com, neilb@...e.de, viro@...iv.linux.org.uk,
Andy Whitcroft <apw@...onical.com>
Subject: [PATCH 1/2] overlayfs: export security_inode_permission to allow overlayfs to be modular
When compiling overlayfs as a module we end up with an unknown symbol
'security_inode_permission'. Export it.
Signed-off-by: Andy Whitcroft <apw@...onical.com>
---
security/security.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/security/security.c b/security/security.c
index ca39940..b8329cc 100644
--- a/security/security.c
+++ b/security/security.c
@@ -556,6 +556,7 @@ int security_inode_permission(struct inode *inode, int mask)
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)
{
--
1.7.0.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists