
hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I905SE CVE: NA -------------------------------- Add kabi slots in proc_ops struct for future expansion. struct size(byte) reserve(8*byte) now(byte) proc_ops 96 4 128 Signed-off-by: Long Li <leo.lilong@huawei.com> --- include/linux/proc_fs.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/linux/proc_fs.h b/include/linux/proc_fs.h index de407e7c3b55..c742bedf2a8c 100644 --- a/include/linux/proc_fs.h +++ b/include/linux/proc_fs.h @@ -42,6 +42,11 @@ struct proc_ops { #endif int (*proc_mmap)(struct file *, struct vm_area_struct *); unsigned long (*proc_get_unmapped_area)(struct file *, unsigned long, unsigned long, unsigned long, unsigned long); + + KABI_RESERVE(1) + KABI_RESERVE(2) + KABI_RESERVE(3) + KABI_RESERVE(4) } __randomize_layout; /* definitions for hide_pid field */ -- 2.31.1