.lbs_task = sizeof(struct aa_task_ctx),
};
-const struct lsm_id apparmor_lsmid = {
+static const struct lsm_id apparmor_lsmid = {
.name = "apparmor",
.id = LSM_ID_APPARMOR,
};
LSM_HOOK_INIT(task_free, bpf_task_storage_free),
};
-const struct lsm_id bpf_lsmid = {
+static const struct lsm_id bpf_lsmid = {
.name = "bpf",
.id = LSM_ID_BPF,
};
#ifdef CONFIG_SECURITY
-const struct lsm_id capability_lsmid = {
+static const struct lsm_id capability_lsmid = {
.name = "capability",
.id = LSM_ID_CAPABILITY,
};
return loadpin_check(NULL, (enum kernel_read_file_id) id);
}
-const struct lsm_id loadpin_lsmid = {
+static const struct lsm_id loadpin_lsmid = {
.name = "loadpin",
.id = LSM_ID_LOADPIN,
};
return 0;
}
-const struct lsm_id safesetid_lsmid = {
+static const struct lsm_id safesetid_lsmid = {
.name = "safesetid",
.id = LSM_ID_SAFESETID,
};
}
#endif /* CONFIG_IO_URING */
-const struct lsm_id selinux_lsmid = {
+static const struct lsm_id selinux_lsmid = {
.name = "selinux",
.id = LSM_ID_SELINUX,
};
.lbs_xattr_count = SMACK_INODE_INIT_XATTRS,
};
-const struct lsm_id smack_lsmid = {
+static const struct lsm_id smack_lsmid = {
.name = "smack",
.id = LSM_ID_SMACK,
};
}
}
-const struct lsm_id tomoyo_lsmid = {
+static const struct lsm_id tomoyo_lsmid = {
.name = "tomoyo",
.id = LSM_ID_TOMOYO,
};
return rc;
}
-const struct lsm_id yama_lsmid = {
+static const struct lsm_id yama_lsmid = {
.name = "yama",
.id = LSM_ID_YAMA,
};