int security_inode_setsecurity(struct inode *inode, const char *name, const void *value, size_t size, int flags)
#define pr_fmt(fmt) "LSM: " fmt
#include <linux/capability.h>
#include <linux/dcache.h>
#include <linux/export.h>
#include <linux/kernel.h>
#include <linux/lsm_hooks.h>
#include <linux/integrity.h>
#include <linux/fsnotify.h>
#include <linux/personality.h>
#include <linux/backing-dev.h>
#include <linux/string.h>
#define MAX_LSM_EVM_XATTR 2
#define LSM_COUNT (__end_lsm_info - __start_lsm_info)
struct security_hook_heads security_hook_heads __lsm_ro_after_init;
static ATOMIC_NOTIFIER_HEAD(lsm_notifier_chain);
static struct kmem_cache *lsm_file_cache;
static struct kmem_cache *lsm_inode_cache;
static struct lsm_blob_sizes blob_sizes __lsm_ro_after_init;
static __initdata const char *chosen_lsm_order;
static __initdata const char *chosen_major_lsm;
static __initconst const char * const builtin_lsm_order = CONFIG_LSM;
static __initdata struct lsm_info **ordered_lsms;
static __initdata struct lsm_info *exclusive;
static __initdata bool debug;
#define init_debug(...) \