Commit 4e766eab authored by Long Li's avatar Long Li
Browse files

fs: kabi: Reserve KABI slots for nameidata struct

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: default avatarLong Li <leo.lilong@huawei.com>
parent 20d198eb
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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