Loading include/linux/coredump.h +5 −5 Original line number Diff line number Diff line Loading @@ -7,12 +7,17 @@ #include <linux/fs.h> #include <asm/siginfo.h> #ifdef CONFIG_COREDUMP struct core_vma_metadata { unsigned long start, end; unsigned long flags; unsigned long dump_size; }; extern int core_uses_pid; extern char core_pattern[]; extern unsigned int core_pipe_limit; /* * These are the only things you should do on a core-file: use only these * functions to write out all the necessary info. Loading @@ -27,14 +32,9 @@ int dump_user_range(struct coredump_params *cprm, unsigned long start, int dump_vma_snapshot(struct coredump_params *cprm, int *vma_count, struct core_vma_metadata **vma_meta, size_t *vma_data_size_ptr); #ifdef CONFIG_COREDUMP extern void do_coredump(const kernel_siginfo_t *siginfo); #else static inline void do_coredump(const kernel_siginfo_t *siginfo) {} #endif extern int core_uses_pid; extern char core_pattern[]; extern unsigned int core_pipe_limit; #endif /* _LINUX_COREDUMP_H */ Loading
include/linux/coredump.h +5 −5 Original line number Diff line number Diff line Loading @@ -7,12 +7,17 @@ #include <linux/fs.h> #include <asm/siginfo.h> #ifdef CONFIG_COREDUMP struct core_vma_metadata { unsigned long start, end; unsigned long flags; unsigned long dump_size; }; extern int core_uses_pid; extern char core_pattern[]; extern unsigned int core_pipe_limit; /* * These are the only things you should do on a core-file: use only these * functions to write out all the necessary info. Loading @@ -27,14 +32,9 @@ int dump_user_range(struct coredump_params *cprm, unsigned long start, int dump_vma_snapshot(struct coredump_params *cprm, int *vma_count, struct core_vma_metadata **vma_meta, size_t *vma_data_size_ptr); #ifdef CONFIG_COREDUMP extern void do_coredump(const kernel_siginfo_t *siginfo); #else static inline void do_coredump(const kernel_siginfo_t *siginfo) {} #endif extern int core_uses_pid; extern char core_pattern[]; extern unsigned int core_pipe_limit; #endif /* _LINUX_COREDUMP_H */