[grsec] grsecurity breaks reiser4 compilation
qwe 64
qwe64 at inbox.lv
Thu Sep 30 10:18:47 EDT 2010
Hi, today i tried to compile kernel (2.6.32.23) 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://grsecurity.net/pipermail/grsecurity/attachments/20100930/b0a816ee/attachment.html>
More information about the grsecurity
mailing list