Submitted By: Mario Fetka (mario dot fetka at gmail dot com) Date: 2008-11-16 Initial Package Version: 2.0.0.444 Origin: opensuse kernel Upstream Status: unknown Description: add apparmor diff -Naur novfs-2.0.0.444.orig/daemon.c novfs-2.0.0.444/daemon.c --- novfs-2.0.0.444.orig/daemon.c 2008-11-03 20:34:44.000000000 +0000 +++ novfs-2.0.0.444/daemon.c 2008-11-16 10:36:44.190003896 +0000 @@ -2090,7 +2090,11 @@ if (inode) { atomic_inc(&inode->i_count); } +#ifdef CONFIG_SECURITY_APPARMOR + error = vfs_unlink(nd.path.dentry->d_inode, dentry, nd.path.mnt); +#else error = vfs_unlink(nd.path.dentry->d_inode, dentry); +#endif DbgPrint ("local_unlink: vfs_unlink %d\n", error);