hulk inclusion category: bugfix bugzilla: https://atomgit.com/src-openeuler/kernel/issues/15055 CVE: CVE-2026-46333 -------------------------------- Fix kabi breakage in struct task_struct. Fixes: 78208595209c ("ptrace: slightly saner 'get_dumpable()' logic") Signed-off-by: Pu Lehui <pulehui@huawei.com> --- include/linux/sched.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/include/linux/sched.h b/include/linux/sched.h index 9fbe6b7fd3bf..fd8a42fa2098 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -763,9 +763,6 @@ struct task_struct { /* Unserialized, strictly 'current' */ - /* Save user-dumpable when mm goes away */ - unsigned user_dumpable:1; - /* Bit to tell LSMs we're in execve(): */ unsigned in_execve:1; unsigned in_iowait:1; @@ -789,6 +786,11 @@ struct task_struct { /* to be used once the psi infrastructure lands upstream. */ unsigned use_memdelay:1; #endif + /* kabi fill hole */ +#if !defined(__GENKSYMS__) + /* Save user-dumpable when mm goes away */ + unsigned user_dumpable:1; +#endif unsigned long atomic_flags; /* Flags requiring atomic access. */ -- 2.34.1