diff options
author | Alex Kelly <alex.page.kelly@gmail.com> | 2012-10-04 20:15:24 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-05 14:05:15 -0400 |
commit | 179899fd5dc780fe3bcd44d0eb7823e3d855c855 (patch) | |
tree | a2e7bf0098162e1fa940cad56bb1e99ec10440ca /include/linux/binfmts.h | |
parent | 046d662f481830e652ac34cd112249adde16452a (diff) |
coredump: update coredump-related headers
Create a new header file, fs/coredump.h, which contains functions only
used by the new coredump.c. It also moves do_coredump to the
include/linux/coredump.h header file, for consistency.
Signed-off-by: Alex Kelly <alex.page.kelly@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/binfmts.h')
-rw-r--r-- | include/linux/binfmts.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/binfmts.h b/include/linux/binfmts.h index 00e2e890895..c7b16ee7141 100644 --- a/include/linux/binfmts.h +++ b/include/linux/binfmts.h | |||
@@ -132,11 +132,6 @@ extern int copy_strings_kernel(int argc, const char *const *argv, | |||
132 | struct linux_binprm *bprm); | 132 | struct linux_binprm *bprm); |
133 | extern int prepare_bprm_creds(struct linux_binprm *bprm); | 133 | extern int prepare_bprm_creds(struct linux_binprm *bprm); |
134 | extern void install_exec_creds(struct linux_binprm *bprm); | 134 | extern void install_exec_creds(struct linux_binprm *bprm); |
135 | #ifdef CONFIG_COREDUMP | ||
136 | extern void do_coredump(long signr, int exit_code, struct pt_regs *regs); | ||
137 | #else | ||
138 | static inline void do_coredump(long signr, int exit_code, struct pt_regs *regs) {} | ||
139 | #endif | ||
140 | extern void set_binfmt(struct linux_binfmt *new); | 135 | extern void set_binfmt(struct linux_binfmt *new); |
141 | extern void free_bprm(struct linux_binprm *); | 136 | extern void free_bprm(struct linux_binprm *); |
142 | 137 | ||