Regen (for optional ptrace)

This commit is contained in:
matt 2006-08-29 23:38:54 +00:00
parent bae263f051
commit de5e509235
2 changed files with 14 additions and 4 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: syscall.h,v 1.170 2006/07/31 16:34:44 martin Exp $ */
/* $NetBSD: syscall.h,v 1.171 2006/08/29 23:38:54 matt Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.156 2006/07/31 16:32:51 martin Exp
* created from NetBSD: syscalls.master,v 1.157 2006/08/29 23:34:48 matt Exp
*/
#ifndef _SYS_SYSCALL_H_
@ -98,9 +98,13 @@
/* syscall: "geteuid" ret: "uid_t" args: */
#define SYS_geteuid 25
#ifdef PTRACE
/* syscall: "ptrace" ret: "int" args: "int" "pid_t" "caddr_t" "int" */
#define SYS_ptrace 26
#else
/* 26 is excluded ktrace */
#endif
/* syscall: "recvmsg" ret: "ssize_t" args: "int" "struct msghdr *" "int" */
#define SYS_recvmsg 27

View File

@ -1,10 +1,10 @@
/* $NetBSD: syscallargs.h,v 1.152 2006/07/31 16:34:44 martin Exp $ */
/* $NetBSD: syscallargs.h,v 1.153 2006/08/29 23:38:54 matt Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.156 2006/07/31 16:32:51 martin Exp
* created from NetBSD: syscalls.master,v 1.157 2006/08/29 23:34:48 matt Exp
*/
#ifndef _SYS_SYSCALLARGS_H_
@ -136,6 +136,7 @@ struct sys_setuid_args {
#ifdef COMPAT_43
#else
#endif
#ifdef PTRACE
struct sys_ptrace_args {
syscallarg(int) req;
@ -143,6 +144,8 @@ struct sys_ptrace_args {
syscallarg(caddr_t) addr;
syscallarg(int) data;
};
#else
#endif
struct sys_recvmsg_args {
syscallarg(int) s;
@ -1796,8 +1799,11 @@ int sys_getuid(struct lwp *, void *, register_t *);
#endif
int sys_geteuid(struct lwp *, void *, register_t *);
#ifdef PTRACE
int sys_ptrace(struct lwp *, void *, register_t *);
#else
#endif
int sys_recvmsg(struct lwp *, void *, register_t *);
int sys_sendmsg(struct lwp *, void *, register_t *);