reregengen
This commit is contained in:
parent
e69be3f980
commit
ef738750b7
@ -1,14 +1,14 @@
|
||||
/* $NetBSD: init_sysent.c,v 1.279 2013/12/09 21:13:22 pooka Exp $ */
|
||||
/* $NetBSD: init_sysent.c,v 1.280 2013/12/11 09:45:02 pooka Exp $ */
|
||||
|
||||
/*
|
||||
* System call switch table.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.265 2013/12/09 17:13:17 pooka Exp
|
||||
* created from NetBSD: syscalls.master,v 1.266 2013/12/11 09:40:56 pooka Exp
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.279 2013/12/09 21:13:22 pooka Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.280 2013/12/11 09:45:02 pooka Exp $");
|
||||
|
||||
#include "opt_modular.h"
|
||||
#include "opt_ntp.h"
|
||||
|
@ -1,14 +1,14 @@
|
||||
/* $NetBSD: syscalls.c,v 1.270 2013/12/09 21:13:22 pooka Exp $ */
|
||||
/* $NetBSD: syscalls.c,v 1.271 2013/12/11 09:45:02 pooka Exp $ */
|
||||
|
||||
/*
|
||||
* System call names.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.265 2013/12/09 17:13:17 pooka Exp
|
||||
* created from NetBSD: syscalls.master,v 1.266 2013/12/11 09:40:56 pooka Exp
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.270 2013/12/09 21:13:22 pooka Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.271 2013/12/11 09:45:02 pooka Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#include "opt_modular.h"
|
||||
|
@ -1,10 +1,10 @@
|
||||
/* $NetBSD: rump_syscalls.h,v 1.71 2013/12/09 21:13:22 pooka Exp $ */
|
||||
/* $NetBSD: rump_syscalls.h,v 1.72 2013/12/11 09:45:02 pooka Exp $ */
|
||||
|
||||
/*
|
||||
* System call protos in rump namespace.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.265 2013/12/09 17:13:17 pooka Exp
|
||||
* created from NetBSD: syscalls.master,v 1.266 2013/12/11 09:40:56 pooka Exp
|
||||
*/
|
||||
|
||||
#ifndef _RUMP_RUMP_SYSCALLS_H_
|
||||
@ -572,6 +572,10 @@
|
||||
#define RUMP_SYS_RENAME_EXTATTR_SET_FD rump___sysimpl_extattr_set_fd
|
||||
#endif
|
||||
|
||||
#ifndef RUMP_SYS_RENAME_UTRACE
|
||||
#define RUMP_SYS_RENAME_UTRACE rump___sysimpl_utrace
|
||||
#endif
|
||||
|
||||
#ifndef RUMP_SYS_RENAME_UMASK
|
||||
#define RUMP_SYS_RENAME_UMASK rump___sysimpl_umask
|
||||
#endif
|
||||
@ -838,6 +842,7 @@ int rump_sys___getcwd(char *, size_t) __RENAME(RUMP_SYS_RENAME___GETCWD);
|
||||
int rump_sys_fchroot(int) __RENAME(RUMP_SYS_RENAME_FCHROOT);
|
||||
int rump_sys_lchflags(const char *, u_long) __RENAME(RUMP_SYS_RENAME_LCHFLAGS);
|
||||
int rump_sys_issetugid(void) __RENAME(RUMP_SYS_RENAME_ISSETUGID);
|
||||
int rump_sys_utrace(const char *, void *, size_t) __RENAME(RUMP_SYS_RENAME_UTRACE);
|
||||
int rump_sys_kqueue(void) __RENAME(RUMP_SYS_RENAME_KQUEUE);
|
||||
int rump_sys_kevent(int, const struct kevent *, size_t, struct kevent *, size_t, const struct timespec *) __RENAME(RUMP_SYS_RENAME_KEVENT);
|
||||
int rump_sys_fsync_range(int, int, off_t, off_t) __RENAME(RUMP_SYS_RENAME_FSYNC_RANGE);
|
||||
|
@ -1,10 +1,10 @@
|
||||
/* $NetBSD: rump_syscalls.c,v 1.96 2013/12/09 21:13:22 pooka Exp $ */
|
||||
/* $NetBSD: rump_syscalls.c,v 1.97 2013/12/11 09:45:02 pooka Exp $ */
|
||||
|
||||
/*
|
||||
* System call vector and marshalling for rump.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.265 2013/12/09 17:13:17 pooka Exp
|
||||
* created from NetBSD: syscalls.master,v 1.266 2013/12/11 09:40:56 pooka Exp
|
||||
*/
|
||||
|
||||
#ifdef RUMP_CLIENT
|
||||
@ -15,7 +15,7 @@
|
||||
|
||||
#ifdef __NetBSD__
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: rump_syscalls.c,v 1.96 2013/12/09 21:13:22 pooka Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: rump_syscalls.c,v 1.97 2013/12/11 09:45:02 pooka Exp $");
|
||||
|
||||
#include <sys/fstypes.h>
|
||||
#include <sys/proc.h>
|
||||
@ -2867,6 +2867,33 @@ rump___sysimpl_issetugid(void )
|
||||
rsys_define(rumpns_sys_issetugid);
|
||||
rsys_aliases(issetugid,rump___sysimpl_issetugid);
|
||||
|
||||
int rump___sysimpl_utrace(const char *, void *, size_t);
|
||||
int
|
||||
rump___sysimpl_utrace(const char * label, void * addr, size_t len)
|
||||
{
|
||||
register_t retval[2];
|
||||
int error = 0;
|
||||
int rv = -1;
|
||||
struct sys_utrace_args callarg;
|
||||
|
||||
memset(&callarg, 0, sizeof(callarg));
|
||||
SPARG(&callarg, label) = label;
|
||||
SPARG(&callarg, addr) = addr;
|
||||
SPARG(&callarg, len) = len;
|
||||
|
||||
error = rsys_syscall(SYS_utrace, &callarg, sizeof(callarg), retval);
|
||||
rsys_seterrno(error);
|
||||
if (error == 0) {
|
||||
if (sizeof(int) > sizeof(register_t))
|
||||
rv = *(int *)retval;
|
||||
else
|
||||
rv = *retval;
|
||||
}
|
||||
return rv;
|
||||
}
|
||||
rsys_define(rumpns_sys_utrace);
|
||||
rsys_aliases(utrace,rump___sysimpl_utrace);
|
||||
|
||||
int rump___sysimpl_kqueue(void);
|
||||
int
|
||||
rump___sysimpl_kqueue(void )
|
||||
@ -5717,8 +5744,8 @@ struct sysent rump_sysent[] = {
|
||||
(sy_call_t *)rumpns_sys_lchflags }, /* 304 = lchflags */
|
||||
{ 0, 0, 0,
|
||||
(sy_call_t *)rumpns_sys_issetugid },/* 305 = issetugid */
|
||||
{ 0, 0, SYCALL_NOSYS,
|
||||
(sy_call_t *)rump_enosys }, /* 306 = utrace */
|
||||
{ ns(struct sys_utrace_args), 0,
|
||||
(sy_call_t *)rumpns_sys_utrace }, /* 306 = utrace */
|
||||
{ 0, 0, SYCALL_NOSYS,
|
||||
(sy_call_t *)rump_enosys }, /* 307 = getcontext */
|
||||
{ 0, 0, SYCALL_NOSYS,
|
||||
|
@ -1,10 +1,10 @@
|
||||
/* $NetBSD: syscall.h,v 1.266 2013/12/09 21:13:21 pooka Exp $ */
|
||||
/* $NetBSD: syscall.h,v 1.267 2013/12/11 09:45:01 pooka Exp $ */
|
||||
|
||||
/*
|
||||
* System call numbers.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.265 2013/12/09 17:13:17 pooka Exp
|
||||
* created from NetBSD: syscalls.master,v 1.266 2013/12/11 09:40:56 pooka Exp
|
||||
*/
|
||||
|
||||
#ifndef _SYS_SYSCALL_H_
|
||||
|
@ -1,10 +1,10 @@
|
||||
/* $NetBSD: syscallargs.h,v 1.249 2013/12/09 21:13:21 pooka Exp $ */
|
||||
/* $NetBSD: syscallargs.h,v 1.250 2013/12/11 09:45:01 pooka Exp $ */
|
||||
|
||||
/*
|
||||
* System call argument lists.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.265 2013/12/09 17:13:17 pooka Exp
|
||||
* created from NetBSD: syscalls.master,v 1.266 2013/12/11 09:40:56 pooka Exp
|
||||
*/
|
||||
|
||||
#ifndef _SYS_SYSCALLARGS_H_
|
||||
@ -1965,14 +1965,12 @@ struct sys_lchflags_args {
|
||||
};
|
||||
check_syscall_args(sys_lchflags)
|
||||
|
||||
#ifndef RUMP_CLIENT
|
||||
struct sys_utrace_args {
|
||||
syscallarg(const char *) label;
|
||||
syscallarg(void *) addr;
|
||||
syscallarg(size_t) len;
|
||||
};
|
||||
check_syscall_args(sys_utrace)
|
||||
#endif /* !RUMP_CLIENT */
|
||||
|
||||
#ifndef RUMP_CLIENT
|
||||
struct sys_getcontext_args {
|
||||
|
Loading…
Reference in New Issue
Block a user