You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
362 B
19 lines
362 B
/*
|
|
* Copyright (C) 2004 Jeff Dike (jdike@addtoit.com)
|
|
* Licensed under the GPL
|
|
*/
|
|
|
|
#ifndef __SYSDEP_STUB_H
|
|
#define __SYSDEP_STUB_H
|
|
|
|
#include <asm/ptrace.h>
|
|
#include <asm/unistd.h>
|
|
#include <sysdep/ptrace_user.h>
|
|
|
|
extern void stub_segv_handler(int sig);
|
|
|
|
#define STUB_SYSCALL_RET PT_INDEX(RAX)
|
|
#define STUB_MMAP_NR __NR_mmap
|
|
#define MMAP_OFFSET(o) (o)
|
|
|
|
#endif
|
|
|