fuse: move fuse_xattr_handlers to .rodata
authorWedson Almeida Filho <walmeida@microsoft.com>
Sat, 30 Sep 2023 05:00:15 +0000 (02:00 -0300)
committerChristian Brauner <brauner@kernel.org>
Mon, 9 Oct 2023 14:24:18 +0000 (16:24 +0200)
commit34271edb18787d0b7d0f14c505468378de7efb4d
tree99fe0e58c815e75618e9d3feddaee5d6759ed9bd
parenta1c0752c33d25db28a9846ce82866a7f486f83e0
fuse: move fuse_xattr_handlers to .rodata

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

Cc: Miklos Szeredi <miklos@szeredi.hu>
Cc: linux-fsdevel@vger.kernel.org
Signed-off-by: Wedson Almeida Filho <walmeida@microsoft.com>
Link: https://lore.kernel.org/r/20230930050033.41174-12-wedsonaf@gmail.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/fuse/fuse_i.h
fs/fuse/xattr.c