grsecurity breaks reiser4 compilation
2010-09-30 14:18:47 GMT
Hi, today i tried to compile kernel (18.104.22.168) with reiser4 patch and latest grsecurity, however i got "assignment to read-only structure" error.
I found a reason for that.
grsecurity patch modifies file include/linux/fs.h , in particular - struct super_operations , adding "const"s there.
It causes compilation error in reiser4's reiser4_init_super_data at init_super.c line 399 when it tries to do sbinfo->ops.super = reiser4_super_operations .
As a workaround, i created include/linux/fs_reiser4.h and seded reiser4 tree to use this instead of fs.h .
But it would be nice if you patched grsecurity, or maybe submit a separate patch for reiser4-patched kernel.
As there are many people who use reiser4 and will be quite confused by grsecurity breaking it.
_______________________________________________ grsecurity mailing list grsecurity@... http://grsecurity.net/cgi-bin/mailman/listinfo/grsecurity