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 <ezk@cs.sunysb.edu>
return 0;
return security_ops->inode_permission(inode, mask, 0);
}
+EXPORT_SYMBOL(security_inode_permission);
int security_inode_exec_permission(struct inode *inode, unsigned int flags)
{