
hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I905SE CVE: NA -------------------------------- Add kabi slots in nameidata struct for future expansion. struct size(byte) reserve(8*byte) now(byte) nameidata 232 1 240 Signed-off-by: Long Li <leo.lilong@huawei.com> --- fs/namei.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fs/namei.c b/fs/namei.c index 94565bd7e73f..bc796555c832 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -15,6 +15,7 @@ /* [Feb-Apr 2000, AV] Rewrite to the new namespace architecture. */ +#include <linux/kabi.h> #include <linux/init.h> #include <linux/export.h> #include <linux/kernel.h> @@ -587,6 +588,8 @@ struct nameidata { int dfd; vfsuid_t dir_vfsuid; umode_t dir_mode; + + KABI_RESERVE(1) } __randomize_layout; #define ND_ROOT_PRESET 1 -- 2.31.1