vp-build/templates/unionfs-2.5_fix_for_2.6.27.diff

22 lines
703 B
Diff
Raw Normal View History

Taken from: http://lkml.org/lkml/2007/10/21/193
--- a/security/security.c
+++ b/security/security.c
@@ -409,6 +409,7 @@ int security_inode_permission(struct inode *inode, int mask, struct nameidata *n
return 0;
return security_ops->inode_permission(inode, mask, nd);
}
+EXPORT_SYMBOL(security_inode_permission);
int security_inode_setattr(struct dentry *dentry, struct iattr *attr)
{
@@ -518,6 +519,7 @@ int security_file_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
{
return security_ops->file_ioctl(file, cmd, arg);
}
+EXPORT_SYMBOL(security_file_ioctl);
int security_file_mmap(struct file *file, unsigned long reqprot,
unsigned long prot, unsigned long flags,