Files
erofs-linux/include/linux/pseudo_fs.h
T
Wedson Almeida Filho 295d3c4412 net: move sockfs_xattr_handlers to .rodata
This makes it harder for accidental or malicious changes to
sockfs_xattr_handlers at runtime.

Cc: "David S. Miller" <[email protected]>
Cc: Eric Dumazet <[email protected]>
Cc: Jakub Kicinski <[email protected]>
Cc: Paolo Abeni <[email protected]>
Cc: Richard Cochran <[email protected]>
Cc: [email protected]
Signed-off-by: Wedson Almeida Filho <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Acked-by: Jakub Kicinski <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
2023-10-10 13:49:21 +02:00

17 lines
362 B
C

#ifndef __LINUX_PSEUDO_FS__
#define __LINUX_PSEUDO_FS__
#include <linux/fs_context.h>
struct pseudo_fs_context {
const struct super_operations *ops;
const struct xattr_handler * const *xattr;
const struct dentry_operations *dops;
unsigned long magic;
};
struct pseudo_fs_context *init_pseudo(struct fs_context *fc,
unsigned long magic);
#endif