1 #ifndef __BUILD_SALT_H 1 #ifndef __BUILD_SALT_H 2 #define __BUILD_SALT_H 2 #define __BUILD_SALT_H 3 3 4 #include <linux/elfnote.h> 4 #include <linux/elfnote.h> 5 5 6 #define LINUX_ELFNOTE_BUILD_SALT 0x100 6 #define LINUX_ELFNOTE_BUILD_SALT 0x100 7 7 8 #ifdef __ASSEMBLER__ 8 #ifdef __ASSEMBLER__ 9 9 10 #define BUILD_SALT \ 10 #define BUILD_SALT \ 11 ELFNOTE(Linux, LINUX_ELFNOTE_BUILD_SALT 11 ELFNOTE(Linux, LINUX_ELFNOTE_BUILD_SALT, .asciz CONFIG_BUILD_SALT) 12 12 13 #else 13 #else 14 14 15 #define BUILD_SALT \ 15 #define BUILD_SALT \ 16 ELFNOTE32("Linux", LINUX_ELFNOTE_BUILD_ 16 ELFNOTE32("Linux", LINUX_ELFNOTE_BUILD_SALT, CONFIG_BUILD_SALT) 17 17 18 #endif 18 #endif 19 19 20 #endif /* __BUILD_SALT_H */ 20 #endif /* __BUILD_SALT_H */ 21 21
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.