Regen for siggetmask/sigsetmask.

This commit is contained in:
njoly 2009-06-02 16:55:16 +00:00
parent 9a0f18cccc
commit 49c8536f1f
4 changed files with 30 additions and 16 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux32_syscall.h,v 1.53 2009/01/30 13:57:39 njoly Exp $ */
/* $NetBSD: linux32_syscall.h,v 1.54 2009/06/02 16:55:16 njoly Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.50 2009/01/30 13:55:51 njoly Exp
* created from NetBSD: syscalls.master,v 1.51 2009/06/02 16:54:39 njoly Exp
*/
#ifndef _LINUX32_SYS_SYSCALL_H_
@ -184,6 +184,12 @@
/* syscall: "setsid" ret: "int" args: */
#define LINUX32_SYS_setsid 66
/* syscall: "siggetmask" ret: "int" args: */
#define LINUX32_SYS_siggetmask 68
/* syscall: "sigsetmask" ret: "int" args: "linux32_old_sigset_t" */
#define LINUX32_SYS_sigsetmask 69
/* syscall: "setreuid16" ret: "int" args: "linux32_uid16_t" "linux32_uid16_t" */
#define LINUX32_SYS_setreuid16 70

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux32_syscallargs.h,v 1.53 2009/01/30 13:57:39 njoly Exp $ */
/* $NetBSD: linux32_syscallargs.h,v 1.54 2009/06/02 16:55:16 njoly Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.50 2009/01/30 13:55:51 njoly Exp
* created from NetBSD: syscalls.master,v 1.51 2009/06/02 16:54:39 njoly Exp
*/
#ifndef _LINUX32_SYS_SYSCALLARGS_H_
@ -197,6 +197,11 @@ struct netbsd32_chroot_args;
struct netbsd32_dup2_args;
struct linux32_sys_sigsetmask_args {
syscallarg(linux32_old_sigset_t) mask;
};
check_syscall_args(linux32_sys_sigsetmask)
struct linux32_sys_setreuid16_args {
syscallarg(linux32_uid16_t) ruid;
syscallarg(linux32_uid16_t) euid;
@ -823,6 +828,10 @@ int sys_getpgrp(struct lwp *, const void *, register_t *);
int sys_setsid(struct lwp *, const void *, register_t *);
int linux32_sys_siggetmask(struct lwp *, const void *, register_t *);
int linux32_sys_sigsetmask(struct lwp *, const struct linux32_sys_sigsetmask_args *, register_t *);
int linux32_sys_setreuid16(struct lwp *, const struct linux32_sys_setreuid16_args *, register_t *);
int linux32_sys_setregid16(struct lwp *, const struct linux32_sys_setregid16_args *, register_t *);

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux32_syscalls.c,v 1.53 2009/01/30 13:57:39 njoly Exp $ */
/* $NetBSD: linux32_syscalls.c,v 1.54 2009/06/02 16:55:16 njoly Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.50 2009/01/30 13:55:51 njoly Exp
* created from NetBSD: syscalls.master,v 1.51 2009/06/02 16:54:39 njoly Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.53 2009/01/30 13:57:39 njoly Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.54 2009/06/02 16:55:16 njoly Exp $");
#if defined(_KERNEL_OPT)
#include <sys/param.h>
@ -103,8 +103,8 @@ const char *const linux32_syscallnames[] = {
/* 65 */ "getpgrp",
/* 66 */ "setsid",
/* 67 */ "#67 (unimplemented sigaction)",
/* 68 */ "#68 (unimplemented siggetmask)",
/* 69 */ "#69 (unimplemented sigsetmask)",
/* 68 */ "siggetmask",
/* 69 */ "sigsetmask",
/* 70 */ "setreuid16",
/* 71 */ "setregid16",
/* 72 */ "#72 (unimplemented sigsuspend)",

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux32_sysent.c,v 1.53 2009/01/30 13:57:39 njoly Exp $ */
/* $NetBSD: linux32_sysent.c,v 1.54 2009/06/02 16:55:16 njoly Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.50 2009/01/30 13:55:51 njoly Exp
* created from NetBSD: syscalls.master,v 1.51 2009/06/02 16:54:39 njoly Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux32_sysent.c,v 1.53 2009/01/30 13:57:39 njoly Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux32_sysent.c,v 1.54 2009/06/02 16:55:16 njoly Exp $");
#include <sys/param.h>
#include <sys/poll.h>
@ -174,9 +174,9 @@ struct sysent linux32_sysent[] = {
{ 0, 0, 0,
linux_sys_nosys }, /* 67 = unimplemented sigaction */
{ 0, 0, 0,
linux_sys_nosys }, /* 68 = unimplemented siggetmask */
{ 0, 0, 0,
linux_sys_nosys }, /* 69 = unimplemented sigsetmask */
(sy_call_t *)linux32_sys_siggetmask },/* 68 = siggetmask */
{ ns(struct linux32_sys_sigsetmask_args), 0,
(sy_call_t *)linux32_sys_sigsetmask },/* 69 = sigsetmask */
{ ns(struct linux32_sys_setreuid16_args), 0,
(sy_call_t *)linux32_sys_setreuid16 },/* 70 = setreuid16 */
{ ns(struct linux32_sys_setregid16_args), 0,
@ -1064,4 +1064,3 @@ struct sysent linux32_sysent[] = {
{ 0, 0, 0,
linux_sys_nosys }, /* 511 = filler */
};