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 | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/fs/namei.c b/fs/namei.c index 94565bd7e73f..7b7fcb156669 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -587,6 +587,8 @@ struct nameidata { int dfd; vfsuid_t dir_vfsuid; umode_t dir_mode; + + KABI_RESERVE(1) } __randomize_layout;
#define ND_ROOT_PRESET 1