• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _UAPI_VMCORE_H
3 #define _UAPI_VMCORE_H
4 
5 #include <linux/types.h>
6 
7 #define VMCOREDD_NOTE_NAME "LINUX"
8 #define VMCOREDD_MAX_NAME_BYTES 44
9 
10 struct vmcoredd_header {
11 	__u32 n_namesz; /* Name size */
12 	__u32 n_descsz; /* Content size */
13 	__u32 n_type;   /* NT_VMCOREDD */
14 	__u8 name[8];   /* LINUX\0\0\0 */
15 	__u8 dump_name[VMCOREDD_MAX_NAME_BYTES]; /* Device dump's name */
16 };
17 
18 #endif /* _UAPI_VMCORE_H */
19