diff --git a/include/linux/fs.h b/include/linux/fs.h index b7f96c3c52acb7b121d15ee43788c71e083e58b8..db632747781a73a9f280296bb6837778bac7266f 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -968,6 +968,8 @@ struct file { struct address_space *f_mapping; errseq_t f_wb_err; errseq_t f_sb_err; /* for syncfs */ + + KABI_RESERVE(1) } __randomize_layout __attribute__((aligned(4))); /* lest something weird decides that 2 is OK */ diff --git a/include/linux/key-type.h b/include/linux/key-type.h index 2ab2d6d6aeab857a5e6175bd413a473d2e21515f..9a595cc831ea8eb44ce8f414e156326fb5994b5e 100644 --- a/include/linux/key-type.h +++ b/include/linux/key-type.h @@ -10,6 +10,7 @@ #include #include +#include #ifdef CONFIG_KEYS @@ -55,6 +56,7 @@ struct key_match_data { unsigned lookup_type; /* Type of lookup for this search. */ #define KEYRING_SEARCH_LOOKUP_DIRECT 0x0000 /* Direct lookup by description. */ #define KEYRING_SEARCH_LOOKUP_ITERATE 0x0001 /* Iterative search. */ + KABI_RESERVE(1) }; /* diff --git a/include/linux/key.h b/include/linux/key.h index eed3ce139a32e82cb80e84356f66ea0bf0f58693..6657ca910034a2577c6e5a86579c53de63c046d2 100644 --- a/include/linux/key.h +++ b/include/linux/key.h @@ -20,6 +20,7 @@ #include #include #include +#include #ifdef __KERNEL__ #include @@ -272,6 +273,7 @@ struct key { * restriction. */ struct key_restriction *restrict_link; + KABI_RESERVE(1) }; extern struct key *key_alloc(struct key_type *type, diff --git a/include/linux/nsproxy.h b/include/linux/nsproxy.h index cdb171efc7cb052dd4844ae182206939627c68e8..be2d42c27780861e693dc58cd4dc226d777082ec 100644 --- a/include/linux/nsproxy.h +++ b/include/linux/nsproxy.h @@ -4,6 +4,7 @@ #include #include +#include struct mnt_namespace; struct uts_namespace; @@ -38,6 +39,14 @@ struct nsproxy { struct time_namespace *time_ns; struct time_namespace *time_ns_for_children; struct cgroup_namespace *cgroup_ns; + KABI_RESERVE(1) + KABI_RESERVE(2) + KABI_RESERVE(3) + KABI_RESERVE(4) + KABI_RESERVE(5) + KABI_RESERVE(6) + KABI_RESERVE(7) + KABI_RESERVE(8) }; extern struct nsproxy init_nsproxy; diff --git a/include/linux/proc_ns.h b/include/linux/proc_ns.h index 75807ecef880f1b12f690da75717e61600f50318..81e99aa97cd7ea29bc55dbae130c4eebcaaa1b8d 100644 --- a/include/linux/proc_ns.h +++ b/include/linux/proc_ns.h @@ -16,7 +16,7 @@ struct inode; struct proc_ns_operations { const char *name; const char *real_ns_name; - int type; + u64 type; struct ns_common *(*get)(struct task_struct *task); void (*put)(struct ns_common *ns); int (*install)(struct nsset *nsset, struct ns_common *ns);