diff options
Diffstat (limited to 'sys-fs/aufs/files/grsecurity-2.9.1.patch')
-rw-r--r-- | sys-fs/aufs/files/grsecurity-2.9.1.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sys-fs/aufs/files/grsecurity-2.9.1.patch b/sys-fs/aufs/files/grsecurity-2.9.1.patch new file mode 100644 index 00000000..699419fd --- /dev/null +++ b/sys-fs/aufs/files/grsecurity-2.9.1.patch @@ -0,0 +1,15 @@ +--- linux/include/linux/fs.h ++++ linux/include/linux/fs.h +@@ -385,7 +385,11 @@ + int (*swap_activate)(struct swap_info_struct *sis, struct file *file, + sector_t *span); + void (*swap_deactivate)(struct file *file); +-}; ++} ++#ifdef CONFIG_GRKERNSEC ++__no_const ++#endif ++; + + extern const struct address_space_operations empty_aops; + |