ptrace(3) should be varargs.
Bug: 16352070 Change-Id: Ied72e6e79eaf912fc93fc49ae7637af321a31a59
This commit is contained in:
@@ -30,15 +30,15 @@
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include <sys/types.h>
|
||||
/* For all of the defines */
|
||||
#include <linux/ptrace.h>
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
#define PTRACE_POKEUSER PTRACE_POKEUSR
|
||||
#define PTRACE_PEEKUSER PTRACE_PEEKUSR
|
||||
/* glibc uses different names from the kernel for these two... */
|
||||
#define PTRACE_POKEUSER PTRACE_POKEUSR
|
||||
#define PTRACE_PEEKUSER PTRACE_PEEKUSR
|
||||
|
||||
extern long ptrace(int request, pid_t pid, void *addr, void *data);
|
||||
extern long ptrace(int, ...);
|
||||
|
||||
__END_DECLS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user