reiserfs: move reiserfs_xattr_handlers to .rodata
authorWedson Almeida Filho <walmeida@microsoft.com>
Sat, 30 Sep 2023 05:00:26 +0000 (02:00 -0300)
committerChristian Brauner <brauner@kernel.org>
Tue, 10 Oct 2023 11:49:19 +0000 (13:49 +0200)
commit29a69055e2e11040437f89e0355979d3d6e77149
treedd1adf67e22c228e38fda6b062e3af000753a250
parent2e9440ac07169790df74dcab412a945c2bfb78f2
reiserfs: move reiserfs_xattr_handlers to .rodata

This makes it harder for accidental or malicious changes to
reiserfs_xattr_handlers at runtime.

Cc: reiserfs-devel@vger.kernel.org
Signed-off-by: Wedson Almeida Filho <walmeida@microsoft.com>
Link: https://lore.kernel.org/r/20230930050033.41174-23-wedsonaf@gmail.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/reiserfs/reiserfs.h
fs/reiserfs/xattr.c