Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/linux/arch/i386 regen
details: https://anonhg.NetBSD.org/src/rev/d6e2b3f8e338
branches: trunk
changeset: 377393:d6e2b3f8e338
user: christos <christos%NetBSD.org@localhost>
date: Mon Jul 10 13:05:35 2023 +0000
description:
regen
diffstat:
sys/compat/linux/arch/i386/linux_syscall.h | 12 +-
sys/compat/linux/arch/i386/linux_syscallargs.h | 16 +-
sys/compat/linux/arch/i386/linux_syscalls.c | 366 +++++++++++-----------
sys/compat/linux/arch/i386/linux_sysent.c | 20 +-
sys/compat/linux/arch/i386/linux_systrace_args.c | 58 +++-
5 files changed, 275 insertions(+), 197 deletions(-)
diffs (truncated from 593 to 300 lines):
diff -r 503e0bbe2dfa -r d6e2b3f8e338 sys/compat/linux/arch/i386/linux_syscall.h
--- a/sys/compat/linux/arch/i386/linux_syscall.h Mon Jul 10 13:05:27 2023 +0000
+++ b/sys/compat/linux/arch/i386/linux_syscall.h Mon Jul 10 13:05:35 2023 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.121 2021/12/02 04:39:45 ryo Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.122 2023/07/10 13:05:35 christos Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.128 2021/09/20 02:20:02 thorpej Exp
+ * created from NetBSD: syscalls.master,v 1.130 2023/07/10 13:05:27 christos Exp
*/
#ifndef _LINUX_SYS_SYSCALL_H_
@@ -773,6 +773,12 @@
/* syscall: "prlimit64" ret: "int" args: "pid_t" "int" "struct rlimit *" "struct rlimit *" */
#define LINUX_SYS_prlimit64 340
-#define LINUX_SYS_MAXSYSCALL 351
+/* syscall: "getrandom" ret: "ssize_t" args: "void *" "size_t" "unsigned int" */
+#define LINUX_SYS_getrandom 355
+
+/* syscall: "memfd_create" ret: "int" args: "const char *" "unsigned int" */
+#define LINUX_SYS_memfd_create 356
+
+#define LINUX_SYS_MAXSYSCALL 441
#define LINUX_SYS_NSYSENT 512
#endif /* _LINUX_SYS_SYSCALL_H_ */
diff -r 503e0bbe2dfa -r d6e2b3f8e338 sys/compat/linux/arch/i386/linux_syscallargs.h
--- a/sys/compat/linux/arch/i386/linux_syscallargs.h Mon Jul 10 13:05:27 2023 +0000
+++ b/sys/compat/linux/arch/i386/linux_syscallargs.h Mon Jul 10 13:05:35 2023 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.121 2021/12/02 04:39:45 ryo Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.122 2023/07/10 13:05:35 christos Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.128 2021/09/20 02:20:02 thorpej Exp
+ * created from NetBSD: syscalls.master,v 1.130 2023/07/10 13:05:27 christos Exp
*/
#ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -1222,6 +1222,14 @@ struct linux_sys_prlimit64_args {
};
check_syscall_args(linux_sys_prlimit64)
+struct sys_getrandom_args;
+
+struct linux_sys_memfd_create_args {
+ syscallarg(const char *) name;
+ syscallarg(unsigned int) flags;
+};
+check_syscall_args(linux_sys_memfd_create)
+
/*
* System call prototypes.
*/
@@ -1712,4 +1720,8 @@ int linux_sys_pwritev(struct lwp *, cons
int linux_sys_prlimit64(struct lwp *, const struct linux_sys_prlimit64_args *, register_t *);
+int sys_getrandom(struct lwp *, const struct sys_getrandom_args *, register_t *);
+
+int linux_sys_memfd_create(struct lwp *, const struct linux_sys_memfd_create_args *, register_t *);
+
#endif /* _LINUX_SYS_SYSCALLARGS_H_ */
diff -r 503e0bbe2dfa -r d6e2b3f8e338 sys/compat/linux/arch/i386/linux_syscalls.c
--- a/sys/compat/linux/arch/i386/linux_syscalls.c Mon Jul 10 13:05:27 2023 +0000
+++ b/sys/compat/linux/arch/i386/linux_syscalls.c Mon Jul 10 13:05:35 2023 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.122 2021/12/02 04:39:45 ryo Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.123 2023/07/10 13:05:35 christos Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.128 2021/09/20 02:20:02 thorpej Exp
+ * created from NetBSD: syscalls.master,v 1.130 2023/07/10 13:05:27 christos Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.122 2021/12/02 04:39:45 ryo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.123 2023/07/10 13:05:35 christos Exp $");
#if defined(_KERNEL_OPT)
#include <sys/param.h>
@@ -385,96 +385,96 @@ const char *const linux_syscallnames[] =
/* 348 */ "#348 (unimplemented process_vm_writev)",
/* 349 */ "#349 (unimplemented kcmp)",
/* 350 */ "#350 (unimplemented finit_module)",
- /* 351 */ "# filler",
- /* 352 */ "# filler",
- /* 353 */ "# filler",
- /* 354 */ "# filler",
- /* 355 */ "# filler",
- /* 356 */ "# filler",
- /* 357 */ "# filler",
- /* 358 */ "# filler",
- /* 359 */ "# filler",
- /* 360 */ "# filler",
- /* 361 */ "# filler",
- /* 362 */ "# filler",
- /* 363 */ "# filler",
- /* 364 */ "# filler",
- /* 365 */ "# filler",
- /* 366 */ "# filler",
- /* 367 */ "# filler",
- /* 368 */ "# filler",
- /* 369 */ "# filler",
- /* 370 */ "# filler",
- /* 371 */ "# filler",
- /* 372 */ "# filler",
- /* 373 */ "# filler",
- /* 374 */ "# filler",
- /* 375 */ "# filler",
- /* 376 */ "# filler",
- /* 377 */ "# filler",
- /* 378 */ "# filler",
- /* 379 */ "# filler",
- /* 380 */ "# filler",
- /* 381 */ "# filler",
- /* 382 */ "# filler",
- /* 383 */ "# filler",
- /* 384 */ "# filler",
- /* 385 */ "# filler",
- /* 386 */ "# filler",
- /* 387 */ "# filler",
- /* 388 */ "# filler",
- /* 389 */ "# filler",
- /* 390 */ "# filler",
- /* 391 */ "# filler",
- /* 392 */ "# filler",
- /* 393 */ "# filler",
- /* 394 */ "# filler",
- /* 395 */ "# filler",
- /* 396 */ "# filler",
- /* 397 */ "# filler",
- /* 398 */ "# filler",
- /* 399 */ "# filler",
- /* 400 */ "# filler",
- /* 401 */ "# filler",
- /* 402 */ "# filler",
- /* 403 */ "# filler",
- /* 404 */ "# filler",
- /* 405 */ "# filler",
- /* 406 */ "# filler",
- /* 407 */ "# filler",
- /* 408 */ "# filler",
- /* 409 */ "# filler",
- /* 410 */ "# filler",
- /* 411 */ "# filler",
- /* 412 */ "# filler",
- /* 413 */ "# filler",
- /* 414 */ "# filler",
- /* 415 */ "# filler",
- /* 416 */ "# filler",
- /* 417 */ "# filler",
- /* 418 */ "# filler",
- /* 419 */ "# filler",
- /* 420 */ "# filler",
- /* 421 */ "# filler",
- /* 422 */ "# filler",
- /* 423 */ "# filler",
- /* 424 */ "# filler",
- /* 425 */ "# filler",
- /* 426 */ "# filler",
- /* 427 */ "# filler",
- /* 428 */ "# filler",
- /* 429 */ "# filler",
- /* 430 */ "# filler",
- /* 431 */ "# filler",
- /* 432 */ "# filler",
- /* 433 */ "# filler",
- /* 434 */ "# filler",
- /* 435 */ "# filler",
- /* 436 */ "# filler",
- /* 437 */ "# filler",
- /* 438 */ "# filler",
- /* 439 */ "# filler",
- /* 440 */ "# filler",
+ /* 351 */ "#351 (unimplemented sched_setattr)",
+ /* 352 */ "#352 (unimplemented sched_getattr)",
+ /* 353 */ "#353 (unimplemented renameat2)",
+ /* 354 */ "#354 (unimplemented seccomp)",
+ /* 355 */ "getrandom",
+ /* 356 */ "memfd_create",
+ /* 357 */ "#357 (unimplemented bpf)",
+ /* 358 */ "#358 (unimplemented execveat)",
+ /* 359 */ "#359 (unimplemented socket)",
+ /* 360 */ "#360 (unimplemented socketpair)",
+ /* 361 */ "#361 (unimplemented bind)",
+ /* 362 */ "#362 (unimplemented connect)",
+ /* 363 */ "#363 (unimplemented listen)",
+ /* 364 */ "#364 (unimplemented accept4)",
+ /* 365 */ "#365 (unimplemented getsockopt)",
+ /* 366 */ "#366 (unimplemented setsockopt)",
+ /* 367 */ "#367 (unimplemented getsockname)",
+ /* 368 */ "#368 (unimplemented getpeername)",
+ /* 369 */ "#369 (unimplemented sendto)",
+ /* 370 */ "#370 (unimplemented sendmsg)",
+ /* 371 */ "#371 (unimplemented recvfrom)",
+ /* 372 */ "#372 (unimplemented recvmsg)",
+ /* 373 */ "#373 (unimplemented shutdown)",
+ /* 374 */ "#374 (unimplemented userfaultfd)",
+ /* 375 */ "#375 (unimplemented membarrier)",
+ /* 376 */ "#376 (unimplemented mlock2)",
+ /* 377 */ "#377 (unimplemented copy_file_range)",
+ /* 378 */ "#378 (unimplemented preadv2)",
+ /* 379 */ "#379 (unimplemented pwritev2)",
+ /* 380 */ "#380 (unimplemented pkey_mprotect)",
+ /* 381 */ "#381 (unimplemented pkey_alloc)",
+ /* 382 */ "#382 (unimplemented pkey_free)",
+ /* 383 */ "#383 (unimplemented statx)",
+ /* 384 */ "#384 (unimplemented arch_prctl)",
+ /* 385 */ "#385 (unimplemented io_pgetevents)",
+ /* 386 */ "#386 (unimplemented rseq)",
+ /* 387 */ "#387 (unimplemented)",
+ /* 388 */ "#388 (unimplemented)",
+ /* 389 */ "#389 (unimplemented)",
+ /* 390 */ "#390 (unimplemented)",
+ /* 391 */ "#391 (unimplemented)",
+ /* 392 */ "#392 (unimplemented)",
+ /* 393 */ "#393 (unimplemented semget)",
+ /* 394 */ "#394 (unimplemented semctl)",
+ /* 395 */ "#395 (unimplemented shmget)",
+ /* 396 */ "#396 (unimplemented shmctl)",
+ /* 397 */ "#397 (unimplemented shmat)",
+ /* 398 */ "#398 (unimplemented shmdt)",
+ /* 399 */ "#399 (unimplemented msgget)",
+ /* 400 */ "#400 (unimplemented msgsnd)",
+ /* 401 */ "#401 (unimplemented msgrcv)",
+ /* 402 */ "#402 (unimplemented msgctl)",
+ /* 403 */ "#403 (unimplemented clock_gettime64)",
+ /* 404 */ "#404 (unimplemented clock_settime64)",
+ /* 405 */ "#405 (unimplemented clock_adjtime64)",
+ /* 406 */ "#406 (unimplemented clock_getres_time64)",
+ /* 407 */ "#407 (unimplemented clock_nanosleep_time64)",
+ /* 408 */ "#408 (unimplemented timer_gettime64)",
+ /* 409 */ "#409 (unimplemented timer_settime64)",
+ /* 410 */ "#410 (unimplemented timerfd_gettime64)",
+ /* 411 */ "#411 (unimplemented timerfd_settime64)",
+ /* 412 */ "#412 (unimplemented utimensat_time64)",
+ /* 413 */ "#413 (unimplemented pselect6_time64)",
+ /* 414 */ "#414 (unimplemented ppoll_time64)",
+ /* 415 */ "#415 (unimplemented)",
+ /* 416 */ "#416 (unimplemented io_pgetevents_time64)",
+ /* 417 */ "#417 (unimplemented recvmmsg_time64)",
+ /* 418 */ "#418 (unimplemented mq_timedsend_time64)",
+ /* 419 */ "#419 (unimplemented mq_timedreceive_time64)",
+ /* 420 */ "#420 (unimplemented semtimedop_time64)",
+ /* 421 */ "#421 (unimplemented rt_sigtimedwait_time64)",
+ /* 422 */ "#422 (unimplemented futex_time64)",
+ /* 423 */ "#423 (unimplemented sched_rr_get_interval_time64)",
+ /* 424 */ "#424 (unimplemented pidfd_send_signal)",
+ /* 425 */ "#425 (unimplemented io_uring_setup)",
+ /* 426 */ "#426 (unimplemented io_uring_enter)",
+ /* 427 */ "#427 (unimplemented io_uring_register)",
+ /* 428 */ "#428 (unimplemented open_tree)",
+ /* 429 */ "#429 (unimplemented move_mount)",
+ /* 430 */ "#430 (unimplemented fsopen)",
+ /* 431 */ "#431 (unimplemented fsconfig)",
+ /* 432 */ "#432 (unimplemented fsmount)",
+ /* 433 */ "#433 (unimplemented fspick)",
+ /* 434 */ "#434 (unimplemented pidfd_open)",
+ /* 435 */ "#435 (unimplemented clone3)",
+ /* 436 */ "#436 (unimplemented close_range)",
+ /* 437 */ "#437 (unimplemented openat2)",
+ /* 438 */ "#438 (unimplemented pidfd_getfd)",
+ /* 439 */ "#439 (unimplemented faccessat2)",
+ /* 440 */ "#440 (unimplemented process_madvise)",
/* 441 */ "# filler",
/* 442 */ "# filler",
/* 443 */ "# filler",
@@ -907,96 +907,96 @@ const char *const altlinux_syscallnames[
/* 348 */ NULL, /* unimplemented process_vm_writev */
/* 349 */ NULL, /* unimplemented kcmp */
/* 350 */ NULL, /* unimplemented finit_module */
- /* 351 */ NULL, /* filler */
- /* 352 */ NULL, /* filler */
- /* 353 */ NULL, /* filler */
- /* 354 */ NULL, /* filler */
- /* 355 */ NULL, /* filler */
- /* 356 */ NULL, /* filler */
- /* 357 */ NULL, /* filler */
- /* 358 */ NULL, /* filler */
- /* 359 */ NULL, /* filler */
- /* 360 */ NULL, /* filler */
- /* 361 */ NULL, /* filler */
- /* 362 */ NULL, /* filler */
- /* 363 */ NULL, /* filler */
- /* 364 */ NULL, /* filler */
- /* 365 */ NULL, /* filler */
- /* 366 */ NULL, /* filler */
- /* 367 */ NULL, /* filler */
- /* 368 */ NULL, /* filler */
Home |
Main Index |
Thread Index |
Old Index