Regen for munmap(2) signature.

This commit is contained in:
njoly 2014-05-31 08:52:54 +00:00
parent 72a681e433
commit d7efe85816
24 changed files with 71 additions and 75 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.53 2014/05/29 10:36:31 njoly Exp $ */
/* $NetBSD: linux_syscall.h,v 1.54 2014/05/31 08:52:54 njoly Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.51 2014/05/29 10:35:26 njoly Exp
* created from NetBSD: syscalls.master,v 1.52 2014/05/31 08:51:19 njoly Exp
*/
#ifndef _LINUX_SYS_SYSCALL_H_
@ -45,7 +45,7 @@
/* syscall: "mprotect" ret: "int" args: "const void *" "unsigned long" "int" */
#define LINUX_SYS_mprotect 10
/* syscall: "munmap" ret: "int" args: "void *" "int" */
/* syscall: "munmap" ret: "int" args: "void *" "size_t" */
#define LINUX_SYS_munmap 11
/* syscall: "brk" ret: "int" args: "char *" */

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscallargs.h,v 1.53 2014/05/29 10:36:31 njoly Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.54 2014/05/31 08:52:54 njoly Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.51 2014/05/29 10:35:26 njoly Exp
* created from NetBSD: syscalls.master,v 1.52 2014/05/31 08:51:19 njoly Exp
*/
#ifndef _LINUX_SYS_SYSCALLARGS_H_

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_syscalls.c,v 1.53 2014/05/29 10:36:31 njoly Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.54 2014/05/31 08:52:54 njoly Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.51 2014/05/29 10:35:26 njoly Exp
* created from NetBSD: syscalls.master,v 1.52 2014/05/31 08:51:19 njoly Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.53 2014/05/29 10:36:31 njoly Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.54 2014/05/31 08:52:54 njoly Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_sysent.c,v 1.53 2014/05/29 10:36:31 njoly Exp $ */
/* $NetBSD: linux_sysent.c,v 1.54 2014/05/31 08:52:54 njoly Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.51 2014/05/29 10:35:26 njoly Exp
* created from NetBSD: syscalls.master,v 1.52 2014/05/31 08:51:19 njoly Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.53 2014/05/29 10:36:31 njoly Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.54 2014/05/31 08:52:54 njoly Exp $");
#if defined(_KERNEL_OPT)
#include "opt_sysv.h"

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.63 2014/05/29 10:36:31 njoly Exp $ */
/* $NetBSD: linux_syscall.h,v 1.64 2014/05/31 08:52:54 njoly Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.60 2014/05/29 10:35:27 njoly Exp
* created from NetBSD: syscalls.master,v 1.61 2014/05/31 08:51:19 njoly Exp
*/
#ifndef _LINUX_SYS_SYSCALL_H_
@ -258,7 +258,7 @@
/* syscall: "old_mmap" ret: "int" args: "struct linux_oldmmap *" */
#define LINUX_SYS_old_mmap 90
/* syscall: "munmap" ret: "int" args: "void *" "int" */
/* syscall: "munmap" ret: "int" args: "void *" "size_t" */
#define LINUX_SYS_munmap 91
/* syscall: "truncate" ret: "int" args: "const char *" "long" */

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscallargs.h,v 1.63 2014/05/29 10:36:31 njoly Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.64 2014/05/31 08:52:54 njoly Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.60 2014/05/29 10:35:27 njoly Exp
* created from NetBSD: syscalls.master,v 1.61 2014/05/31 08:51:19 njoly Exp
*/
#ifndef _LINUX_SYS_SYSCALLARGS_H_

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_syscalls.c,v 1.63 2014/05/29 10:36:31 njoly Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.64 2014/05/31 08:52:54 njoly Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.60 2014/05/29 10:35:27 njoly Exp
* created from NetBSD: syscalls.master,v 1.61 2014/05/31 08:51:19 njoly Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.63 2014/05/29 10:36:31 njoly Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.64 2014/05/31 08:52:54 njoly Exp $");
#if defined(_KERNEL_OPT)
#include <sys/param.h>

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_sysent.c,v 1.63 2014/05/29 10:36:31 njoly Exp $ */
/* $NetBSD: linux_sysent.c,v 1.64 2014/05/31 08:52:54 njoly Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.60 2014/05/29 10:35:27 njoly Exp
* created from NetBSD: syscalls.master,v 1.61 2014/05/31 08:51:19 njoly Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.63 2014/05/29 10:36:31 njoly Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.64 2014/05/31 08:52:54 njoly Exp $");
#include <sys/param.h>
#include <sys/poll.h>

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.102 2014/05/29 10:36:31 njoly Exp $ */
/* $NetBSD: linux_syscall.h,v 1.103 2014/05/31 08:52:54 njoly Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.117 2014/05/29 10:35:27 njoly Exp
* created from NetBSD: syscalls.master,v 1.118 2014/05/31 08:51:19 njoly Exp
*/
#ifndef _LINUX_SYS_SYSCALL_H_
@ -259,7 +259,7 @@
/* syscall: "old_mmap" ret: "int" args: "struct linux_oldmmap *" */
#define LINUX_SYS_old_mmap 90
/* syscall: "munmap" ret: "int" args: "void *" "int" */
/* syscall: "munmap" ret: "int" args: "void *" "size_t" */
#define LINUX_SYS_munmap 91
/* syscall: "truncate" ret: "int" args: "const char *" "long" */

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscallargs.h,v 1.102 2014/05/29 10:36:31 njoly Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.103 2014/05/31 08:52:54 njoly Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.117 2014/05/29 10:35:27 njoly Exp
* created from NetBSD: syscalls.master,v 1.118 2014/05/31 08:51:19 njoly Exp
*/
#ifndef _LINUX_SYS_SYSCALLARGS_H_

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_syscalls.c,v 1.103 2014/05/29 10:36:31 njoly Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.104 2014/05/31 08:52:54 njoly Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.117 2014/05/29 10:35:27 njoly Exp
* created from NetBSD: syscalls.master,v 1.118 2014/05/31 08:51:19 njoly Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.103 2014/05/29 10:36:31 njoly Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.104 2014/05/31 08:52:54 njoly Exp $");
#if defined(_KERNEL_OPT)
#include <sys/param.h>

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_sysent.c,v 1.102 2014/05/29 10:36:31 njoly Exp $ */
/* $NetBSD: linux_sysent.c,v 1.103 2014/05/31 08:52:54 njoly Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.117 2014/05/29 10:35:27 njoly Exp
* created from NetBSD: syscalls.master,v 1.118 2014/05/31 08:51:19 njoly Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.102 2014/05/29 10:36:31 njoly Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.103 2014/05/31 08:52:54 njoly Exp $");
#include <sys/param.h>
#include <sys/poll.h>

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.93 2014/05/29 10:36:31 njoly Exp $ */
/* $NetBSD: linux_syscall.h,v 1.94 2014/05/31 08:52:54 njoly Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.87 2014/05/29 10:35:27 njoly Exp
* created from NetBSD: syscalls.master,v 1.88 2014/05/31 08:51:19 njoly Exp
*/
#ifndef _LINUX_SYS_SYSCALL_H_
@ -263,7 +263,7 @@
/* syscall: "old_mmap" ret: "int" args: "struct linux_oldmmap *" */
#define LINUX_SYS_old_mmap 90
/* syscall: "munmap" ret: "int" args: "void *" "int" */
/* syscall: "munmap" ret: "int" args: "void *" "size_t" */
#define LINUX_SYS_munmap 91
/* syscall: "truncate" ret: "int" args: "const char *" "long" */

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscallargs.h,v 1.92 2014/05/29 10:36:31 njoly Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.93 2014/05/31 08:52:54 njoly Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.87 2014/05/29 10:35:27 njoly Exp
* created from NetBSD: syscalls.master,v 1.88 2014/05/31 08:51:19 njoly Exp
*/
#ifndef _LINUX_SYS_SYSCALLARGS_H_

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_syscalls.c,v 1.93 2014/05/29 10:36:31 njoly Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.94 2014/05/31 08:52:54 njoly Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.87 2014/05/29 10:35:27 njoly Exp
* created from NetBSD: syscalls.master,v 1.88 2014/05/31 08:51:19 njoly Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.93 2014/05/29 10:36:31 njoly Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.94 2014/05/31 08:52:54 njoly Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_sysent.c,v 1.93 2014/05/29 10:36:31 njoly Exp $ */
/* $NetBSD: linux_sysent.c,v 1.94 2014/05/31 08:52:54 njoly Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.87 2014/05/29 10:35:27 njoly Exp
* created from NetBSD: syscalls.master,v 1.88 2014/05/31 08:51:19 njoly Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.93 2014/05/29 10:36:31 njoly Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.94 2014/05/31 08:52:54 njoly Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.60 2014/05/29 10:36:31 njoly Exp $ */
/* $NetBSD: linux_syscall.h,v 1.61 2014/05/31 08:52:54 njoly Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.55 2014/05/29 10:35:27 njoly Exp
* created from NetBSD: syscalls.master,v 1.56 2014/05/31 08:51:19 njoly Exp
*/
#ifndef _LINUX_SYS_SYSCALL_H_
@ -241,7 +241,7 @@
/* syscall: "mmap" ret: "int" args: "unsigned long" "size_t" "int" "int" "int" "linux_off_t" */
#define LINUX_SYS_mmap 90
/* syscall: "munmap" ret: "int" args: "void *" "int" */
/* syscall: "munmap" ret: "int" args: "void *" "size_t" */
#define LINUX_SYS_munmap 91
/* syscall: "truncate" ret: "int" args: "const char *" "long" */

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscallargs.h,v 1.59 2014/05/29 10:36:31 njoly Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.60 2014/05/31 08:52:54 njoly Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.55 2014/05/29 10:35:27 njoly Exp
* created from NetBSD: syscalls.master,v 1.56 2014/05/31 08:51:19 njoly Exp
*/
#ifndef _LINUX_SYS_SYSCALLARGS_H_

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_syscalls.c,v 1.59 2014/05/29 10:36:31 njoly Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.60 2014/05/31 08:52:54 njoly Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.55 2014/05/29 10:35:27 njoly Exp
* created from NetBSD: syscalls.master,v 1.56 2014/05/31 08:51:19 njoly Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.59 2014/05/29 10:36:31 njoly Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.60 2014/05/31 08:52:54 njoly Exp $");
#if defined(_KERNEL_OPT)
#include <sys/param.h>

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_sysent.c,v 1.59 2014/05/29 10:36:31 njoly Exp $ */
/* $NetBSD: linux_sysent.c,v 1.60 2014/05/31 08:52:54 njoly Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.55 2014/05/29 10:35:27 njoly Exp
* created from NetBSD: syscalls.master,v 1.56 2014/05/31 08:51:19 njoly Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.59 2014/05/29 10:36:31 njoly Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.60 2014/05/31 08:52:54 njoly Exp $");
#include <sys/param.h>
#include <sys/poll.h>

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.69 2014/05/20 17:26:04 njoly Exp $ */
/* $NetBSD: linux_syscall.h,v 1.70 2014/05/31 08:52:54 njoly Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.63 2014/05/20 17:24:49 njoly Exp
* created from NetBSD: syscalls.master,v 1.65 2014/05/31 08:51:19 njoly Exp
*/
#ifndef _LINUX_SYS_SYSCALL_H_
@ -257,7 +257,7 @@
/* syscall: "mmap" ret: "int" args: "unsigned long" "size_t" "int" "int" "int" "linux_off_t" */
#define LINUX_SYS_mmap 90
/* syscall: "munmap" ret: "int" args: "void *" "int" */
/* syscall: "munmap" ret: "int" args: "void *" "size_t" */
#define LINUX_SYS_munmap 91
/* syscall: "truncate" ret: "int" args: "const char *" "long" */
@ -588,7 +588,7 @@
/* syscall: "tgkill" ret: "int" args: "int" "int" "int" */
#define LINUX_SYS_tgkill 250
/* syscall: "utimes" ret: "int" args: "const char *" "struct linux_timeval *" */
/* syscall: "utimes" ret: "int" args: "const char *" "const struct timeval50 *" */
#define LINUX_SYS_utimes 251
/* syscall: "statfs64" ret: "int" args: "const char *" "size_t" "struct linux_statfs64 *" */

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscallargs.h,v 1.68 2014/05/20 17:26:04 njoly Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.69 2014/05/31 08:52:54 njoly Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.63 2014/05/20 17:24:49 njoly Exp
* created from NetBSD: syscalls.master,v 1.65 2014/05/31 08:51:19 njoly Exp
*/
#ifndef _LINUX_SYS_SYSCALLARGS_H_
@ -877,11 +877,7 @@ struct linux_sys_tgkill_args {
};
check_syscall_args(linux_sys_tgkill)
struct linux_sys_utimes_args {
syscallarg(const char *) path;
syscallarg(struct linux_timeval *) times;
};
check_syscall_args(linux_sys_utimes)
struct compat_50_sys_utimes_args;
struct linux_sys_statfs64_args {
syscallarg(const char *) path;
@ -1400,7 +1396,7 @@ int linux_sys_clock_nanosleep(struct lwp *, const struct linux_sys_clock_nanosle
int linux_sys_tgkill(struct lwp *, const struct linux_sys_tgkill_args *, register_t *);
int linux_sys_utimes(struct lwp *, const struct linux_sys_utimes_args *, register_t *);
int compat_50_sys_utimes(struct lwp *, const struct compat_50_sys_utimes_args *, register_t *);
int linux_sys_statfs64(struct lwp *, const struct linux_sys_statfs64_args *, register_t *);

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_syscalls.c,v 1.68 2014/05/20 17:26:04 njoly Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.69 2014/05/31 08:52:54 njoly Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.63 2014/05/20 17:24:49 njoly Exp
* created from NetBSD: syscalls.master,v 1.65 2014/05/31 08:51:19 njoly Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.68 2014/05/20 17:26:04 njoly Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.69 2014/05/31 08:52:54 njoly Exp $");
#if defined(_KERNEL_OPT)
#include <sys/param.h>

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_sysent.c,v 1.69 2014/05/20 17:26:04 njoly Exp $ */
/* $NetBSD: linux_sysent.c,v 1.70 2014/05/31 08:52:54 njoly Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.63 2014/05/20 17:24:49 njoly Exp
* created from NetBSD: syscalls.master,v 1.65 2014/05/31 08:51:19 njoly Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.69 2014/05/20 17:26:04 njoly Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.70 2014/05/31 08:52:54 njoly Exp $");
#include <sys/param.h>
#include <sys/poll.h>
@ -536,8 +536,8 @@ struct sysent linux_sysent[] = {
linux_sys_nosys }, /* 249 = unimplemented swapcontext */
{ ns(struct linux_sys_tgkill_args), 0,
(sy_call_t *)linux_sys_tgkill }, /* 250 = tgkill */
{ ns(struct linux_sys_utimes_args), SYCALL_ARG_PTR,
(sy_call_t *)linux_sys_utimes }, /* 251 = utimes */
{ ns(struct compat_50_sys_utimes_args), SYCALL_ARG_PTR,
(sy_call_t *)compat_50_sys_utimes },/* 251 = utimes */
{ ns(struct linux_sys_statfs64_args), SYCALL_ARG_PTR,
(sy_call_t *)linux_sys_statfs64 }, /* 252 = statfs64 */
{ ns(struct linux_sys_fstatfs64_args), SYCALL_ARG_PTR,