Regen for native futex calls.

This commit is contained in:
thorpej 2020-04-26 19:18:52 +00:00
parent cc2d95549c
commit cb9aba0e17
42 changed files with 461 additions and 389 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.109 2019/11/09 23:45:07 jdolecek Exp $ */
/* $NetBSD: linux_syscall.h,v 1.110 2020/04/26 19:20:18 thorpej Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.96 2019/11/09 23:44:31 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.97 2020/04/26 18:53:32 thorpej Exp
*/
#ifndef _LINUX_SYS_SYSCALL_H_
@ -690,11 +690,11 @@
/* syscall: "ppoll" ret: "int" args: "struct pollfd *" "u_int" "struct linux_timespec *" "linux_sigset_t *" */
#define LINUX_SYS_ppoll 464
/* syscall: "set_robust_list" ret: "int" args: "struct linux_robust_list_head *" "size_t" */
#define LINUX_SYS_set_robust_list 466
/* syscall: "__futex_set_robust_list" ret: "int" args: "void *" "size_t" */
#define LINUX_SYS___futex_set_robust_list 466
/* syscall: "get_robust_list" ret: "int" args: "int" "struct linux_robust_list_head **" "size_t *" */
#define LINUX_SYS_get_robust_list 467
/* syscall: "__futex_get_robust_list" ret: "int" args: "lwpid_t" "void **" "size_t *" */
#define LINUX_SYS___futex_get_robust_list 467
/* syscall: "utimensat" ret: "int" args: "int" "const char *" "struct linux_timespec *" "int" */
#define LINUX_SYS_utimensat 475

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscallargs.h,v 1.108 2019/11/09 23:45:07 jdolecek Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.109 2020/04/26 19:20:18 thorpej Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.96 2019/11/09 23:44:31 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.97 2020/04/26 18:53:32 thorpej Exp
*/
#ifndef _LINUX_SYS_SYSCALLARGS_H_
@ -1096,18 +1096,9 @@ struct linux_sys_ppoll_args {
};
check_syscall_args(linux_sys_ppoll)
struct linux_sys_set_robust_list_args {
syscallarg(struct linux_robust_list_head *) head;
syscallarg(size_t) len;
};
check_syscall_args(linux_sys_set_robust_list)
struct sys___futex_set_robust_list_args;
struct linux_sys_get_robust_list_args {
syscallarg(int) pid;
syscallarg(struct linux_robust_list_head **) head;
syscallarg(size_t *) len;
};
check_syscall_args(linux_sys_get_robust_list)
struct sys___futex_get_robust_list_args;
struct linux_sys_utimensat_args {
syscallarg(int) fd;
@ -1623,9 +1614,9 @@ int linux_sys_pselect6(struct lwp *, const struct linux_sys_pselect6_args *, reg
int linux_sys_ppoll(struct lwp *, const struct linux_sys_ppoll_args *, register_t *);
int linux_sys_set_robust_list(struct lwp *, const struct linux_sys_set_robust_list_args *, register_t *);
int sys___futex_set_robust_list(struct lwp *, const struct sys___futex_set_robust_list_args *, register_t *);
int linux_sys_get_robust_list(struct lwp *, const struct linux_sys_get_robust_list_args *, register_t *);
int sys___futex_get_robust_list(struct lwp *, const struct sys___futex_get_robust_list_args *, register_t *);
int linux_sys_utimensat(struct lwp *, const struct linux_sys_utimensat_args *, register_t *);

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_syscalls.c,v 1.110 2019/11/09 23:45:07 jdolecek Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.111 2020/04/26 19:20:18 thorpej Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.96 2019/11/09 23:44:31 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.97 2020/04/26 18:53:32 thorpej Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.110 2019/11/09 23:45:07 jdolecek Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.111 2020/04/26 19:20:18 thorpej Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@ -525,8 +525,8 @@ const char *const linux_syscallnames[] = {
/* 463 */ "pselect6",
/* 464 */ "ppoll",
/* 465 */ "#465 (unimplemented unshare)",
/* 466 */ "set_robust_list",
/* 467 */ "get_robust_list",
/* 466 */ "__futex_set_robust_list",
/* 467 */ "__futex_get_robust_list",
/* 468 */ "#468 (unimplemented splice)",
/* 469 */ "#469 (unimplemented sync_file_range)",
/* 470 */ "#470 (unimplemented tee)",
@ -1066,8 +1066,8 @@ const char *const altlinux_syscallnames[] = {
/* 463 */ NULL, /* pselect6 */
/* 464 */ NULL, /* ppoll */
/* 465 */ NULL, /* unimplemented unshare */
/* 466 */ NULL, /* set_robust_list */
/* 467 */ NULL, /* get_robust_list */
/* 466 */ NULL, /* __futex_set_robust_list */
/* 467 */ NULL, /* __futex_get_robust_list */
/* 468 */ NULL, /* unimplemented splice */
/* 469 */ NULL, /* unimplemented sync_file_range */
/* 470 */ NULL, /* unimplemented tee */

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_sysent.c,v 1.109 2019/11/09 23:45:07 jdolecek Exp $ */
/* $NetBSD: linux_sysent.c,v 1.110 2020/04/26 19:20:18 thorpej Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.96 2019/11/09 23:44:31 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.97 2020/04/26 18:53:32 thorpej Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.109 2019/11/09 23:45:07 jdolecek Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.110 2020/04/26 19:20:18 thorpej Exp $");
#if defined(_KERNEL_OPT)
#include "opt_sysv.h"
@ -1854,15 +1854,15 @@ struct sysent linux_sysent[] = {
.sy_call = linux_sys_nosys,
}, /* 465 = filler */
{
ns(struct linux_sys_set_robust_list_args),
ns(struct sys___futex_set_robust_list_args),
.sy_flags = SYCALL_ARG_PTR,
.sy_call = (sy_call_t *)linux_sys_set_robust_list
}, /* 466 = set_robust_list */
.sy_call = (sy_call_t *)sys___futex_set_robust_list
}, /* 466 = __futex_set_robust_list */
{
ns(struct linux_sys_get_robust_list_args),
ns(struct sys___futex_get_robust_list_args),
.sy_flags = SYCALL_ARG_PTR,
.sy_call = (sy_call_t *)linux_sys_get_robust_list
}, /* 467 = get_robust_list */
.sy_call = (sy_call_t *)sys___futex_get_robust_list
}, /* 467 = __futex_get_robust_list */
{
.sy_call = linux_sys_nosys,
}, /* 468 = filler */

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.70 2019/11/09 23:45:07 jdolecek Exp $ */
/* $NetBSD: linux_syscall.h,v 1.71 2020/04/26 19:20:18 thorpej Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.61 2019/11/09 23:44:31 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.62 2020/04/26 18:53:32 thorpej Exp
*/
#ifndef _LINUX_SYS_SYSCALL_H_
@ -636,11 +636,11 @@
/* syscall: "ppoll" ret: "int" args: "struct pollfd *" "u_int" "struct linux_timespec *" "linux_sigset_t *" */
#define LINUX_SYS_ppoll 271
/* syscall: "set_robust_list" ret: "int" args: "struct linux_robust_list_head *" "size_t" */
#define LINUX_SYS_set_robust_list 273
/* syscall: "__futex_set_robust_list" ret: "int" args: "void *" "size_t" */
#define LINUX_SYS___futex_set_robust_list 273
/* syscall: "get_robust_list" ret: "int" args: "int" "struct linux_robust_list_head **" "size_t *" */
#define LINUX_SYS_get_robust_list 274
/* syscall: "__futex_get_robust_list" ret: "int" args: "lwpid_t" "void **" "size_t *" */
#define LINUX_SYS___futex_get_robust_list 274
/* syscall: "utimensat" ret: "int" args: "int" "const char *" "struct linux_timespec *" "int" */
#define LINUX_SYS_utimensat 280

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscallargs.h,v 1.70 2019/11/09 23:45:07 jdolecek Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.71 2020/04/26 19:20:18 thorpej Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.61 2019/11/09 23:44:31 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.62 2020/04/26 18:53:32 thorpej Exp
*/
#ifndef _LINUX_SYS_SYSCALLARGS_H_
@ -986,18 +986,9 @@ struct linux_sys_ppoll_args {
};
check_syscall_args(linux_sys_ppoll)
struct linux_sys_set_robust_list_args {
syscallarg(struct linux_robust_list_head *) head;
syscallarg(size_t) len;
};
check_syscall_args(linux_sys_set_robust_list)
struct sys___futex_set_robust_list_args;
struct linux_sys_get_robust_list_args {
syscallarg(int) pid;
syscallarg(struct linux_robust_list_head **) head;
syscallarg(size_t *) len;
};
check_syscall_args(linux_sys_get_robust_list)
struct sys___futex_get_robust_list_args;
struct linux_sys_utimensat_args {
syscallarg(int) fd;
@ -1478,9 +1469,9 @@ int linux_sys_pselect6(struct lwp *, const struct linux_sys_pselect6_args *, reg
int linux_sys_ppoll(struct lwp *, const struct linux_sys_ppoll_args *, register_t *);
int linux_sys_set_robust_list(struct lwp *, const struct linux_sys_set_robust_list_args *, register_t *);
int sys___futex_set_robust_list(struct lwp *, const struct sys___futex_set_robust_list_args *, register_t *);
int linux_sys_get_robust_list(struct lwp *, const struct linux_sys_get_robust_list_args *, register_t *);
int sys___futex_get_robust_list(struct lwp *, const struct sys___futex_get_robust_list_args *, register_t *);
int linux_sys_utimensat(struct lwp *, const struct linux_sys_utimensat_args *, register_t *);

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_syscalls.c,v 1.70 2019/11/09 23:45:07 jdolecek Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.71 2020/04/26 19:20:18 thorpej Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.61 2019/11/09 23:44:31 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.62 2020/04/26 18:53:32 thorpej Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.70 2019/11/09 23:45:07 jdolecek Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.71 2020/04/26 19:20:18 thorpej Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@ -339,8 +339,8 @@ const char *const linux_syscallnames[] = {
/* 270 */ "pselect6",
/* 271 */ "ppoll",
/* 272 */ "#272 (unimplemented unshare)",
/* 273 */ "set_robust_list",
/* 274 */ "get_robust_list",
/* 273 */ "__futex_set_robust_list",
/* 274 */ "__futex_get_robust_list",
/* 275 */ "#275 (unimplemented splice)",
/* 276 */ "#276 (unimplemented tee)",
/* 277 */ "#277 (unimplemented sync_file_range)",
@ -883,8 +883,8 @@ const char *const altlinux_syscallnames[] = {
/* 270 */ NULL, /* pselect6 */
/* 271 */ NULL, /* ppoll */
/* 272 */ NULL, /* unimplemented unshare */
/* 273 */ NULL, /* set_robust_list */
/* 274 */ NULL, /* get_robust_list */
/* 273 */ NULL, /* __futex_set_robust_list */
/* 274 */ NULL, /* __futex_get_robust_list */
/* 275 */ NULL, /* unimplemented splice */
/* 276 */ NULL, /* unimplemented tee */
/* 277 */ NULL, /* unimplemented sync_file_range */

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_sysent.c,v 1.70 2019/11/09 23:45:07 jdolecek Exp $ */
/* $NetBSD: linux_sysent.c,v 1.71 2020/04/26 19:20:18 thorpej Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.61 2019/11/09 23:44:31 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.62 2020/04/26 18:53:32 thorpej Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.70 2019/11/09 23:45:07 jdolecek Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.71 2020/04/26 19:20:18 thorpej Exp $");
#if defined(_KERNEL_OPT)
#include "opt_sysv.h"
@ -1237,15 +1237,15 @@ struct sysent linux_sysent[] = {
.sy_call = linux_sys_nosys,
}, /* 272 = filler */
{
ns(struct linux_sys_set_robust_list_args),
ns(struct sys___futex_set_robust_list_args),
.sy_flags = SYCALL_ARG_PTR,
.sy_call = (sy_call_t *)linux_sys_set_robust_list
}, /* 273 = set_robust_list */
.sy_call = (sy_call_t *)sys___futex_set_robust_list
}, /* 273 = __futex_set_robust_list */
{
ns(struct linux_sys_get_robust_list_args),
ns(struct sys___futex_get_robust_list_args),
.sy_flags = SYCALL_ARG_PTR,
.sy_call = (sy_call_t *)linux_sys_get_robust_list
}, /* 274 = get_robust_list */
.sy_call = (sy_call_t *)sys___futex_get_robust_list
}, /* 274 = __futex_get_robust_list */
{
.sy_call = linux_sys_nosys,
}, /* 275 = filler */

View File

@ -1,4 +1,4 @@
/* $NetBSD: linux_systrace_args.c,v 1.14 2019/11/09 23:45:07 jdolecek Exp $ */
/* $NetBSD: linux_systrace_args.c,v 1.15 2020/04/26 19:20:18 thorpej Exp $ */
/*
* System call argument to DTrace register array converstion.
@ -1716,20 +1716,20 @@ systrace_args(register_t sysnum, const void *params, uintptr_t *uarg, size_t *n_
*n_args = 4;
break;
}
/* linux_sys_set_robust_list */
/* sys___futex_set_robust_list */
case 273: {
const struct linux_sys_set_robust_list_args *p = params;
uarg[0] = (intptr_t) SCARG(p, head); /* struct linux_robust_list_head * */
const struct sys___futex_set_robust_list_args *p = params;
uarg[0] = (intptr_t) SCARG(p, head); /* void * */
uarg[1] = SCARG(p, len); /* size_t */
*n_args = 2;
break;
}
/* linux_sys_get_robust_list */
/* sys___futex_get_robust_list */
case 274: {
const struct linux_sys_get_robust_list_args *p = params;
iarg[0] = SCARG(p, pid); /* int */
uarg[1] = (intptr_t) SCARG(p, head); /* struct linux_robust_list_head ** */
uarg[2] = (intptr_t) SCARG(p, len); /* size_t * */
const struct sys___futex_get_robust_list_args *p = params;
iarg[0] = SCARG(p, lwpid); /* lwpid_t */
uarg[1] = (intptr_t) SCARG(p, headp); /* void ** */
uarg[2] = (intptr_t) SCARG(p, lenp); /* size_t * */
*n_args = 3;
break;
}
@ -4649,11 +4649,11 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
break;
};
break;
/* linux_sys_set_robust_list */
/* sys___futex_set_robust_list */
case 273:
switch(ndx) {
case 0:
p = "struct linux_robust_list_head *";
p = "void *";
break;
case 1:
p = "size_t";
@ -4662,14 +4662,14 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
break;
};
break;
/* linux_sys_get_robust_list */
/* sys___futex_get_robust_list */
case 274:
switch(ndx) {
case 0:
p = "int";
p = "lwpid_t";
break;
case 1:
p = "struct linux_robust_list_head **";
p = "void **";
break;
case 2:
p = "size_t *";
@ -5801,12 +5801,12 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* linux_sys_set_robust_list */
/* sys___futex_set_robust_list */
case 273:
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* linux_sys_get_robust_list */
/* sys___futex_get_robust_list */
case 274:
if (ndx == 0 || ndx == 1)
p = "int";

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.81 2019/11/09 23:45:07 jdolecek Exp $ */
/* $NetBSD: linux_syscall.h,v 1.82 2020/04/26 19:20:18 thorpej Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.68 2019/11/09 23:44:31 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.69 2020/04/26 18:53:32 thorpej Exp
*/
#ifndef _LINUX_SYS_SYSCALL_H_
@ -694,11 +694,11 @@
/* syscall: "ppoll" ret: "int" args: "struct pollfd *" "u_int" "struct linux_timespec *" "linux_sigset_t *" */
#define LINUX_SYS_ppoll 336
/* syscall: "set_robust_list" ret: "int" args: "struct linux_robust_list_head *" "size_t" */
#define LINUX_SYS_set_robust_list 338
/* syscall: "__futex_set_robust_list" ret: "int" args: "void *" "size_t" */
#define LINUX_SYS___futex_set_robust_list 338
/* syscall: "get_robust_list" ret: "int" args: "int" "struct linux_robust_list_head **" "size_t *" */
#define LINUX_SYS_get_robust_list 339
/* syscall: "__futex_get_robust_list" ret: "int" args: "lwpid_t" "void **" "size_t *" */
#define LINUX_SYS___futex_get_robust_list 339
/* syscall: "utimensat" ret: "int" args: "int" "const char *" "struct linux_timespec *" "int" */
#define LINUX_SYS_utimensat 348

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscallargs.h,v 1.81 2019/11/09 23:45:07 jdolecek Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.82 2020/04/26 19:20:18 thorpej Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.68 2019/11/09 23:44:31 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.69 2020/04/26 18:53:32 thorpej Exp
*/
#ifndef _LINUX_SYS_SYSCALLARGS_H_
@ -1060,18 +1060,9 @@ struct linux_sys_ppoll_args {
};
check_syscall_args(linux_sys_ppoll)
struct linux_sys_set_robust_list_args {
syscallarg(struct linux_robust_list_head *) head;
syscallarg(size_t) len;
};
check_syscall_args(linux_sys_set_robust_list)
struct sys___futex_set_robust_list_args;
struct linux_sys_get_robust_list_args {
syscallarg(int) pid;
syscallarg(struct linux_robust_list_head **) head;
syscallarg(size_t *) len;
};
check_syscall_args(linux_sys_get_robust_list)
struct sys___futex_get_robust_list_args;
struct linux_sys_utimensat_args {
syscallarg(int) fd;
@ -1575,9 +1566,9 @@ int linux_sys_pselect6(struct lwp *, const struct linux_sys_pselect6_args *, reg
int linux_sys_ppoll(struct lwp *, const struct linux_sys_ppoll_args *, register_t *);
int linux_sys_set_robust_list(struct lwp *, const struct linux_sys_set_robust_list_args *, register_t *);
int sys___futex_set_robust_list(struct lwp *, const struct sys___futex_set_robust_list_args *, register_t *);
int linux_sys_get_robust_list(struct lwp *, const struct linux_sys_get_robust_list_args *, register_t *);
int sys___futex_get_robust_list(struct lwp *, const struct sys___futex_get_robust_list_args *, register_t *);
int linux_sys_utimensat(struct lwp *, const struct linux_sys_utimensat_args *, register_t *);

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_syscalls.c,v 1.81 2019/11/09 23:45:07 jdolecek Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.82 2020/04/26 19:20:18 thorpej Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.68 2019/11/09 23:44:31 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.69 2020/04/26 18:53:32 thorpej Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.81 2019/11/09 23:45:07 jdolecek Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.82 2020/04/26 19:20:18 thorpej Exp $");
#if defined(_KERNEL_OPT)
#include <sys/param.h>
@ -373,8 +373,8 @@ const char *const linux_syscallnames[] = {
/* 335 */ "pselect6",
/* 336 */ "ppoll",
/* 337 */ "#337 (unimplemented unshare)",
/* 338 */ "set_robust_list",
/* 339 */ "get_robust_list",
/* 338 */ "__futex_set_robust_list",
/* 339 */ "__futex_get_robust_list",
/* 340 */ "#340 (unimplemented splice)",
/* 341 */ "#341 (unimplemented sync_file_range2)",
/* 342 */ "#342 (unimplemented tee)",
@ -895,8 +895,8 @@ const char *const altlinux_syscallnames[] = {
/* 335 */ NULL, /* pselect6 */
/* 336 */ NULL, /* ppoll */
/* 337 */ NULL, /* unimplemented unshare */
/* 338 */ NULL, /* set_robust_list */
/* 339 */ NULL, /* get_robust_list */
/* 338 */ NULL, /* __futex_set_robust_list */
/* 339 */ NULL, /* __futex_get_robust_list */
/* 340 */ NULL, /* unimplemented splice */
/* 341 */ NULL, /* unimplemented sync_file_range2 */
/* 342 */ NULL, /* unimplemented tee */

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_sysent.c,v 1.81 2019/11/09 23:45:07 jdolecek Exp $ */
/* $NetBSD: linux_sysent.c,v 1.82 2020/04/26 19:20:18 thorpej Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.68 2019/11/09 23:44:31 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.69 2020/04/26 18:53:32 thorpej Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.81 2019/11/09 23:45:07 jdolecek Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.82 2020/04/26 19:20:18 thorpej Exp $");
#include <sys/param.h>
#include <sys/poll.h>
@ -1404,15 +1404,15 @@ struct sysent linux_sysent[] = {
.sy_call = linux_sys_nosys,
}, /* 337 = filler */
{
ns(struct linux_sys_set_robust_list_args),
ns(struct sys___futex_set_robust_list_args),
.sy_flags = SYCALL_ARG_PTR,
.sy_call = (sy_call_t *)linux_sys_set_robust_list
}, /* 338 = set_robust_list */
.sy_call = (sy_call_t *)sys___futex_set_robust_list
}, /* 338 = __futex_set_robust_list */
{
ns(struct linux_sys_get_robust_list_args),
ns(struct sys___futex_get_robust_list_args),
.sy_flags = SYCALL_ARG_PTR,
.sy_call = (sy_call_t *)linux_sys_get_robust_list
}, /* 339 = get_robust_list */
.sy_call = (sy_call_t *)sys___futex_get_robust_list
}, /* 339 = __futex_get_robust_list */
{
.sy_call = linux_sys_nosys,
}, /* 340 = filler */

View File

@ -1,4 +1,4 @@
/* $NetBSD: linux_systrace_args.c,v 1.14 2019/11/09 23:45:07 jdolecek Exp $ */
/* $NetBSD: linux_systrace_args.c,v 1.15 2020/04/26 19:20:18 thorpej Exp $ */
/*
* System call argument to DTrace register array converstion.
@ -1815,20 +1815,20 @@ systrace_args(register_t sysnum, const void *params, uintptr_t *uarg, size_t *n_
*n_args = 4;
break;
}
/* linux_sys_set_robust_list */
/* sys___futex_set_robust_list */
case 338: {
const struct linux_sys_set_robust_list_args *p = params;
uarg[0] = (intptr_t) SCARG(p, head); /* struct linux_robust_list_head * */
const struct sys___futex_set_robust_list_args *p = params;
uarg[0] = (intptr_t) SCARG(p, head); /* void * */
uarg[1] = SCARG(p, len); /* size_t */
*n_args = 2;
break;
}
/* linux_sys_get_robust_list */
/* sys___futex_get_robust_list */
case 339: {
const struct linux_sys_get_robust_list_args *p = params;
iarg[0] = SCARG(p, pid); /* int */
uarg[1] = (intptr_t) SCARG(p, head); /* struct linux_robust_list_head ** */
uarg[2] = (intptr_t) SCARG(p, len); /* size_t * */
const struct sys___futex_get_robust_list_args *p = params;
iarg[0] = SCARG(p, lwpid); /* lwpid_t */
uarg[1] = (intptr_t) SCARG(p, headp); /* void ** */
uarg[2] = (intptr_t) SCARG(p, lenp); /* size_t * */
*n_args = 3;
break;
}
@ -4869,11 +4869,11 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
break;
};
break;
/* linux_sys_set_robust_list */
/* sys___futex_set_robust_list */
case 338:
switch(ndx) {
case 0:
p = "struct linux_robust_list_head *";
p = "void *";
break;
case 1:
p = "size_t";
@ -4882,14 +4882,14 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
break;
};
break;
/* linux_sys_get_robust_list */
/* sys___futex_get_robust_list */
case 339:
switch(ndx) {
case 0:
p = "int";
p = "lwpid_t";
break;
case 1:
p = "struct linux_robust_list_head **";
p = "void **";
break;
case 2:
p = "size_t *";
@ -6116,12 +6116,12 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* linux_sys_set_robust_list */
/* sys___futex_set_robust_list */
case 338:
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* linux_sys_get_robust_list */
/* sys___futex_get_robust_list */
case 339:
if (ndx == 0 || ndx == 1)
p = "int";

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.115 2019/11/09 23:45:08 jdolecek Exp $ */
/* $NetBSD: linux_syscall.h,v 1.116 2020/04/26 19:20:18 thorpej Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.123 2019/11/09 23:44:32 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.124 2020/04/26 18:53:32 thorpej Exp
*/
#ifndef _LINUX_SYS_SYSCALL_H_
@ -716,11 +716,11 @@
/* syscall: "ppoll" ret: "int" args: "struct pollfd *" "u_int" "struct linux_timespec *" "linux_sigset_t *" */
#define LINUX_SYS_ppoll 309
/* syscall: "set_robust_list" ret: "int" args: "struct linux_robust_list_head *" "size_t" */
#define LINUX_SYS_set_robust_list 311
/* syscall: "__futex_set_robust_list" ret: "int" args: "void *" "size_t" */
#define LINUX_SYS___futex_set_robust_list 311
/* syscall: "get_robust_list" ret: "int" args: "int" "struct linux_robust_list_head **" "size_t *" */
#define LINUX_SYS_get_robust_list 312
/* syscall: "__futex_get_robust_list" ret: "int" args: "lwpid_t" "void **" "size_t *" */
#define LINUX_SYS___futex_get_robust_list 312
/* syscall: "utimensat" ret: "int" args: "int" "const char *" "struct linux_timespec *" "int" */
#define LINUX_SYS_utimensat 320

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscallargs.h,v 1.115 2019/11/09 23:45:08 jdolecek Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.116 2020/04/26 19:20:18 thorpej Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.123 2019/11/09 23:44:32 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.124 2020/04/26 18:53:32 thorpej Exp
*/
#ifndef _LINUX_SYS_SYSCALLARGS_H_
@ -1107,18 +1107,9 @@ struct linux_sys_ppoll_args {
};
check_syscall_args(linux_sys_ppoll)
struct linux_sys_set_robust_list_args {
syscallarg(struct linux_robust_list_head *) head;
syscallarg(size_t) len;
};
check_syscall_args(linux_sys_set_robust_list)
struct sys___futex_set_robust_list_args;
struct linux_sys_get_robust_list_args {
syscallarg(int) pid;
syscallarg(struct linux_robust_list_head **) head;
syscallarg(size_t *) len;
};
check_syscall_args(linux_sys_get_robust_list)
struct sys___futex_get_robust_list_args;
struct linux_sys_utimensat_args {
syscallarg(int) fd;
@ -1601,9 +1592,9 @@ int linux_sys_pselect6(struct lwp *, const struct linux_sys_pselect6_args *, reg
int linux_sys_ppoll(struct lwp *, const struct linux_sys_ppoll_args *, register_t *);
int linux_sys_set_robust_list(struct lwp *, const struct linux_sys_set_robust_list_args *, register_t *);
int sys___futex_set_robust_list(struct lwp *, const struct sys___futex_set_robust_list_args *, register_t *);
int linux_sys_get_robust_list(struct lwp *, const struct linux_sys_get_robust_list_args *, register_t *);
int sys___futex_get_robust_list(struct lwp *, const struct sys___futex_get_robust_list_args *, register_t *);
int linux_sys_utimensat(struct lwp *, const struct linux_sys_utimensat_args *, register_t *);

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_syscalls.c,v 1.116 2019/11/09 23:45:08 jdolecek Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.117 2020/04/26 19:20:18 thorpej Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.123 2019/11/09 23:44:32 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.124 2020/04/26 18:53:32 thorpej Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.116 2019/11/09 23:45:08 jdolecek Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.117 2020/04/26 19:20:18 thorpej Exp $");
#if defined(_KERNEL_OPT)
#include <sys/param.h>
@ -345,8 +345,8 @@ const char *const linux_syscallnames[] = {
/* 308 */ "pselect6",
/* 309 */ "ppoll",
/* 310 */ "#310 (unimplemented unshare)",
/* 311 */ "set_robust_list",
/* 312 */ "get_robust_list",
/* 311 */ "__futex_set_robust_list",
/* 312 */ "__futex_get_robust_list",
/* 313 */ "#313 (unimplemented splice)",
/* 314 */ "#314 (unimplemented sync_file_range)",
/* 315 */ "#315 (unimplemented tee)",
@ -867,8 +867,8 @@ const char *const altlinux_syscallnames[] = {
/* 308 */ NULL, /* pselect6 */
/* 309 */ NULL, /* ppoll */
/* 310 */ NULL, /* unimplemented unshare */
/* 311 */ NULL, /* set_robust_list */
/* 312 */ NULL, /* get_robust_list */
/* 311 */ NULL, /* __futex_set_robust_list */
/* 312 */ NULL, /* __futex_get_robust_list */
/* 313 */ NULL, /* unimplemented splice */
/* 314 */ NULL, /* unimplemented sync_file_range */
/* 315 */ NULL, /* unimplemented tee */

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_sysent.c,v 1.115 2019/11/09 23:45:08 jdolecek Exp $ */
/* $NetBSD: linux_sysent.c,v 1.116 2020/04/26 19:20:18 thorpej Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.123 2019/11/09 23:44:32 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.124 2020/04/26 18:53:32 thorpej Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.115 2019/11/09 23:45:08 jdolecek Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.116 2020/04/26 19:20:18 thorpej Exp $");
#include <sys/param.h>
#include <sys/poll.h>
@ -1336,15 +1336,15 @@ struct sysent linux_sysent[] = {
.sy_call = linux_sys_nosys,
}, /* 310 = filler */
{
ns(struct linux_sys_set_robust_list_args),
ns(struct sys___futex_set_robust_list_args),
.sy_flags = SYCALL_ARG_PTR,
.sy_call = (sy_call_t *)linux_sys_set_robust_list
}, /* 311 = set_robust_list */
.sy_call = (sy_call_t *)sys___futex_set_robust_list
}, /* 311 = __futex_set_robust_list */
{
ns(struct linux_sys_get_robust_list_args),
ns(struct sys___futex_get_robust_list_args),
.sy_flags = SYCALL_ARG_PTR,
.sy_call = (sy_call_t *)linux_sys_get_robust_list
}, /* 312 = get_robust_list */
.sy_call = (sy_call_t *)sys___futex_get_robust_list
}, /* 312 = __futex_get_robust_list */
{
.sy_call = linux_sys_nosys,
}, /* 313 = filler */

View File

@ -1,4 +1,4 @@
/* $NetBSD: linux_systrace_args.c,v 1.10 2019/11/09 23:45:08 jdolecek Exp $ */
/* $NetBSD: linux_systrace_args.c,v 1.11 2020/04/26 19:20:18 thorpej Exp $ */
/*
* System call argument to DTrace register array converstion.
@ -1878,20 +1878,20 @@ systrace_args(register_t sysnum, const void *params, uintptr_t *uarg, size_t *n_
*n_args = 4;
break;
}
/* linux_sys_set_robust_list */
/* sys___futex_set_robust_list */
case 311: {
const struct linux_sys_set_robust_list_args *p = params;
uarg[0] = (intptr_t) SCARG(p, head); /* struct linux_robust_list_head * */
const struct sys___futex_set_robust_list_args *p = params;
uarg[0] = (intptr_t) SCARG(p, head); /* void * */
uarg[1] = SCARG(p, len); /* size_t */
*n_args = 2;
break;
}
/* linux_sys_get_robust_list */
/* sys___futex_get_robust_list */
case 312: {
const struct linux_sys_get_robust_list_args *p = params;
iarg[0] = SCARG(p, pid); /* int */
uarg[1] = (intptr_t) SCARG(p, head); /* struct linux_robust_list_head ** */
uarg[2] = (intptr_t) SCARG(p, len); /* size_t * */
const struct sys___futex_get_robust_list_args *p = params;
iarg[0] = SCARG(p, lwpid); /* lwpid_t */
uarg[1] = (intptr_t) SCARG(p, headp); /* void ** */
uarg[2] = (intptr_t) SCARG(p, lenp); /* size_t * */
*n_args = 3;
break;
}
@ -4981,11 +4981,11 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
break;
};
break;
/* linux_sys_set_robust_list */
/* sys___futex_set_robust_list */
case 311:
switch(ndx) {
case 0:
p = "struct linux_robust_list_head *";
p = "void *";
break;
case 1:
p = "size_t";
@ -4994,14 +4994,14 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
break;
};
break;
/* linux_sys_get_robust_list */
/* sys___futex_get_robust_list */
case 312:
switch(ndx) {
case 0:
p = "int";
p = "lwpid_t";
break;
case 1:
p = "struct linux_robust_list_head **";
p = "void **";
break;
case 2:
p = "size_t *";
@ -6179,12 +6179,12 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* linux_sys_set_robust_list */
/* sys___futex_set_robust_list */
case 311:
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* linux_sys_get_robust_list */
/* sys___futex_get_robust_list */
case 312:
if (ndx == 0 || ndx == 1)
p = "int";

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.107 2019/11/09 23:45:08 jdolecek Exp $ */
/* $NetBSD: linux_syscall.h,v 1.108 2020/04/26 19:20:19 thorpej Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.94 2019/11/09 23:44:32 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.95 2020/04/26 18:53:32 thorpej Exp
*/
#ifndef _LINUX_SYS_SYSCALL_H_
@ -699,11 +699,11 @@
/* syscall: "ppoll" ret: "int" args: "struct pollfd *" "u_int" "struct linux_timespec *" "linux_sigset_t *" */
#define LINUX_SYS_ppoll 302
/* syscall: "set_robust_list" ret: "int" args: "struct linux_robust_list_head *" "size_t" */
#define LINUX_SYS_set_robust_list 304
/* syscall: "__futex_set_robust_list" ret: "int" args: "void *" "size_t" */
#define LINUX_SYS___futex_set_robust_list 304
/* syscall: "get_robust_list" ret: "int" args: "int" "struct linux_robust_list_head **" "size_t *" */
#define LINUX_SYS_get_robust_list 305
/* syscall: "__futex_get_robust_list" ret: "int" args: "lwpid_t" "void **" "size_t *" */
#define LINUX_SYS___futex_get_robust_list 305
/* syscall: "sched_setaffinity" ret: "int" args: "pid_t" "unsigned int" "unsigned long *" */
#define LINUX_SYS_sched_setaffinity 311

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscallargs.h,v 1.106 2019/11/09 23:45:08 jdolecek Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.107 2020/04/26 19:20:19 thorpej Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.94 2019/11/09 23:44:32 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.95 2020/04/26 18:53:32 thorpej Exp
*/
#ifndef _LINUX_SYS_SYSCALLARGS_H_
@ -1054,18 +1054,9 @@ struct linux_sys_ppoll_args {
};
check_syscall_args(linux_sys_ppoll)
struct linux_sys_set_robust_list_args {
syscallarg(struct linux_robust_list_head *) head;
syscallarg(size_t) len;
};
check_syscall_args(linux_sys_set_robust_list)
struct sys___futex_set_robust_list_args;
struct linux_sys_get_robust_list_args {
syscallarg(int) pid;
syscallarg(struct linux_robust_list_head **) head;
syscallarg(size_t *) len;
};
check_syscall_args(linux_sys_get_robust_list)
struct sys___futex_get_robust_list_args;
struct linux_sys_sched_setaffinity_args {
syscallarg(pid_t) pid;
@ -1579,9 +1570,9 @@ int linux_sys_pselect6(struct lwp *, const struct linux_sys_pselect6_args *, reg
int linux_sys_ppoll(struct lwp *, const struct linux_sys_ppoll_args *, register_t *);
int linux_sys_set_robust_list(struct lwp *, const struct linux_sys_set_robust_list_args *, register_t *);
int sys___futex_set_robust_list(struct lwp *, const struct sys___futex_set_robust_list_args *, register_t *);
int linux_sys_get_robust_list(struct lwp *, const struct linux_sys_get_robust_list_args *, register_t *);
int sys___futex_get_robust_list(struct lwp *, const struct sys___futex_get_robust_list_args *, register_t *);
int linux_sys_sched_setaffinity(struct lwp *, const struct linux_sys_sched_setaffinity_args *, register_t *);

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_syscalls.c,v 1.107 2019/11/09 23:45:08 jdolecek Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.108 2020/04/26 19:20:19 thorpej Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.94 2019/11/09 23:44:32 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.95 2020/04/26 18:53:32 thorpej Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.107 2019/11/09 23:45:08 jdolecek Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.108 2020/04/26 19:20:19 thorpej Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@ -358,8 +358,8 @@ const char *const linux_syscallnames[] = {
/* 301 */ "pselect6",
/* 302 */ "ppoll",
/* 303 */ "#303 (unimplemented unshare)",
/* 304 */ "set_robust_list",
/* 305 */ "get_robust_list",
/* 304 */ "__futex_set_robust_list",
/* 305 */ "__futex_get_robust_list",
/* 306 */ "#306 (unimplemented splice)",
/* 307 */ "#307 (unimplemented sync_file_range)",
/* 308 */ "#308 (unimplemented tee)",
@ -896,8 +896,8 @@ const char *const altlinux_syscallnames[] = {
/* 301 */ NULL, /* pselect6 */
/* 302 */ NULL, /* ppoll */
/* 303 */ NULL, /* unimplemented unshare */
/* 304 */ NULL, /* set_robust_list */
/* 305 */ NULL, /* get_robust_list */
/* 304 */ NULL, /* __futex_set_robust_list */
/* 305 */ NULL, /* __futex_get_robust_list */
/* 306 */ NULL, /* unimplemented splice */
/* 307 */ NULL, /* unimplemented sync_file_range */
/* 308 */ NULL, /* unimplemented tee */

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_sysent.c,v 1.107 2019/11/09 23:45:08 jdolecek Exp $ */
/* $NetBSD: linux_sysent.c,v 1.108 2020/04/26 19:20:19 thorpej Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.94 2019/11/09 23:44:32 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.95 2020/04/26 18:53:32 thorpej Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.107 2019/11/09 23:45:08 jdolecek Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.108 2020/04/26 19:20:19 thorpej Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@ -1321,15 +1321,15 @@ struct sysent linux_sysent[] = {
.sy_call = linux_sys_nosys,
}, /* 303 = filler */
{
ns(struct linux_sys_set_robust_list_args),
ns(struct sys___futex_set_robust_list_args),
.sy_flags = SYCALL_ARG_PTR,
.sy_call = (sy_call_t *)linux_sys_set_robust_list
}, /* 304 = set_robust_list */
.sy_call = (sy_call_t *)sys___futex_set_robust_list
}, /* 304 = __futex_set_robust_list */
{
ns(struct linux_sys_get_robust_list_args),
ns(struct sys___futex_get_robust_list_args),
.sy_flags = SYCALL_ARG_PTR,
.sy_call = (sy_call_t *)linux_sys_get_robust_list
}, /* 305 = get_robust_list */
.sy_call = (sy_call_t *)sys___futex_get_robust_list
}, /* 305 = __futex_get_robust_list */
{
.sy_call = linux_sys_nosys,
}, /* 306 = filler */

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.79 2019/11/09 23:45:08 jdolecek Exp $ */
/* $NetBSD: linux_syscall.h,v 1.80 2020/04/26 19:20:19 thorpej Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.67 2019/11/09 23:44:32 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.68 2020/04/26 18:53:32 thorpej Exp
*/
#ifndef _LINUX_SYS_SYSCALL_H_
@ -673,11 +673,11 @@
/* syscall: "ppoll" ret: "int" args: "struct pollfd *" "u_int" "struct linux_timespec *" "linux_sigset_t *" */
#define LINUX_SYS_ppoll 302
/* syscall: "set_robust_list" ret: "int" args: "struct linux_robust_list_head *" "size_t" */
#define LINUX_SYS_set_robust_list 309
/* syscall: "__futex_set_robust_list" ret: "int" args: "void *" "size_t" */
#define LINUX_SYS___futex_set_robust_list 309
/* syscall: "get_robust_list" ret: "int" args: "int" "struct linux_robust_list_head **" "size_t *" */
#define LINUX_SYS_get_robust_list 310
/* syscall: "__futex_get_robust_list" ret: "int" args: "lwpid_t" "void **" "size_t *" */
#define LINUX_SYS___futex_get_robust_list 310
/* syscall: "utimensat" ret: "int" args: "int" "const char *" "struct linux_timespec *" "int" */
#define LINUX_SYS_utimensat 316

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscallargs.h,v 1.78 2019/11/09 23:45:08 jdolecek Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.79 2020/04/26 19:20:19 thorpej Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.67 2019/11/09 23:44:32 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.68 2020/04/26 18:53:32 thorpej Exp
*/
#ifndef _LINUX_SYS_SYSCALLARGS_H_
@ -1106,18 +1106,9 @@ struct linux_sys_ppoll_args {
};
check_syscall_args(linux_sys_ppoll)
struct linux_sys_set_robust_list_args {
syscallarg(struct linux_robust_list_head *) head;
syscallarg(size_t) len;
};
check_syscall_args(linux_sys_set_robust_list)
struct sys___futex_set_robust_list_args;
struct linux_sys_get_robust_list_args {
syscallarg(int) pid;
syscallarg(struct linux_robust_list_head **) head;
syscallarg(size_t *) len;
};
check_syscall_args(linux_sys_get_robust_list)
struct sys___futex_get_robust_list_args;
struct linux_sys_utimensat_args {
syscallarg(int) fd;
@ -1615,9 +1606,9 @@ int linux_sys_pselect6(struct lwp *, const struct linux_sys_pselect6_args *, reg
int linux_sys_ppoll(struct lwp *, const struct linux_sys_ppoll_args *, register_t *);
int linux_sys_set_robust_list(struct lwp *, const struct linux_sys_set_robust_list_args *, register_t *);
int sys___futex_set_robust_list(struct lwp *, const struct sys___futex_set_robust_list_args *, register_t *);
int linux_sys_get_robust_list(struct lwp *, const struct linux_sys_get_robust_list_args *, register_t *);
int sys___futex_get_robust_list(struct lwp *, const struct sys___futex_get_robust_list_args *, register_t *);
int linux_sys_utimensat(struct lwp *, const struct linux_sys_utimensat_args *, register_t *);

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_syscalls.c,v 1.78 2019/11/09 23:45:08 jdolecek Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.79 2020/04/26 19:20:19 thorpej Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.67 2019/11/09 23:44:32 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.68 2020/04/26 18:53:32 thorpej Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.78 2019/11/09 23:45:08 jdolecek Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.79 2020/04/26 19:20:19 thorpej Exp $");
#if defined(_KERNEL_OPT)
#include <sys/param.h>
@ -339,8 +339,8 @@ const char *const linux_syscallnames[] = {
/* 306 */ "#306 (unimplemented tee)",
/* 307 */ "#307 (unimplemented vmsplice)",
/* 308 */ "#308 (unimplemented move_pages)",
/* 309 */ "set_robust_list",
/* 310 */ "get_robust_list",
/* 309 */ "__futex_set_robust_list",
/* 310 */ "__futex_get_robust_list",
/* 311 */ "#311 (unimplemented kexec_load)",
/* 312 */ "#312 (unimplemented getcpu)",
/* 313 */ "#313 (unimplemented epoll_pwait)",
@ -856,8 +856,8 @@ const char *const altlinux_syscallnames[] = {
/* 306 */ NULL, /* unimplemented tee */
/* 307 */ NULL, /* unimplemented vmsplice */
/* 308 */ NULL, /* unimplemented move_pages */
/* 309 */ NULL, /* set_robust_list */
/* 310 */ NULL, /* get_robust_list */
/* 309 */ NULL, /* __futex_set_robust_list */
/* 310 */ NULL, /* __futex_get_robust_list */
/* 311 */ NULL, /* unimplemented kexec_load */
/* 312 */ NULL, /* unimplemented getcpu */
/* 313 */ NULL, /* unimplemented epoll_pwait */

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_sysent.c,v 1.78 2019/11/09 23:45:08 jdolecek Exp $ */
/* $NetBSD: linux_sysent.c,v 1.79 2020/04/26 19:20:19 thorpej Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.67 2019/11/09 23:44:32 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.68 2020/04/26 18:53:32 thorpej Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.78 2019/11/09 23:45:08 jdolecek Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.79 2020/04/26 19:20:19 thorpej Exp $");
#include <sys/param.h>
#include <sys/poll.h>
@ -1318,15 +1318,15 @@ struct sysent linux_sysent[] = {
.sy_call = linux_sys_nosys,
}, /* 308 = filler */
{
ns(struct linux_sys_set_robust_list_args),
ns(struct sys___futex_set_robust_list_args),
.sy_flags = SYCALL_ARG_PTR,
.sy_call = (sy_call_t *)linux_sys_set_robust_list
}, /* 309 = set_robust_list */
.sy_call = (sy_call_t *)sys___futex_set_robust_list
}, /* 309 = __futex_set_robust_list */
{
ns(struct linux_sys_get_robust_list_args),
ns(struct sys___futex_get_robust_list_args),
.sy_flags = SYCALL_ARG_PTR,
.sy_call = (sy_call_t *)linux_sys_get_robust_list
}, /* 310 = get_robust_list */
.sy_call = (sy_call_t *)sys___futex_get_robust_list
}, /* 310 = __futex_get_robust_list */
{
.sy_call = linux_sys_nosys,
}, /* 311 = filler */

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.85 2019/11/09 23:45:08 jdolecek Exp $ */
/* $NetBSD: linux_syscall.h,v 1.86 2020/04/26 19:20:19 thorpej Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.73 2019/11/09 23:44:32 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.74 2020/04/26 18:53:32 thorpej Exp
*/
#ifndef _LINUX_SYS_SYSCALL_H_
@ -642,11 +642,11 @@
/* syscall: "faccessat" ret: "int" args: "int" "const char *" "int" */
#define LINUX_SYS_faccessat 298
/* syscall: "set_robust_list" ret: "int" args: "struct linux_robust_list_head *" "size_t" */
#define LINUX_SYS_set_robust_list 299
/* syscall: "__futex_set_robust_list" ret: "int" args: "void *" "size_t" */
#define LINUX_SYS___futex_set_robust_list 299
/* syscall: "get_robust_list" ret: "int" args: "int" "struct linux_robust_list_head **" "size_t *" */
#define LINUX_SYS_get_robust_list 300
/* syscall: "__futex_get_robust_list" ret: "int" args: "lwpid_t" "void **" "size_t *" */
#define LINUX_SYS___futex_get_robust_list 300
/* syscall: "utimensat" ret: "int" args: "int" "const char *" "struct linux_timespec *" "int" */
#define LINUX_SYS_utimensat 304

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscallargs.h,v 1.84 2019/11/09 23:45:08 jdolecek Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.85 2020/04/26 19:20:19 thorpej Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.73 2019/11/09 23:44:32 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.74 2020/04/26 18:53:32 thorpej Exp
*/
#ifndef _LINUX_SYS_SYSCALLARGS_H_
@ -993,18 +993,9 @@ struct linux_sys_faccessat_args {
};
check_syscall_args(linux_sys_faccessat)
struct linux_sys_set_robust_list_args {
syscallarg(struct linux_robust_list_head *) head;
syscallarg(size_t) len;
};
check_syscall_args(linux_sys_set_robust_list)
struct sys___futex_set_robust_list_args;
struct linux_sys_get_robust_list_args {
syscallarg(int) pid;
syscallarg(struct linux_robust_list_head **) head;
syscallarg(size_t *) len;
};
check_syscall_args(linux_sys_get_robust_list)
struct sys___futex_get_robust_list_args;
struct linux_sys_utimensat_args {
syscallarg(int) fd;
@ -1478,9 +1469,9 @@ int linux_sys_fchmodat(struct lwp *, const struct linux_sys_fchmodat_args *, reg
int linux_sys_faccessat(struct lwp *, const struct linux_sys_faccessat_args *, register_t *);
int linux_sys_set_robust_list(struct lwp *, const struct linux_sys_set_robust_list_args *, register_t *);
int sys___futex_set_robust_list(struct lwp *, const struct sys___futex_set_robust_list_args *, register_t *);
int linux_sys_get_robust_list(struct lwp *, const struct linux_sys_get_robust_list_args *, register_t *);
int sys___futex_get_robust_list(struct lwp *, const struct sys___futex_get_robust_list_args *, register_t *);
int linux_sys_utimensat(struct lwp *, const struct linux_sys_utimensat_args *, register_t *);

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_syscalls.c,v 1.84 2019/11/09 23:45:08 jdolecek Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.85 2020/04/26 19:20:19 thorpej Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.73 2019/11/09 23:44:32 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.74 2020/04/26 18:53:32 thorpej Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.84 2019/11/09 23:45:08 jdolecek Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.85 2020/04/26 19:20:19 thorpej Exp $");
#if defined(_KERNEL_OPT)
#include <sys/param.h>
@ -332,8 +332,8 @@ const char *const linux_syscallnames[] = {
/* 296 */ "readlinkat",
/* 297 */ "fchmodat",
/* 298 */ "faccessat",
/* 299 */ "set_robust_list",
/* 300 */ "get_robust_list",
/* 299 */ "__futex_set_robust_list",
/* 300 */ "__futex_get_robust_list",
/* 301 */ "#301 (unimplemented move_pages)",
/* 302 */ "#302 (unimplemented getcpu)",
/* 303 */ "#303 (unimplemented epoll_wait)",
@ -854,8 +854,8 @@ const char *const altlinux_syscallnames[] = {
/* 296 */ NULL, /* readlinkat */
/* 297 */ NULL, /* fchmodat */
/* 298 */ NULL, /* faccessat */
/* 299 */ NULL, /* set_robust_list */
/* 300 */ NULL, /* get_robust_list */
/* 299 */ NULL, /* __futex_set_robust_list */
/* 300 */ NULL, /* __futex_get_robust_list */
/* 301 */ NULL, /* unimplemented move_pages */
/* 302 */ NULL, /* unimplemented getcpu */
/* 303 */ NULL, /* unimplemented epoll_wait */

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_sysent.c,v 1.85 2019/11/09 23:45:08 jdolecek Exp $ */
/* $NetBSD: linux_sysent.c,v 1.86 2020/04/26 19:20:19 thorpej Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.73 2019/11/09 23:44:32 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.74 2020/04/26 18:53:32 thorpej Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.85 2019/11/09 23:45:08 jdolecek Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.86 2020/04/26 19:20:19 thorpej Exp $");
#include <sys/param.h>
#include <sys/poll.h>
@ -1267,15 +1267,15 @@ struct sysent linux_sysent[] = {
.sy_call = (sy_call_t *)linux_sys_faccessat
}, /* 298 = faccessat */
{
ns(struct linux_sys_set_robust_list_args),
ns(struct sys___futex_set_robust_list_args),
.sy_flags = SYCALL_ARG_PTR,
.sy_call = (sy_call_t *)linux_sys_set_robust_list
}, /* 299 = set_robust_list */
.sy_call = (sy_call_t *)sys___futex_set_robust_list
}, /* 299 = __futex_set_robust_list */
{
ns(struct linux_sys_get_robust_list_args),
ns(struct sys___futex_get_robust_list_args),
.sy_flags = SYCALL_ARG_PTR,
.sy_call = (sy_call_t *)linux_sys_get_robust_list
}, /* 300 = get_robust_list */
.sy_call = (sy_call_t *)sys___futex_get_robust_list
}, /* 300 = __futex_get_robust_list */
{
.sy_call = linux_sys_nosys,
}, /* 301 = filler */

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux32_syscall.h,v 1.80 2019/11/09 23:45:08 jdolecek Exp $ */
/* $NetBSD: linux32_syscall.h,v 1.81 2020/04/26 19:20:58 thorpej Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.70 2019/11/09 23:44:31 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.71 2020/04/26 18:53:33 thorpej Exp
*/
#ifndef _LINUX32_SYS_SYSCALL_H_
@ -693,11 +693,11 @@
/* syscall: "ppoll" ret: "int" args: "netbsd32_pollfdp_t" "u_int" "linux32_timespecp_t" "linux32_sigsetp_t" */
#define LINUX32_SYS_ppoll 309
/* syscall: "set_robust_list" ret: "int" args: "linux32_robust_list_headp_t" "linux32_size_t" */
#define LINUX32_SYS_set_robust_list 311
/* syscall: "netbsd32___futex_set_robust_list" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" */
#define LINUX32_SYS_netbsd32___futex_set_robust_list 311
/* syscall: "get_robust_list" ret: "int" args: "linux32_pid_t" "linux32_robust_list_headpp_t" "linux32_sizep_t" */
#define LINUX32_SYS_get_robust_list 312
/* syscall: "netbsd32___futex_get_robust_list" ret: "int" args: "lwpid_t" "netbsd32_voidp" "netbsd32_size_tp" */
#define LINUX32_SYS_netbsd32___futex_get_robust_list 312
/* syscall: "utimensat" ret: "int" args: "int" "netbsd32_charp" "linux32_timespecp_t" "int" */
#define LINUX32_SYS_utimensat 320

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux32_syscallargs.h,v 1.80 2019/11/09 23:45:08 jdolecek Exp $ */
/* $NetBSD: linux32_syscallargs.h,v 1.81 2020/04/26 19:20:58 thorpej Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.70 2019/11/09 23:44:31 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.71 2020/04/26 18:53:33 thorpej Exp
*/
#ifndef _LINUX32_SYS_SYSCALLARGS_H_
@ -992,18 +992,9 @@ struct linux32_sys_ppoll_args {
};
check_syscall_args(linux32_sys_ppoll)
struct linux32_sys_set_robust_list_args {
syscallarg(linux32_robust_list_headp_t) head;
syscallarg(linux32_size_t) len;
};
check_syscall_args(linux32_sys_set_robust_list)
struct netbsd32___futex_set_robust_list_args;
struct linux32_sys_get_robust_list_args {
syscallarg(linux32_pid_t) pid;
syscallarg(linux32_robust_list_headpp_t) head;
syscallarg(linux32_sizep_t) len;
};
check_syscall_args(linux32_sys_get_robust_list)
struct netbsd32___futex_get_robust_list_args;
struct linux32_sys_utimensat_args {
syscallarg(int) fd;
@ -1470,9 +1461,9 @@ int linux32_sys_faccessat(struct lwp *, const struct linux32_sys_faccessat_args
int linux32_sys_ppoll(struct lwp *, const struct linux32_sys_ppoll_args *, register_t *);
int linux32_sys_set_robust_list(struct lwp *, const struct linux32_sys_set_robust_list_args *, register_t *);
int netbsd32___futex_set_robust_list(struct lwp *, const struct netbsd32___futex_set_robust_list_args *, register_t *);
int linux32_sys_get_robust_list(struct lwp *, const struct linux32_sys_get_robust_list_args *, register_t *);
int netbsd32___futex_get_robust_list(struct lwp *, const struct netbsd32___futex_get_robust_list_args *, register_t *);
int linux32_sys_utimensat(struct lwp *, const struct linux32_sys_utimensat_args *, register_t *);

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux32_syscalls.c,v 1.80 2019/11/09 23:45:08 jdolecek Exp $ */
/* $NetBSD: linux32_syscalls.c,v 1.81 2020/04/26 19:20:58 thorpej Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.70 2019/11/09 23:44:31 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.71 2020/04/26 18:53:33 thorpej Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.80 2019/11/09 23:45:08 jdolecek Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.81 2020/04/26 19:20:58 thorpej Exp $");
#if defined(_KERNEL_OPT)
#include <sys/param.h>
@ -350,8 +350,8 @@ const char *const linux32_syscallnames[] = {
/* 308 */ "#308 (unimplemented pselect6)",
/* 309 */ "ppoll",
/* 310 */ "#310 (unimplemented unshare)",
/* 311 */ "set_robust_list",
/* 312 */ "get_robust_list",
/* 311 */ "netbsd32___futex_set_robust_list",
/* 312 */ "netbsd32___futex_get_robust_list",
/* 313 */ "#313 (unimplemented splice)",
/* 314 */ "#314 (unimplemented sync_file_range)",
/* 315 */ "#315 (unimplemented tee)",
@ -869,8 +869,8 @@ const char *const altlinux32_syscallnames[] = {
/* 308 */ NULL, /* unimplemented pselect6 */
/* 309 */ NULL, /* ppoll */
/* 310 */ NULL, /* unimplemented unshare */
/* 311 */ NULL, /* set_robust_list */
/* 312 */ NULL, /* get_robust_list */
/* 311 */ "__futex_set_robust_list",
/* 312 */ "__futex_get_robust_list",
/* 313 */ NULL, /* unimplemented splice */
/* 314 */ NULL, /* unimplemented sync_file_range */
/* 315 */ NULL, /* unimplemented tee */

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux32_sysent.c,v 1.80 2019/11/09 23:45:08 jdolecek Exp $ */
/* $NetBSD: linux32_sysent.c,v 1.81 2020/04/26 19:20:58 thorpej Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.70 2019/11/09 23:44:31 jdolecek Exp
* created from NetBSD: syscalls.master,v 1.71 2020/04/26 18:53:33 thorpej Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux32_sysent.c,v 1.80 2019/11/09 23:45:08 jdolecek Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux32_sysent.c,v 1.81 2020/04/26 19:20:58 thorpej Exp $");
#include <sys/param.h>
#include <sys/poll.h>
@ -1177,13 +1177,13 @@ struct sysent linux32_sysent[] = {
.sy_call = linux_sys_nosys,
}, /* 310 = filler */
{
ns(struct linux32_sys_set_robust_list_args),
.sy_call = (sy_call_t *)linux32_sys_set_robust_list
}, /* 311 = set_robust_list */
ns(struct netbsd32___futex_set_robust_list_args),
.sy_call = (sy_call_t *)netbsd32___futex_set_robust_list
}, /* 311 = netbsd32___futex_set_robust_list */
{
ns(struct linux32_sys_get_robust_list_args),
.sy_call = (sy_call_t *)linux32_sys_get_robust_list
}, /* 312 = get_robust_list */
ns(struct netbsd32___futex_get_robust_list_args),
.sy_call = (sy_call_t *)netbsd32___futex_get_robust_list
}, /* 312 = netbsd32___futex_get_robust_list */
{
.sy_call = linux_sys_nosys,
}, /* 313 = filler */

View File

@ -1,4 +1,4 @@
/* $NetBSD: linux32_systrace_args.c,v 1.7 2019/11/09 23:45:08 jdolecek Exp $ */
/* $NetBSD: linux32_systrace_args.c,v 1.8 2020/04/26 19:20:58 thorpej Exp $ */
/*
* System call argument to DTrace register array converstion.
@ -1820,20 +1820,20 @@ systrace_args(register_t sysnum, const void *params, uintptr_t *uarg, size_t *n_
*n_args = 4;
break;
}
/* linux32_sys_set_robust_list */
/* netbsd32___futex_set_robust_list */
case 311: {
const struct linux32_sys_set_robust_list_args *p = params;
uarg[0] = (intptr_t) SCARG(p, head).i32; /* linux32_robust_list_headp_t */
iarg[1] = SCARG(p, len); /* linux32_size_t */
const struct netbsd32___futex_set_robust_list_args *p = params;
uarg[0] = (intptr_t) SCARG(p, head).i32; /* netbsd32_voidp */
iarg[1] = SCARG(p, len); /* netbsd32_size_t */
*n_args = 2;
break;
}
/* linux32_sys_get_robust_list */
/* netbsd32___futex_get_robust_list */
case 312: {
const struct linux32_sys_get_robust_list_args *p = params;
iarg[0] = SCARG(p, pid); /* linux32_pid_t */
uarg[1] = (intptr_t) SCARG(p, head).i32; /* linux32_robust_list_headpp_t */
uarg[2] = (intptr_t) SCARG(p, len).i32; /* linux32_sizep_t */
const struct netbsd32___futex_get_robust_list_args *p = params;
iarg[0] = SCARG(p, lwpid); /* lwpid_t */
uarg[1] = (intptr_t) SCARG(p, headp).i32; /* netbsd32_voidp */
uarg[2] = (intptr_t) SCARG(p, lenp).i32; /* netbsd32_size_tp */
*n_args = 3;
break;
}
@ -4830,30 +4830,30 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
break;
};
break;
/* linux32_sys_set_robust_list */
/* netbsd32___futex_set_robust_list */
case 311:
switch(ndx) {
case 0:
p = "linux32_robust_list_headp_t";
p = "netbsd32_voidp";
break;
case 1:
p = "linux32_size_t";
p = "netbsd32_size_t";
break;
default:
break;
};
break;
/* linux32_sys_get_robust_list */
/* netbsd32___futex_get_robust_list */
case 312:
switch(ndx) {
case 0:
p = "linux32_pid_t";
p = "lwpid_t";
break;
case 1:
p = "linux32_robust_list_headpp_t";
p = "netbsd32_voidp";
break;
case 2:
p = "linux32_sizep_t";
p = "netbsd32_size_tp";
break;
default:
break;
@ -5991,12 +5991,12 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* linux32_sys_set_robust_list */
/* netbsd32___futex_set_robust_list */
case 311:
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* linux32_sys_get_robust_list */
/* netbsd32___futex_get_robust_list */
case 312:
if (ndx == 0 || ndx == 1)
p = "int";

View File

@ -1,10 +1,10 @@
/* $NetBSD: netbsd32_syscall.h,v 1.152 2020/04/22 21:25:17 thorpej Exp $ */
/* $NetBSD: netbsd32_syscall.h,v 1.153 2020/04/26 19:18:52 thorpej Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.135 2020/04/22 21:22:21 thorpej Exp
* created from NetBSD: syscalls.master,v 1.137 2020/04/26 19:18:36 thorpej Exp
*/
#ifndef _NETBSD32_SYS_SYSCALL_H_
@ -462,6 +462,15 @@
/* syscall: "netbsd32_sysarch" ret: "int" args: "int" "netbsd32_voidp" */
#define NETBSD32_SYS_netbsd32_sysarch 165
/* syscall: "netbsd32___futex" ret: "int" args: "netbsd32_intp" "int" "int" "const netbsd32_timespecp_t" "netbsd32_intp" "int" "int" */
#define NETBSD32_SYS_netbsd32___futex 166
/* syscall: "netbsd32___futex_set_robust_list" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" */
#define NETBSD32_SYS_netbsd32___futex_set_robust_list 167
/* syscall: "netbsd32___futex_get_robust_list" ret: "int" args: "lwpid_t" "netbsd32_voidp" "netbsd32_size_tp" */
#define NETBSD32_SYS_netbsd32___futex_get_robust_list 168
/* syscall: "compat_10_osemsys" ret: "int" args: "int" "int" "int" "int" "int" */
#define NETBSD32_SYS_compat_10_osemsys 169

View File

@ -1,10 +1,10 @@
/* $NetBSD: netbsd32_syscallargs.h,v 1.151 2020/04/22 21:25:17 thorpej Exp $ */
/* $NetBSD: netbsd32_syscallargs.h,v 1.152 2020/04/26 19:18:52 thorpej Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.135 2020/04/22 21:22:21 thorpej Exp
* created from NetBSD: syscalls.master,v 1.137 2020/04/26 19:18:36 thorpej Exp
*/
#ifndef _NETBSD32_SYS_SYSCALLARGS_H_
@ -864,6 +864,30 @@ struct netbsd32_sysarch_args {
};
check_syscall_args(netbsd32_sysarch)
struct netbsd32___futex_args {
syscallarg(netbsd32_intp) uaddr;
syscallarg(int) op;
syscallarg(int) val;
syscallarg(const netbsd32_timespecp_t) timeout;
syscallarg(netbsd32_intp) uaddr2;
syscallarg(int) val2;
syscallarg(int) val3;
};
check_syscall_args(netbsd32___futex)
struct netbsd32___futex_set_robust_list_args {
syscallarg(netbsd32_voidp) head;
syscallarg(netbsd32_size_t) len;
};
check_syscall_args(netbsd32___futex_set_robust_list)
struct netbsd32___futex_get_robust_list_args {
syscallarg(lwpid_t) lwpid;
syscallarg(netbsd32_voidp) headp;
syscallarg(netbsd32_size_tp) lenp;
};
check_syscall_args(netbsd32___futex_get_robust_list)
struct compat_10_netbsd32_semsys_args {
syscallarg(int) which;
syscallarg(int) a2;
@ -2941,6 +2965,12 @@ int compat_09_netbsd32_uname(struct lwp *, const struct compat_09_netbsd32_uname
int netbsd32_sysarch(struct lwp *, const struct netbsd32_sysarch_args *, register_t *);
int netbsd32___futex(struct lwp *, const struct netbsd32___futex_args *, register_t *);
int netbsd32___futex_set_robust_list(struct lwp *, const struct netbsd32___futex_set_robust_list_args *, register_t *);
int netbsd32___futex_get_robust_list(struct lwp *, const struct netbsd32___futex_get_robust_list_args *, register_t *);
int compat_10_netbsd32_semsys(struct lwp *, const struct compat_10_netbsd32_semsys_args *, register_t *);
int compat_10_netbsd32_msgsys(struct lwp *, const struct compat_10_netbsd32_msgsys_args *, register_t *);

View File

@ -1,14 +1,14 @@
/* $NetBSD: netbsd32_syscalls.c,v 1.151 2020/04/22 21:25:18 thorpej Exp $ */
/* $NetBSD: netbsd32_syscalls.c,v 1.152 2020/04/26 19:18:52 thorpej Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.135 2020/04/22 21:22:21 thorpej Exp
* created from NetBSD: syscalls.master,v 1.137 2020/04/26 19:18:36 thorpej Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.151 2020/04/22 21:25:18 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.152 2020/04/26 19:18:52 thorpej Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@ -196,9 +196,9 @@ const char *const netbsd32_syscallnames[] = {
/* 163 */ "compat_09_netbsd32_osetdomainname",
/* 164 */ "compat_09_netbsd32_uname",
/* 165 */ "netbsd32_sysarch",
/* 166 */ "#166 (unimplemented)",
/* 167 */ "#167 (unimplemented)",
/* 168 */ "#168 (unimplemented)",
/* 166 */ "netbsd32___futex",
/* 167 */ "netbsd32___futex_set_robust_list",
/* 168 */ "netbsd32___futex_get_robust_list",
/* 169 */ "compat_10_osemsys",
/* 170 */ "compat_10_omsgsys",
/* 171 */ "compat_10_oshmsys",
@ -721,9 +721,9 @@ const char *const altnetbsd32_syscallnames[] = {
/* 163 */ NULL, /* compat_09_netbsd32_osetdomainname */
/* 164 */ NULL, /* compat_09_netbsd32_uname */
/* 165 */ "sysarch",
/* 166 */ NULL, /* unimplemented */
/* 167 */ NULL, /* unimplemented */
/* 168 */ NULL, /* unimplemented */
/* 166 */ "__futex",
/* 167 */ "__futex_set_robust_list",
/* 168 */ "__futex_get_robust_list",
/* 169 */ NULL, /* compat_10_osemsys */
/* 170 */ NULL, /* compat_10_omsgsys */
/* 171 */ NULL, /* compat_10_oshmsys */

View File

@ -1,14 +1,14 @@
/* $NetBSD: netbsd32_syscalls_autoload.c,v 1.31 2020/04/22 21:25:18 thorpej Exp $ */
/* $NetBSD: netbsd32_syscalls_autoload.c,v 1.32 2020/04/26 19:18:52 thorpej Exp $ */
/*
* System call autoload table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.135 2020/04/22 21:22:21 thorpej Exp
* created from NetBSD: syscalls.master,v 1.137 2020/04/26 19:18:36 thorpej Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls_autoload.c,v 1.31 2020/04/22 21:25:18 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls_autoload.c,v 1.32 2020/04/26 19:18:52 thorpej Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"

View File

@ -1,14 +1,14 @@
/* $NetBSD: netbsd32_sysent.c,v 1.150 2020/04/22 21:25:18 thorpej Exp $ */
/* $NetBSD: netbsd32_sysent.c,v 1.151 2020/04/26 19:18:52 thorpej Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.135 2020/04/22 21:22:21 thorpej Exp
* created from NetBSD: syscalls.master,v 1.137 2020/04/26 19:18:36 thorpej Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: netbsd32_sysent.c,v 1.150 2020/04/22 21:25:18 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: netbsd32_sysent.c,v 1.151 2020/04/26 19:18:52 thorpej Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@ -761,14 +761,17 @@ struct sysent netbsd32_sysent[] = {
.sy_call = (sy_call_t *)netbsd32_sysarch
}, /* 165 = netbsd32_sysarch */
{
.sy_call = sys_nosys,
}, /* 166 = filler */
ns(struct netbsd32___futex_args),
.sy_call = (sy_call_t *)netbsd32___futex
}, /* 166 = netbsd32___futex */
{
.sy_call = sys_nosys,
}, /* 167 = filler */
ns(struct netbsd32___futex_set_robust_list_args),
.sy_call = (sy_call_t *)netbsd32___futex_set_robust_list
}, /* 167 = netbsd32___futex_set_robust_list */
{
.sy_call = sys_nosys,
}, /* 168 = filler */
ns(struct netbsd32___futex_get_robust_list_args),
.sy_call = (sy_call_t *)netbsd32___futex_get_robust_list
}, /* 168 = netbsd32___futex_get_robust_list */
{
ns(struct compat_10_netbsd32_semsys_args),
.sy_call = (sy_call_t *)sys_nomodule

View File

@ -1,4 +1,4 @@
/* $NetBSD: netbsd32_systrace_args.c,v 1.42 2020/04/22 21:25:18 thorpej Exp $ */
/* $NetBSD: netbsd32_systrace_args.c,v 1.43 2020/04/26 19:18:52 thorpej Exp $ */
/*
* System call argument to DTrace register array converstion.
@ -1186,6 +1186,36 @@ systrace_args(register_t sysnum, const void *params, uintptr_t *uarg, size_t *n_
*n_args = 2;
break;
}
/* netbsd32___futex */
case 166: {
const struct netbsd32___futex_args *p = params;
uarg[0] = (intptr_t) SCARG(p, uaddr).i32; /* netbsd32_intp */
iarg[1] = SCARG(p, op); /* int */
iarg[2] = SCARG(p, val); /* int */
uarg[3] = (intptr_t) SCARG(p, timeout).i32; /* const netbsd32_timespecp_t */
uarg[4] = (intptr_t) SCARG(p, uaddr2).i32; /* netbsd32_intp */
iarg[5] = SCARG(p, val2); /* int */
iarg[6] = SCARG(p, val3); /* int */
*n_args = 7;
break;
}
/* netbsd32___futex_set_robust_list */
case 167: {
const struct netbsd32___futex_set_robust_list_args *p = params;
uarg[0] = (intptr_t) SCARG(p, head).i32; /* netbsd32_voidp */
iarg[1] = SCARG(p, len); /* netbsd32_size_t */
*n_args = 2;
break;
}
/* netbsd32___futex_get_robust_list */
case 168: {
const struct netbsd32___futex_get_robust_list_args *p = params;
iarg[0] = SCARG(p, lwpid); /* lwpid_t */
uarg[1] = (intptr_t) SCARG(p, headp).i32; /* netbsd32_voidp */
uarg[2] = (intptr_t) SCARG(p, lenp).i32; /* netbsd32_size_tp */
*n_args = 3;
break;
}
/* netbsd32_semsys */
case 169: {
const struct compat_10_netbsd32_semsys_args *p = params;
@ -5427,6 +5457,63 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
break;
};
break;
/* netbsd32___futex */
case 166:
switch(ndx) {
case 0:
p = "netbsd32_intp";
break;
case 1:
p = "int";
break;
case 2:
p = "int";
break;
case 3:
p = "const netbsd32_timespecp_t";
break;
case 4:
p = "netbsd32_intp";
break;
case 5:
p = "int";
break;
case 6:
p = "int";
break;
default:
break;
};
break;
/* netbsd32___futex_set_robust_list */
case 167:
switch(ndx) {
case 0:
p = "netbsd32_voidp";
break;
case 1:
p = "netbsd32_size_t";
break;
default:
break;
};
break;
/* netbsd32___futex_get_robust_list */
case 168:
switch(ndx) {
case 0:
p = "lwpid_t";
break;
case 1:
p = "netbsd32_voidp";
break;
case 2:
p = "netbsd32_size_tp";
break;
default:
break;
};
break;
/* netbsd32_semsys */
case 169:
switch(ndx) {
@ -10200,6 +10287,21 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* netbsd32___futex */
case 166:
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* netbsd32___futex_set_robust_list */
case 167:
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* netbsd32___futex_get_robust_list */
case 168:
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* netbsd32_semsys */
case 169:
if (ndx == 0 || ndx == 1)