regen
This commit is contained in:
parent
3de8e14458
commit
a3cfad0d94
@ -1,14 +1,14 @@
|
||||
/* $NetBSD: init_sysent.c,v 1.297 2015/05/13 02:13:08 pgoyette Exp $ */
|
||||
/* $NetBSD: init_sysent.c,v 1.298 2015/06/18 15:19:50 pooka Exp $ */
|
||||
|
||||
/*
|
||||
* System call switch table.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.277 2015/05/13 02:10:46 pgoyette Exp
|
||||
* created from NetBSD: syscalls.master,v 1.278 2015/06/18 15:16:12 pooka Exp
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.297 2015/05/13 02:13:08 pgoyette Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.298 2015/06/18 15:19:50 pooka Exp $");
|
||||
|
||||
#include "opt_modular.h"
|
||||
#include "opt_ntp.h"
|
||||
|
@ -1,14 +1,14 @@
|
||||
/* $NetBSD: syscalls.c,v 1.286 2015/05/13 02:13:08 pgoyette Exp $ */
|
||||
/* $NetBSD: syscalls.c,v 1.287 2015/06/18 15:19:50 pooka Exp $ */
|
||||
|
||||
/*
|
||||
* System call names.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.277 2015/05/13 02:10:46 pgoyette Exp
|
||||
* created from NetBSD: syscalls.master,v 1.278 2015/06/18 15:16:12 pooka Exp
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.286 2015/05/13 02:13:08 pgoyette Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.287 2015/06/18 15:19:50 pooka Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#include "opt_modular.h"
|
||||
|
@ -1,14 +1,14 @@
|
||||
/* $NetBSD: syscalls_autoload.c,v 1.4 2015/05/13 02:13:08 pgoyette Exp $ */
|
||||
/* $NetBSD: syscalls_autoload.c,v 1.5 2015/06/18 15:19:50 pooka Exp $ */
|
||||
|
||||
/*
|
||||
* System call autoload table.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.277 2015/05/13 02:10:46 pgoyette Exp
|
||||
* created from NetBSD: syscalls.master,v 1.278 2015/06/18 15:16:12 pooka Exp
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: syscalls_autoload.c,v 1.4 2015/05/13 02:13:08 pgoyette Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: syscalls_autoload.c,v 1.5 2015/06/18 15:19:50 pooka Exp $");
|
||||
|
||||
static struct {
|
||||
u_int al_code;
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,10 +1,10 @@
|
||||
/* $NetBSD: rump_syscalls.c,v 1.112 2015/05/13 02:13:08 pgoyette Exp $ */
|
||||
/* $NetBSD: rump_syscalls.c,v 1.113 2015/06/18 15:19:50 pooka Exp $ */
|
||||
|
||||
/*
|
||||
* System call vector and marshalling for rump.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.277 2015/05/13 02:10:46 pgoyette Exp
|
||||
* created from NetBSD: syscalls.master,v 1.278 2015/06/18 15:16:12 pooka Exp
|
||||
*/
|
||||
|
||||
#ifdef RUMP_CLIENT
|
||||
@ -15,7 +15,7 @@
|
||||
|
||||
#ifdef __NetBSD__
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: rump_syscalls.c,v 1.112 2015/05/13 02:13:08 pgoyette Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: rump_syscalls.c,v 1.113 2015/06/18 15:19:50 pooka Exp $");
|
||||
|
||||
#include <sys/fstypes.h>
|
||||
#include <sys/proc.h>
|
||||
@ -3073,6 +3073,96 @@ __strong_alias(_sys_lutimes,rump___sysimpl_lutimes);
|
||||
#endif /* RUMP_KERNEL_IS_LIBC */
|
||||
#endif /* RUMP_SYS_COMPAT */
|
||||
|
||||
int rump___sysimpl___posix_chown(const char *, uid_t, gid_t);
|
||||
int
|
||||
rump___sysimpl___posix_chown(const char * path, uid_t uid, gid_t gid)
|
||||
{
|
||||
register_t retval[2];
|
||||
int error = 0;
|
||||
int rv = -1;
|
||||
struct sys___posix_chown_args callarg;
|
||||
|
||||
memset(&callarg, 0, sizeof(callarg));
|
||||
SPARG(&callarg, path) = path;
|
||||
SPARG(&callarg, uid) = uid;
|
||||
SPARG(&callarg, gid) = gid;
|
||||
|
||||
error = rsys_syscall(SYS___posix_chown, &callarg, sizeof(callarg), retval);
|
||||
rsys_seterrno(error);
|
||||
if (error == 0) {
|
||||
if (sizeof(int) > sizeof(register_t))
|
||||
rv = *(int *)retval;
|
||||
else
|
||||
rv = *retval;
|
||||
}
|
||||
return rv;
|
||||
}
|
||||
#ifdef RUMP_KERNEL_IS_LIBC
|
||||
__weak_alias(__posix_chown,rump___sysimpl___posix_chown);
|
||||
__weak_alias(___posix_chown,rump___sysimpl___posix_chown);
|
||||
__strong_alias(_sys___posix_chown,rump___sysimpl___posix_chown);
|
||||
#endif /* RUMP_KERNEL_IS_LIBC */
|
||||
|
||||
int rump___sysimpl___posix_fchown(int, uid_t, gid_t);
|
||||
int
|
||||
rump___sysimpl___posix_fchown(int fd, uid_t uid, gid_t gid)
|
||||
{
|
||||
register_t retval[2];
|
||||
int error = 0;
|
||||
int rv = -1;
|
||||
struct sys___posix_fchown_args callarg;
|
||||
|
||||
memset(&callarg, 0, sizeof(callarg));
|
||||
SPARG(&callarg, fd) = fd;
|
||||
SPARG(&callarg, uid) = uid;
|
||||
SPARG(&callarg, gid) = gid;
|
||||
|
||||
error = rsys_syscall(SYS___posix_fchown, &callarg, sizeof(callarg), retval);
|
||||
rsys_seterrno(error);
|
||||
if (error == 0) {
|
||||
if (sizeof(int) > sizeof(register_t))
|
||||
rv = *(int *)retval;
|
||||
else
|
||||
rv = *retval;
|
||||
}
|
||||
return rv;
|
||||
}
|
||||
#ifdef RUMP_KERNEL_IS_LIBC
|
||||
__weak_alias(__posix_fchown,rump___sysimpl___posix_fchown);
|
||||
__weak_alias(___posix_fchown,rump___sysimpl___posix_fchown);
|
||||
__strong_alias(_sys___posix_fchown,rump___sysimpl___posix_fchown);
|
||||
#endif /* RUMP_KERNEL_IS_LIBC */
|
||||
|
||||
int rump___sysimpl___posix_lchown(const char *, uid_t, gid_t);
|
||||
int
|
||||
rump___sysimpl___posix_lchown(const char * path, uid_t uid, gid_t gid)
|
||||
{
|
||||
register_t retval[2];
|
||||
int error = 0;
|
||||
int rv = -1;
|
||||
struct sys___posix_lchown_args callarg;
|
||||
|
||||
memset(&callarg, 0, sizeof(callarg));
|
||||
SPARG(&callarg, path) = path;
|
||||
SPARG(&callarg, uid) = uid;
|
||||
SPARG(&callarg, gid) = gid;
|
||||
|
||||
error = rsys_syscall(SYS___posix_lchown, &callarg, sizeof(callarg), retval);
|
||||
rsys_seterrno(error);
|
||||
if (error == 0) {
|
||||
if (sizeof(int) > sizeof(register_t))
|
||||
rv = *(int *)retval;
|
||||
else
|
||||
rv = *retval;
|
||||
}
|
||||
return rv;
|
||||
}
|
||||
#ifdef RUMP_KERNEL_IS_LIBC
|
||||
__weak_alias(__posix_lchown,rump___sysimpl___posix_lchown);
|
||||
__weak_alias(___posix_lchown,rump___sysimpl___posix_lchown);
|
||||
__strong_alias(_sys___posix_lchown,rump___sysimpl___posix_lchown);
|
||||
#endif /* RUMP_KERNEL_IS_LIBC */
|
||||
|
||||
pid_t rump___sysimpl_getsid(pid_t);
|
||||
pid_t
|
||||
rump___sysimpl_getsid(pid_t pid)
|
||||
@ -7547,14 +7637,17 @@ struct sysent rump_sysent[] = {
|
||||
.sy_call = (sy_call_t *)rumpns_enosys,
|
||||
}, /* 282 = __vfork14 */
|
||||
{
|
||||
ns(struct sys___posix_chown_args),
|
||||
.sy_call = (sy_call_t *)rumpns_enosys,
|
||||
}, /* 283 = __posix_chown */
|
||||
}, /* 283 = __posix_chown */
|
||||
{
|
||||
ns(struct sys___posix_fchown_args),
|
||||
.sy_call = (sy_call_t *)rumpns_enosys,
|
||||
}, /* 284 = __posix_fchown */
|
||||
}, /* 284 = __posix_fchown */
|
||||
{
|
||||
ns(struct sys___posix_lchown_args),
|
||||
.sy_call = (sy_call_t *)rumpns_enosys,
|
||||
}, /* 285 = __posix_lchown */
|
||||
}, /* 285 = __posix_lchown */
|
||||
{
|
||||
ns(struct sys_getsid_args),
|
||||
.sy_call = (sy_call_t *)rumpns_enosys,
|
||||
|
@ -1,9 +1,9 @@
|
||||
/* $NetBSD: rumpkern_syscalls.c,v 1.2 2014/04/27 16:30:09 pooka Exp $ */
|
||||
/* $NetBSD: rumpkern_syscalls.c,v 1.3 2015/06/18 15:19:50 pooka Exp $ */
|
||||
|
||||
/* AUTOMATICALLY GENERATED BY makerumpsyscalls.sh */
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: rumpkern_syscalls.c,v 1.2 2014/04/27 16:30:09 pooka Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: rumpkern_syscalls.c,v 1.3 2015/06/18 15:19:50 pooka Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
/* $NetBSD: rumpnet_syscalls.c,v 1.2 2014/04/27 16:30:09 pooka Exp $ */
|
||||
/* $NetBSD: rumpnet_syscalls.c,v 1.3 2015/06/18 15:19:50 pooka Exp $ */
|
||||
|
||||
/* AUTOMATICALLY GENERATED BY makerumpsyscalls.sh */
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: rumpnet_syscalls.c,v 1.2 2014/04/27 16:30:09 pooka Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: rumpnet_syscalls.c,v 1.3 2015/06/18 15:19:50 pooka Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
/* $NetBSD: rumpvfs_syscalls.c,v 1.3 2015/04/08 13:31:42 justin Exp $ */
|
||||
/* $NetBSD: rumpvfs_syscalls.c,v 1.4 2015/06/18 15:19:50 pooka Exp $ */
|
||||
|
||||
/* AUTOMATICALLY GENERATED BY makerumpsyscalls.sh */
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: rumpvfs_syscalls.c,v 1.3 2015/04/08 13:31:42 justin Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: rumpvfs_syscalls.c,v 1.4 2015/06/18 15:19:50 pooka Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
|
||||
@ -44,6 +44,9 @@ extern sy_call_t sys_fdatasync;
|
||||
extern sy_call_t sys___posix_rename;
|
||||
extern sy_call_t sys_lchmod;
|
||||
extern sy_call_t sys_lchown;
|
||||
extern sy_call_t sys___posix_chown;
|
||||
extern sy_call_t sys___posix_fchown;
|
||||
extern sy_call_t sys___posix_lchown;
|
||||
extern sy_call_t sys_preadv;
|
||||
extern sy_call_t sys_pwritev;
|
||||
extern sy_call_t sys___getcwd;
|
||||
@ -145,6 +148,9 @@ static const struct rump_onesyscall mysys[] = {
|
||||
{ 270, sys___posix_rename },
|
||||
{ 274, sys_lchmod },
|
||||
{ 275, sys_lchown },
|
||||
{ 283, sys___posix_chown },
|
||||
{ 284, sys___posix_fchown },
|
||||
{ 285, sys___posix_lchown },
|
||||
{ 289, sys_preadv },
|
||||
{ 290, sys_pwritev },
|
||||
{ 296, sys___getcwd },
|
||||
|
@ -104,6 +104,9 @@
|
||||
274 sys_lchmod lchmod rump___sysimpl_lchmod
|
||||
275 sys_lchown lchown rump___sysimpl_lchown
|
||||
276 sys_nomodule lutimes rump___sysimpl_lutimes
|
||||
283 sys___posix_chown __posix_chown rump___sysimpl___posix_chown
|
||||
284 sys___posix_fchown __posix_fchown rump___sysimpl___posix_fchown
|
||||
285 sys___posix_lchown __posix_lchown rump___sysimpl___posix_lchown
|
||||
286 sys_getsid getsid rump___sysimpl_getsid
|
||||
288 sys_fktrace fktrace rump___sysimpl_fktrace
|
||||
289 sys_preadv preadv rump___sysimpl_preadv
|
||||
|
@ -1,10 +1,10 @@
|
||||
/* $NetBSD: syscall.h,v 1.281 2015/05/13 02:13:08 pgoyette Exp $ */
|
||||
/* $NetBSD: syscall.h,v 1.282 2015/06/18 15:19:50 pooka Exp $ */
|
||||
|
||||
/*
|
||||
* System call numbers.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.277 2015/05/13 02:10:46 pgoyette Exp
|
||||
* created from NetBSD: syscalls.master,v 1.278 2015/06/18 15:16:12 pooka Exp
|
||||
*/
|
||||
|
||||
#ifndef _SYS_SYSCALL_H_
|
||||
|
@ -1,10 +1,10 @@
|
||||
/* $NetBSD: syscallargs.h,v 1.265 2015/05/13 02:13:08 pgoyette Exp $ */
|
||||
/* $NetBSD: syscallargs.h,v 1.266 2015/06/18 15:19:50 pooka Exp $ */
|
||||
|
||||
/*
|
||||
* System call argument lists.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.277 2015/05/13 02:10:46 pgoyette Exp
|
||||
* created from NetBSD: syscalls.master,v 1.278 2015/06/18 15:16:12 pooka Exp
|
||||
*/
|
||||
|
||||
#ifndef _SYS_SYSCALLARGS_H_
|
||||
@ -1765,32 +1765,26 @@ struct sys___sigaltstack14_args {
|
||||
check_syscall_args(sys___sigaltstack14)
|
||||
#endif /* !RUMP_CLIENT */
|
||||
|
||||
#ifndef RUMP_CLIENT
|
||||
struct sys___posix_chown_args {
|
||||
syscallarg(const char *) path;
|
||||
syscallarg(uid_t) uid;
|
||||
syscallarg(gid_t) gid;
|
||||
};
|
||||
check_syscall_args(sys___posix_chown)
|
||||
#endif /* !RUMP_CLIENT */
|
||||
|
||||
#ifndef RUMP_CLIENT
|
||||
struct sys___posix_fchown_args {
|
||||
syscallarg(int) fd;
|
||||
syscallarg(uid_t) uid;
|
||||
syscallarg(gid_t) gid;
|
||||
};
|
||||
check_syscall_args(sys___posix_fchown)
|
||||
#endif /* !RUMP_CLIENT */
|
||||
|
||||
#ifndef RUMP_CLIENT
|
||||
struct sys___posix_lchown_args {
|
||||
syscallarg(const char *) path;
|
||||
syscallarg(uid_t) uid;
|
||||
syscallarg(gid_t) gid;
|
||||
};
|
||||
check_syscall_args(sys___posix_lchown)
|
||||
#endif /* !RUMP_CLIENT */
|
||||
|
||||
struct sys_getsid_args {
|
||||
syscallarg(pid_t) pid;
|
||||
|
Loading…
Reference in New Issue
Block a user