Update of /cvsroot/mkdump/mkexecpatch/2.0/linus/2.6.17/include/linux
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv22290/include/linux
Added Files:
mkexec_dump.h
Log Message:
support 2.6.17
(caution: only i386 done)
--- NEW FILE: mkexec_dump.h ---
/*
* include/linux/mkexec_dump.h
*
* $Id: mkexec_dump.h,v 1.1 2006/11/22 01:30:32 odaodab Exp $
*
* Portions Copyright (C) 2004 NTT DATA CORPORATION.
* Portions Copyright (C) 2004 VA Linux Systems Japan K.K.
*
* This file is part of Mkdump.
*
* Mkdump is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation (version 2 of the License).
*
* Mkdump is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Mkdump; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef _LINUX_MKEXEC_DUMP_H_
#define _LINUX_MKEXEC_DUMP_H_
#include <linux/ptrace.h>
#ifdef CONFIG_DUMP_MKEXEC
extern void (*do_dump_func)(char *, struct pt_regs *);
extern void do_dump(char *panic_str, struct pt_regs *regs);
#else /* CONFIG_DUMP_MKEXEC */
static inline void do_dump(char *panic_str, struct pt_regs *regs) {}
#endif /* CONFIG_DUMP_MKEXEC */
#endif /* _LINUX_MKEXEC_DUMP_H_ */
|