mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-31 06:14:39 +01:00
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]>
17 lines
362 B
C
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
|