The code has #ifs on CONFIG_VSERVER and CONFIG_SECURITY_APPARMOR to
select different parameter sets:
#ifdef CONFIG_VSERVER // line 160
err = vfs_mknod(dir, dentry, mode, dev, NULL);
#elif defined(CONFIG_SECURITY_APPARMOR)
err = vfs_mknod(dir, dentry, NULL, mode, dev);
#else
err = vfs_mknod(dir, dentry, mode, dev);
#endif // line 167
The bug is that only the code selected by
defined(CONFIG_SECURITY_APPARMOR) works. If the code wasn't already
full of #ifs to deal with this exact issue, I probably wouldn't have
reported the bug. Since it is, I assumed it was supposed to work in all
possible configurations. Otherwise, what's the point of cluttering the
code with all the #ifs.
--
aufs doesn't build with (non-standard) config w/o vserver or apparmor
https://bugs.launchpad.net/bugs/327337
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs