ptrace(3) should be varargs.

Bug: 16352070
Change-Id: Ied72e6e79eaf912fc93fc49ae7637af321a31a59
This commit is contained in:
Elliott Hughes
2014-07-16 15:18:54 -07:00
parent f13aa6fc5b
commit 98b088dce7
2 changed files with 25 additions and 23 deletions

View File

@@ -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