Applying the patch and then attempting compilation gives the following error:
Code: Select all
fs/built-in.o(.text+0x771af): In function `mask_ok_common':
: undefined reference to `generic_permission'
So I called ld fs/built-in.o, and got about a half a meg's worth of errors I won't reprint here. The patch provided changes fs/reiser4/plugin/security/perm.c, and that's where the mask_ok_common function is, so we can safely assume the problem lies there. Further research follows:
Code: Select all
static int
mask_ok_common(struct inode *inode, int mask)
{
return generic_permission(inode, mask, NULL);
}
Code: Select all
$ cat reiser4-from-2.6.9-cko3-to-2.6.9-nitro4.patch |grep generic
+ return generic_permission(inode, mask, NULL);
Aaaand it compiles. No debug output besides all the warnings everyone's used to. Unfortunately, I can't test the kernel right now since I have class, but if anyone's curious...just apply the cko3 to nitro4 patch Pepek gave us, then undo the change on L16 of fs/reiser4/plugin/security/perm.c and it should compile.






