1 /* 2 * This header was generated from the Linux kernel headers by update_headers.py, 3 * to provide necessary information from kernel to userspace, such as constants, 4 * structures, and macros, and thus, contains no copyrightable information. 5 */ 6 #ifndef _UAPI_VMCORE_H 7 #define _UAPI_VMCORE_H 8 #include <linux/types.h> 9 #define VMCOREDD_NOTE_NAME "LINUX" 10 #define VMCOREDD_MAX_NAME_BYTES 44 11 struct vmcoredd_header { 12 __u32 n_namesz; 13 __u32 n_descsz; 14 __u32 n_type; 15 __u8 name[8]; 16 __u8 dump_name[VMCOREDD_MAX_NAME_BYTES]; 17 }; 18 #endif 19