Regen (for PTRACE).
This commit is contained in:
parent
181c494b95
commit
5efede10eb
|
@ -1,10 +1,10 @@
|
|||
/* $NetBSD: freebsd_syscall.h,v 1.64 2006/07/31 16:34:43 martin Exp $ */
|
||||
/* $NetBSD: freebsd_syscall.h,v 1.65 2006/08/30 11:05:14 matt Exp $ */
|
||||
|
||||
/*
|
||||
* System call numbers.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.53 2006/07/31 16:32:51 martin Exp
|
||||
* created from NetBSD: syscalls.master,v 1.54 2006/08/30 11:04:37 matt Exp
|
||||
*/
|
||||
|
||||
#ifndef _FREEBSD_SYS_SYSCALL_H_
|
||||
|
@ -86,9 +86,13 @@
|
|||
/* syscall: "geteuid" ret: "uid_t" args: */
|
||||
#define FREEBSD_SYS_geteuid 25
|
||||
|
||||
#ifdef PTRACE
|
||||
/* syscall: "ptrace" ret: "int" args: "int" "pid_t" "caddr_t" "int" */
|
||||
#define FREEBSD_SYS_ptrace 26
|
||||
|
||||
#else
|
||||
/* 26 is excluded ptrace */
|
||||
#endif
|
||||
/* syscall: "recvmsg" ret: "int" args: "int" "struct msghdr *" "int" */
|
||||
#define FREEBSD_SYS_recvmsg 27
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
/* $NetBSD: freebsd_syscallargs.h,v 1.67 2006/07/31 16:34:43 martin Exp $ */
|
||||
/* $NetBSD: freebsd_syscallargs.h,v 1.68 2006/08/30 11:05:14 matt Exp $ */
|
||||
|
||||
/*
|
||||
* System call argument lists.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.53 2006/07/31 16:32:51 martin Exp
|
||||
* created from NetBSD: syscalls.master,v 1.54 2006/08/30 11:04:37 matt Exp
|
||||
*/
|
||||
|
||||
#ifndef _FREEBSD_SYS_SYSCALLARGS_H_
|
||||
|
@ -79,6 +79,7 @@ struct freebsd_sys_unmount_args {
|
|||
syscallarg(const char *) path;
|
||||
syscallarg(int) flags;
|
||||
};
|
||||
#ifdef PTRACE
|
||||
|
||||
struct freebsd_sys_ptrace_args {
|
||||
syscallarg(int) req;
|
||||
|
@ -86,6 +87,8 @@ struct freebsd_sys_ptrace_args {
|
|||
syscallarg(caddr_t) addr;
|
||||
syscallarg(int) data;
|
||||
};
|
||||
#else
|
||||
#endif
|
||||
|
||||
struct freebsd_sys_access_args {
|
||||
syscallarg(const char *) path;
|
||||
|
@ -408,8 +411,11 @@ int sys_getuid_with_euid(struct lwp *, void *, register_t *);
|
|||
|
||||
int sys_geteuid(struct lwp *, void *, register_t *);
|
||||
|
||||
#ifdef PTRACE
|
||||
int freebsd_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 *);
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
/* $NetBSD: freebsd_syscalls.c,v 1.64 2006/07/31 16:34:43 martin Exp $ */
|
||||
/* $NetBSD: freebsd_syscalls.c,v 1.65 2006/08/30 11:05:14 matt Exp $ */
|
||||
|
||||
/*
|
||||
* System call names.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.53 2006/07/31 16:32:51 martin Exp
|
||||
* created from NetBSD: syscalls.master,v 1.54 2006/08/30 11:04:37 matt Exp
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: freebsd_syscalls.c,v 1.64 2006/07/31 16:34:43 martin Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: freebsd_syscalls.c,v 1.65 2006/08/30 11:05:14 matt Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#if defined(_KERNEL_OPT)
|
||||
|
@ -18,6 +18,7 @@ __KERNEL_RCSID(0, "$NetBSD: freebsd_syscalls.c,v 1.64 2006/07/31 16:34:43 martin
|
|||
#include "opt_sysv.h"
|
||||
#include "opt_compat_43.h"
|
||||
#include "opt_posix.h"
|
||||
#include "opt_ptrace.h"
|
||||
#include "fs_lfs.h"
|
||||
#include "fs_nfs.h"
|
||||
#endif
|
||||
|
@ -59,7 +60,11 @@ const char *const freebsd_syscallnames[] = {
|
|||
"setuid", /* 23 = setuid */
|
||||
"getuid_with_euid", /* 24 = getuid_with_euid */
|
||||
"geteuid", /* 25 = geteuid */
|
||||
#ifdef PTRACE
|
||||
"ptrace", /* 26 = ptrace */
|
||||
#else
|
||||
"#26 (excluded ptrace)", /* 26 = excluded ptrace */
|
||||
#endif
|
||||
"recvmsg", /* 27 = recvmsg */
|
||||
"sendmsg", /* 28 = sendmsg */
|
||||
"recvfrom", /* 29 = recvfrom */
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
/* $NetBSD: freebsd_sysent.c,v 1.66 2006/07/31 16:34:43 martin Exp $ */
|
||||
/* $NetBSD: freebsd_sysent.c,v 1.67 2006/08/30 11:05:14 matt Exp $ */
|
||||
|
||||
/*
|
||||
* System call switch table.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.53 2006/07/31 16:32:51 martin Exp
|
||||
* created from NetBSD: syscalls.master,v 1.54 2006/08/30 11:04:37 matt Exp
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: freebsd_sysent.c,v 1.66 2006/07/31 16:34:43 martin Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: freebsd_sysent.c,v 1.67 2006/08/30 11:05:14 matt Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#include "opt_ktrace.h"
|
||||
|
@ -17,6 +17,7 @@ __KERNEL_RCSID(0, "$NetBSD: freebsd_sysent.c,v 1.66 2006/07/31 16:34:43 martin E
|
|||
#include "opt_sysv.h"
|
||||
#include "opt_compat_43.h"
|
||||
#include "opt_posix.h"
|
||||
#include "opt_ptrace.h"
|
||||
#include "fs_lfs.h"
|
||||
#include "fs_nfs.h"
|
||||
#endif
|
||||
|
@ -85,8 +86,13 @@ struct sysent freebsd_sysent[] = {
|
|||
sys_getuid_with_euid }, /* 24 = getuid_with_euid */
|
||||
{ 0, 0, 0,
|
||||
sys_geteuid }, /* 25 = geteuid */
|
||||
#ifdef PTRACE
|
||||
{ 4, s(struct freebsd_sys_ptrace_args), 0,
|
||||
freebsd_sys_ptrace }, /* 26 = ptrace */
|
||||
#else
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 26 = excluded ptrace */
|
||||
#endif
|
||||
{ 3, s(struct sys_recvmsg_args), 0,
|
||||
sys_recvmsg }, /* 27 = recvmsg */
|
||||
{ 3, s(struct sys_sendmsg_args), 0,
|
||||
|
|
Loading…
Reference in New Issue