Module Name:    src
Committed By:   thorpej
Date:           Thu Dec 17 03:05:50 UTC 2020

Modified Files:
        src/sys/compat/linux32/arch/amd64 [thorpej-futex]: linux32_syscall.h
            linux32_syscallargs.h linux32_syscalls.c linux32_sysent.c
            linux32_systrace_args.c

Log Message:
Regen for POSIX timers and timerfd.


To generate a diff of this commit:
cvs rdiff -u -r1.81.2.1 -r1.81.2.2 \
    src/sys/compat/linux32/arch/amd64/linux32_syscall.h \
    src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h \
    src/sys/compat/linux32/arch/amd64/linux32_syscalls.c \
    src/sys/compat/linux32/arch/amd64/linux32_sysent.c
cvs rdiff -u -r1.8.2.1 -r1.8.2.2 \
    src/sys/compat/linux32/arch/amd64/linux32_systrace_args.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux32/arch/amd64/linux32_syscall.h
diff -u src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.81.2.1 src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.81.2.2
--- src/sys/compat/linux32/arch/amd64/linux32_syscall.h:1.81.2.1	Wed Dec 16 03:08:01 2020
+++ src/sys/compat/linux32/arch/amd64/linux32_syscall.h	Thu Dec 17 03:05:50 2020
@@ -1,10 +1,10 @@
-/* $NetBSD: linux32_syscall.h,v 1.81.2.1 2020/12/16 03:08:01 thorpej Exp $ */
+/* $NetBSD: linux32_syscall.h,v 1.81.2.2 2020/12/17 03:05:50 thorpej Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.71.2.1 2020/12/16 03:07:43 thorpej Exp
+ * created from	NetBSD: syscalls.master,v 1.71.2.2 2020/12/17 03:05:32 thorpej Exp
  */
 
 #ifndef _LINUX32_SYS_SYSCALL_H_
@@ -627,6 +627,21 @@
 /* syscall: "set_tid_address" ret: "int" args: "linux32_intp_t" */
 #define	LINUX32_SYS_set_tid_address	258
 
+/* syscall: "timer_create" ret: "int" args: "clockid_t" "struct linux32_sigevent *" "timer_t *" */
+#define	LINUX32_SYS_timer_create	259
+
+/* syscall: "timer_settime" ret: "int" args: "timer_t" "int" "const struct linux32_itimerspec *" "struct linux32_itimerspec *" */
+#define	LINUX32_SYS_timer_settime	260
+
+/* syscall: "timer_gettime" ret: "int" args: "timer_t" "struct linux32_itimerspec *" */
+#define	LINUX32_SYS_timer_gettime	261
+
+/* syscall: "timer_getoverrun" ret: "int" args: "timer_t" */
+#define	LINUX32_SYS_timer_getoverrun	262
+
+/* syscall: "timer_delete" ret: "int" args: "timer_t" */
+#define	LINUX32_SYS_timer_delete	263
+
 /* syscall: "clock_settime" ret: "int" args: "clockid_t" "linux32_timespecp_t" */
 #define	LINUX32_SYS_clock_settime	264
 
@@ -702,12 +717,21 @@
 /* syscall: "utimensat" ret: "int" args: "int" "netbsd32_charp" "linux32_timespecp_t" "int" */
 #define	LINUX32_SYS_utimensat	320
 
+/* syscall: "timerfd_create" ret: "int" args: "clockid_t" "int" */
+#define	LINUX32_SYS_timerfd_create	322
+
 /* syscall: "eventfd" ret: "int" args: "unsigned int" */
 #define	LINUX32_SYS_eventfd	323
 
 /* syscall: "fallocate" ret: "int" args: "int" "int" "off_t" "off_t" */
 #define	LINUX32_SYS_fallocate	324
 
+/* syscall: "timerfd_settime" ret: "int" args: "int" "int" "const struct linux32_itimerspec *" "struct linux32_itimerspec *" */
+#define	LINUX32_SYS_timerfd_settime	325
+
+/* syscall: "timerfd_gettime" ret: "int" args: "int" "struct linux32_itimerspec *" */
+#define	LINUX32_SYS_timerfd_gettime	326
+
 /* syscall: "eventfd2" ret: "int" args: "unsigned int" "int" */
 #define	LINUX32_SYS_eventfd2	328
 
Index: src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h
diff -u src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.81.2.1 src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.81.2.2
--- src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h:1.81.2.1	Wed Dec 16 03:08:01 2020
+++ src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h	Thu Dec 17 03:05:50 2020
@@ -1,10 +1,10 @@
-/* $NetBSD: linux32_syscallargs.h,v 1.81.2.1 2020/12/16 03:08:01 thorpej Exp $ */
+/* $NetBSD: linux32_syscallargs.h,v 1.81.2.2 2020/12/17 03:05:50 thorpej Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.71.2.1 2020/12/16 03:07:43 thorpej Exp
+ * created from	NetBSD: syscalls.master,v 1.71.2.2 2020/12/17 03:05:32 thorpej Exp
  */
 
 #ifndef _LINUX32_SYS_SYSCALLARGS_H_
@@ -854,6 +854,31 @@ struct linux32_sys_set_tid_address_args 
 };
 check_syscall_args(linux32_sys_set_tid_address)
 
+struct linux32_sys_timer_create_args {
+	syscallarg(clockid_t) clockid;
+	syscallarg(struct linux32_sigevent *) evp;
+	syscallarg(timer_t *) timerid;
+};
+check_syscall_args(linux32_sys_timer_create)
+
+struct linux32_sys_timer_settime_args {
+	syscallarg(timer_t) timerid;
+	syscallarg(int) flags;
+	syscallarg(const struct linux32_itimerspec *) tim;
+	syscallarg(struct linux32_itimerspec *) otim;
+};
+check_syscall_args(linux32_sys_timer_settime)
+
+struct linux32_sys_timer_gettime_args {
+	syscallarg(timer_t) timerid;
+	syscallarg(struct linux32_itimerspec *) tim;
+};
+check_syscall_args(linux32_sys_timer_gettime)
+
+struct sys_timer_getoverrun_args;
+
+struct sys_timer_delete_args;
+
 struct linux32_sys_clock_settime_args {
 	syscallarg(clockid_t) which;
 	syscallarg(linux32_timespecp_t) tp;
@@ -1004,6 +1029,8 @@ struct linux32_sys_utimensat_args {
 };
 check_syscall_args(linux32_sys_utimensat)
 
+struct linux_sys_timerfd_create_args;
+
 struct linux32_sys_eventfd_args {
 	syscallarg(unsigned int) initval;
 };
@@ -1017,6 +1044,20 @@ struct linux32_sys_fallocate_args {
 };
 check_syscall_args(linux32_sys_fallocate)
 
+struct linux32_sys_timerfd_settime_args {
+	syscallarg(int) fd;
+	syscallarg(int) flags;
+	syscallarg(const struct linux32_itimerspec *) new_value;
+	syscallarg(struct linux32_itimerspec *) old_value;
+};
+check_syscall_args(linux32_sys_timerfd_settime)
+
+struct linux32_sys_timerfd_gettime_args {
+	syscallarg(int) fd;
+	syscallarg(struct linux32_itimerspec *) curr_value;
+};
+check_syscall_args(linux32_sys_timerfd_gettime)
+
 struct linux32_sys_eventfd2_args {
 	syscallarg(unsigned int) initval;
 	syscallarg(int) flags;
@@ -1428,6 +1469,16 @@ int	linux32_sys_exit_group(struct lwp *,
 
 int	linux32_sys_set_tid_address(struct lwp *, const struct linux32_sys_set_tid_address_args *, register_t *);
 
+int	linux32_sys_timer_create(struct lwp *, const struct linux32_sys_timer_create_args *, register_t *);
+
+int	linux32_sys_timer_settime(struct lwp *, const struct linux32_sys_timer_settime_args *, register_t *);
+
+int	linux32_sys_timer_gettime(struct lwp *, const struct linux32_sys_timer_gettime_args *, register_t *);
+
+int	sys_timer_getoverrun(struct lwp *, const struct sys_timer_getoverrun_args *, register_t *);
+
+int	sys_timer_delete(struct lwp *, const struct sys_timer_delete_args *, register_t *);
+
 int	linux32_sys_clock_settime(struct lwp *, const struct linux32_sys_clock_settime_args *, register_t *);
 
 int	linux32_sys_clock_gettime(struct lwp *, const struct linux32_sys_clock_gettime_args *, register_t *);
@@ -1478,10 +1529,16 @@ int	netbsd32___futex_get_robust_list(str
 
 int	linux32_sys_utimensat(struct lwp *, const struct linux32_sys_utimensat_args *, register_t *);
 
+int	linux_sys_timerfd_create(struct lwp *, const struct linux_sys_timerfd_create_args *, register_t *);
+
 int	linux32_sys_eventfd(struct lwp *, const struct linux32_sys_eventfd_args *, register_t *);
 
 int	linux32_sys_fallocate(struct lwp *, const struct linux32_sys_fallocate_args *, register_t *);
 
+int	linux32_sys_timerfd_settime(struct lwp *, const struct linux32_sys_timerfd_settime_args *, register_t *);
+
+int	linux32_sys_timerfd_gettime(struct lwp *, const struct linux32_sys_timerfd_gettime_args *, register_t *);
+
 int	linux32_sys_eventfd2(struct lwp *, const struct linux32_sys_eventfd2_args *, register_t *);
 
 int	linux32_sys_dup3(struct lwp *, const struct linux32_sys_dup3_args *, register_t *);
Index: src/sys/compat/linux32/arch/amd64/linux32_syscalls.c
diff -u src/sys/compat/linux32/arch/amd64/linux32_syscalls.c:1.81.2.1 src/sys/compat/linux32/arch/amd64/linux32_syscalls.c:1.81.2.2
--- src/sys/compat/linux32/arch/amd64/linux32_syscalls.c:1.81.2.1	Wed Dec 16 03:08:01 2020
+++ src/sys/compat/linux32/arch/amd64/linux32_syscalls.c	Thu Dec 17 03:05:50 2020
@@ -1,14 +1,14 @@
-/* $NetBSD: linux32_syscalls.c,v 1.81.2.1 2020/12/16 03:08:01 thorpej Exp $ */
+/* $NetBSD: linux32_syscalls.c,v 1.81.2.2 2020/12/17 03:05:50 thorpej Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.71.2.1 2020/12/16 03:07:43 thorpej Exp
+ * created from	NetBSD: syscalls.master,v 1.71.2.2 2020/12/17 03:05:32 thorpej Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.81.2.1 2020/12/16 03:08:01 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.81.2.2 2020/12/17 03:05:50 thorpej Exp $");
 
 #if defined(_KERNEL_OPT)
 #include <sys/param.h>
@@ -298,11 +298,11 @@ const char *const linux32_syscallnames[]
 	/* 256 */	"#256 (unimplemented epoll_wait)",
 	/* 257 */	"#257 (unimplemented remap_file_pages)",
 	/* 258 */	"set_tid_address",
-	/* 259 */	"#259 (unimplemented timer_create)",
-	/* 260 */	"#260 (unimplemented timer_settime)",
-	/* 261 */	"#261 (unimplemented timer_gettime)",
-	/* 262 */	"#262 (unimplemented timer_getoverrun)",
-	/* 263 */	"#263 (unimplemented timer_delete)",
+	/* 259 */	"timer_create",
+	/* 260 */	"timer_settime",
+	/* 261 */	"timer_gettime",
+	/* 262 */	"timer_getoverrun",
+	/* 263 */	"timer_delete",
 	/* 264 */	"clock_settime",
 	/* 265 */	"clock_gettime",
 	/* 266 */	"clock_getres",
@@ -361,11 +361,11 @@ const char *const linux32_syscallnames[]
 	/* 319 */	"#319 (unimplemented epoll_wait)",
 	/* 320 */	"utimensat",
 	/* 321 */	"#321 (unimplemented signalfd)",
-	/* 322 */	"#322 (unimplemented timerfd_create)",
+	/* 322 */	"timerfd_create",
 	/* 323 */	"eventfd",
 	/* 324 */	"fallocate",
-	/* 325 */	"#325 (unimplemented timerfd_settime)",
-	/* 326 */	"#326 (unimplemented timerfd_gettime)",
+	/* 325 */	"timerfd_settime",
+	/* 326 */	"timerfd_gettime",
 	/* 327 */	"#327 (unimplemented signalfd4)",
 	/* 328 */	"eventfd2",
 	/* 329 */	"#329 (unimplemented epoll_create1)",
@@ -817,11 +817,11 @@ const char *const altlinux32_syscallname
 	/* 256 */	NULL, /* unimplemented epoll_wait */
 	/* 257 */	NULL, /* unimplemented remap_file_pages */
 	/* 258 */	NULL, /* set_tid_address */
-	/* 259 */	NULL, /* unimplemented timer_create */
-	/* 260 */	NULL, /* unimplemented timer_settime */
-	/* 261 */	NULL, /* unimplemented timer_gettime */
-	/* 262 */	NULL, /* unimplemented timer_getoverrun */
-	/* 263 */	NULL, /* unimplemented timer_delete */
+	/* 259 */	NULL, /* timer_create */
+	/* 260 */	NULL, /* timer_settime */
+	/* 261 */	NULL, /* timer_gettime */
+	/* 262 */	NULL, /* timer_getoverrun */
+	/* 263 */	NULL, /* timer_delete */
 	/* 264 */	NULL, /* clock_settime */
 	/* 265 */	NULL, /* clock_gettime */
 	/* 266 */	NULL, /* clock_getres */
@@ -880,11 +880,11 @@ const char *const altlinux32_syscallname
 	/* 319 */	NULL, /* unimplemented epoll_wait */
 	/* 320 */	NULL, /* utimensat */
 	/* 321 */	NULL, /* unimplemented signalfd */
-	/* 322 */	NULL, /* unimplemented timerfd_create */
+	/* 322 */	NULL, /* timerfd_create */
 	/* 323 */	NULL, /* eventfd */
 	/* 324 */	NULL, /* fallocate */
-	/* 325 */	NULL, /* unimplemented timerfd_settime */
-	/* 326 */	NULL, /* unimplemented timerfd_gettime */
+	/* 325 */	NULL, /* timerfd_settime */
+	/* 326 */	NULL, /* timerfd_gettime */
 	/* 327 */	NULL, /* unimplemented signalfd4 */
 	/* 328 */	NULL, /* eventfd2 */
 	/* 329 */	NULL, /* unimplemented epoll_create1 */
Index: src/sys/compat/linux32/arch/amd64/linux32_sysent.c
diff -u src/sys/compat/linux32/arch/amd64/linux32_sysent.c:1.81.2.1 src/sys/compat/linux32/arch/amd64/linux32_sysent.c:1.81.2.2
--- src/sys/compat/linux32/arch/amd64/linux32_sysent.c:1.81.2.1	Wed Dec 16 03:08:01 2020
+++ src/sys/compat/linux32/arch/amd64/linux32_sysent.c	Thu Dec 17 03:05:50 2020
@@ -1,14 +1,14 @@
-/* $NetBSD: linux32_sysent.c,v 1.81.2.1 2020/12/16 03:08:01 thorpej Exp $ */
+/* $NetBSD: linux32_sysent.c,v 1.81.2.2 2020/12/17 03:05:50 thorpej Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.71.2.1 2020/12/16 03:07:43 thorpej Exp
+ * created from	NetBSD: syscalls.master,v 1.71.2.2 2020/12/17 03:05:32 thorpej Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux32_sysent.c,v 1.81.2.1 2020/12/16 03:08:01 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux32_sysent.c,v 1.81.2.2 2020/12/17 03:05:50 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/poll.h>
@@ -999,20 +999,28 @@ struct sysent linux32_sysent[] = {
 		.sy_call = (sy_call_t *)linux32_sys_set_tid_address
 	},		/* 258 = set_tid_address */
 	{
-		.sy_call = linux_sys_nosys,
-	},		/* 259 = filler */
-	{
-		.sy_call = linux_sys_nosys,
-	},		/* 260 = filler */
-	{
-		.sy_call = linux_sys_nosys,
-	},		/* 261 = filler */
-	{
-		.sy_call = linux_sys_nosys,
-	},		/* 262 = filler */
-	{
-		.sy_call = linux_sys_nosys,
-	},		/* 263 = filler */
+		ns(struct linux32_sys_timer_create_args),
+		.sy_flags = SYCALL_ARG_PTR,
+		.sy_call = (sy_call_t *)linux32_sys_timer_create
+	},		/* 259 = timer_create */
+	{
+		ns(struct linux32_sys_timer_settime_args),
+		.sy_flags = SYCALL_ARG_PTR,
+		.sy_call = (sy_call_t *)linux32_sys_timer_settime
+	},		/* 260 = timer_settime */
+	{
+		ns(struct linux32_sys_timer_gettime_args),
+		.sy_flags = SYCALL_ARG_PTR,
+		.sy_call = (sy_call_t *)linux32_sys_timer_gettime
+	},		/* 261 = timer_gettime */
+	{
+		ns(struct sys_timer_getoverrun_args),
+		.sy_call = (sy_call_t *)sys_timer_getoverrun
+	},		/* 262 = timer_getoverrun */
+	{
+		ns(struct sys_timer_delete_args),
+		.sy_call = (sy_call_t *)sys_timer_delete
+	},		/* 263 = timer_delete */
 	{
 		ns(struct linux32_sys_clock_settime_args),
 		.sy_call = (sy_call_t *)linux32_sys_clock_settime
@@ -1213,8 +1221,9 @@ struct sysent linux32_sysent[] = {
 		.sy_call = linux_sys_nosys,
 	},		/* 321 = filler */
 	{
-		.sy_call = linux_sys_nosys,
-	},		/* 322 = filler */
+		ns(struct linux_sys_timerfd_create_args),
+		.sy_call = (sy_call_t *)linux_sys_timerfd_create
+	},		/* 322 = timerfd_create */
 	{
 		ns(struct linux32_sys_eventfd_args),
 		.sy_call = (sy_call_t *)linux32_sys_eventfd
@@ -1225,11 +1234,15 @@ struct sysent linux32_sysent[] = {
 		.sy_call = (sy_call_t *)linux32_sys_fallocate
 	},		/* 324 = fallocate */
 	{
-		.sy_call = linux_sys_nosys,
-	},		/* 325 = filler */
-	{
-		.sy_call = linux_sys_nosys,
-	},		/* 326 = filler */
+		ns(struct linux32_sys_timerfd_settime_args),
+		.sy_flags = SYCALL_ARG_PTR,
+		.sy_call = (sy_call_t *)linux32_sys_timerfd_settime
+	},		/* 325 = timerfd_settime */
+	{
+		ns(struct linux32_sys_timerfd_gettime_args),
+		.sy_flags = SYCALL_ARG_PTR,
+		.sy_call = (sy_call_t *)linux32_sys_timerfd_gettime
+	},		/* 326 = timerfd_gettime */
 	{
 		.sy_call = linux_sys_nosys,
 	},		/* 327 = filler */

Index: src/sys/compat/linux32/arch/amd64/linux32_systrace_args.c
diff -u src/sys/compat/linux32/arch/amd64/linux32_systrace_args.c:1.8.2.1 src/sys/compat/linux32/arch/amd64/linux32_systrace_args.c:1.8.2.2
--- src/sys/compat/linux32/arch/amd64/linux32_systrace_args.c:1.8.2.1	Wed Dec 16 03:08:01 2020
+++ src/sys/compat/linux32/arch/amd64/linux32_systrace_args.c	Thu Dec 17 03:05:50 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: linux32_systrace_args.c,v 1.8.2.1 2020/12/16 03:08:01 thorpej Exp $ */
+/* $NetBSD: linux32_systrace_args.c,v 1.8.2.2 2020/12/17 03:05:50 thorpej Exp $ */
 
 /*
  * System call argument to DTrace register array converstion.
@@ -1612,6 +1612,47 @@ systrace_args(register_t sysnum, const v
 		*n_args = 1;
 		break;
 	}
+	/* linux32_sys_timer_create */
+	case 259: {
+		const struct linux32_sys_timer_create_args *p = params;
+		iarg[0] = SCARG(p, clockid); /* clockid_t */
+		uarg[1] = (intptr_t) SCARG(p, evp); /* struct linux32_sigevent * */
+		uarg[2] = (intptr_t) SCARG(p, timerid); /* timer_t * */
+		*n_args = 3;
+		break;
+	}
+	/* linux32_sys_timer_settime */
+	case 260: {
+		const struct linux32_sys_timer_settime_args *p = params;
+		iarg[0] = SCARG(p, timerid); /* timer_t */
+		iarg[1] = SCARG(p, flags); /* int */
+		uarg[2] = (intptr_t) SCARG(p, tim); /* const struct linux32_itimerspec * */
+		uarg[3] = (intptr_t) SCARG(p, otim); /* struct linux32_itimerspec * */
+		*n_args = 4;
+		break;
+	}
+	/* linux32_sys_timer_gettime */
+	case 261: {
+		const struct linux32_sys_timer_gettime_args *p = params;
+		iarg[0] = SCARG(p, timerid); /* timer_t */
+		uarg[1] = (intptr_t) SCARG(p, tim); /* struct linux32_itimerspec * */
+		*n_args = 2;
+		break;
+	}
+	/* sys_timer_getoverrun */
+	case 262: {
+		const struct sys_timer_getoverrun_args *p = params;
+		iarg[0] = SCARG(p, timerid); /* timer_t */
+		*n_args = 1;
+		break;
+	}
+	/* sys_timer_delete */
+	case 263: {
+		const struct sys_timer_delete_args *p = params;
+		iarg[0] = SCARG(p, timerid); /* timer_t */
+		*n_args = 1;
+		break;
+	}
 	/* linux32_sys_clock_settime */
 	case 264: {
 		const struct linux32_sys_clock_settime_args *p = params;
@@ -1847,6 +1888,14 @@ systrace_args(register_t sysnum, const v
 		*n_args = 4;
 		break;
 	}
+	/* linux_sys_timerfd_create */
+	case 322: {
+		const struct linux_sys_timerfd_create_args *p = params;
+		iarg[0] = SCARG(p, clock_id); /* clockid_t */
+		iarg[1] = SCARG(p, flags); /* int */
+		*n_args = 2;
+		break;
+	}
 	/* linux32_sys_eventfd */
 	case 323: {
 		const struct linux32_sys_eventfd_args *p = params;
@@ -1864,6 +1913,24 @@ systrace_args(register_t sysnum, const v
 		*n_args = 4;
 		break;
 	}
+	/* linux32_sys_timerfd_settime */
+	case 325: {
+		const struct linux32_sys_timerfd_settime_args *p = params;
+		iarg[0] = SCARG(p, fd); /* int */
+		iarg[1] = SCARG(p, flags); /* int */
+		uarg[2] = (intptr_t) SCARG(p, new_value); /* const struct linux32_itimerspec * */
+		uarg[3] = (intptr_t) SCARG(p, old_value); /* struct linux32_itimerspec * */
+		*n_args = 4;
+		break;
+	}
+	/* linux32_sys_timerfd_gettime */
+	case 326: {
+		const struct linux32_sys_timerfd_gettime_args *p = params;
+		iarg[0] = SCARG(p, fd); /* int */
+		uarg[1] = (intptr_t) SCARG(p, curr_value); /* struct linux32_itimerspec * */
+		*n_args = 2;
+		break;
+	}
 	/* linux32_sys_eventfd2 */
 	case 328: {
 		const struct linux32_sys_eventfd2_args *p = params;
@@ -4463,6 +4530,74 @@ systrace_entry_setargdesc(int sysnum, in
 			break;
 		};
 		break;
+	/* linux32_sys_timer_create */
+	case 259:
+		switch(ndx) {
+		case 0:
+			p = "clockid_t";
+			break;
+		case 1:
+			p = "struct linux32_sigevent *";
+			break;
+		case 2:
+			p = "timer_t *";
+			break;
+		default:
+			break;
+		};
+		break;
+	/* linux32_sys_timer_settime */
+	case 260:
+		switch(ndx) {
+		case 0:
+			p = "timer_t";
+			break;
+		case 1:
+			p = "int";
+			break;
+		case 2:
+			p = "const struct linux32_itimerspec *";
+			break;
+		case 3:
+			p = "struct linux32_itimerspec *";
+			break;
+		default:
+			break;
+		};
+		break;
+	/* linux32_sys_timer_gettime */
+	case 261:
+		switch(ndx) {
+		case 0:
+			p = "timer_t";
+			break;
+		case 1:
+			p = "struct linux32_itimerspec *";
+			break;
+		default:
+			break;
+		};
+		break;
+	/* sys_timer_getoverrun */
+	case 262:
+		switch(ndx) {
+		case 0:
+			p = "timer_t";
+			break;
+		default:
+			break;
+		};
+		break;
+	/* sys_timer_delete */
+	case 263:
+		switch(ndx) {
+		case 0:
+			p = "timer_t";
+			break;
+		default:
+			break;
+		};
+		break;
 	/* linux32_sys_clock_settime */
 	case 264:
 		switch(ndx) {
@@ -4893,6 +5028,19 @@ systrace_entry_setargdesc(int sysnum, in
 			break;
 		};
 		break;
+	/* linux_sys_timerfd_create */
+	case 322:
+		switch(ndx) {
+		case 0:
+			p = "clockid_t";
+			break;
+		case 1:
+			p = "int";
+			break;
+		default:
+			break;
+		};
+		break;
 	/* linux32_sys_eventfd */
 	case 323:
 		switch(ndx) {
@@ -4922,6 +5070,38 @@ systrace_entry_setargdesc(int sysnum, in
 			break;
 		};
 		break;
+	/* linux32_sys_timerfd_settime */
+	case 325:
+		switch(ndx) {
+		case 0:
+			p = "int";
+			break;
+		case 1:
+			p = "int";
+			break;
+		case 2:
+			p = "const struct linux32_itimerspec *";
+			break;
+		case 3:
+			p = "struct linux32_itimerspec *";
+			break;
+		default:
+			break;
+		};
+		break;
+	/* linux32_sys_timerfd_gettime */
+	case 326:
+		switch(ndx) {
+		case 0:
+			p = "int";
+			break;
+		case 1:
+			p = "struct linux32_itimerspec *";
+			break;
+		default:
+			break;
+		};
+		break;
 	/* linux32_sys_eventfd2 */
 	case 328:
 		switch(ndx) {
@@ -5919,6 +6099,31 @@ systrace_return_setargdesc(int sysnum, i
 		if (ndx == 0 || ndx == 1)
 			p = "int";
 		break;
+	/* linux32_sys_timer_create */
+	case 259:
+		if (ndx == 0 || ndx == 1)
+			p = "int";
+		break;
+	/* linux32_sys_timer_settime */
+	case 260:
+		if (ndx == 0 || ndx == 1)
+			p = "int";
+		break;
+	/* linux32_sys_timer_gettime */
+	case 261:
+		if (ndx == 0 || ndx == 1)
+			p = "int";
+		break;
+	/* sys_timer_getoverrun */
+	case 262:
+		if (ndx == 0 || ndx == 1)
+			p = "int";
+		break;
+	/* sys_timer_delete */
+	case 263:
+		if (ndx == 0 || ndx == 1)
+			p = "int";
+		break;
 	/* linux32_sys_clock_settime */
 	case 264:
 		if (ndx == 0 || ndx == 1)
@@ -6044,6 +6249,11 @@ systrace_return_setargdesc(int sysnum, i
 		if (ndx == 0 || ndx == 1)
 			p = "int";
 		break;
+	/* linux_sys_timerfd_create */
+	case 322:
+		if (ndx == 0 || ndx == 1)
+			p = "int";
+		break;
 	/* linux32_sys_eventfd */
 	case 323:
 		if (ndx == 0 || ndx == 1)
@@ -6054,6 +6264,16 @@ systrace_return_setargdesc(int sysnum, i
 		if (ndx == 0 || ndx == 1)
 			p = "int";
 		break;
+	/* linux32_sys_timerfd_settime */
+	case 325:
+		if (ndx == 0 || ndx == 1)
+			p = "int";
+		break;
+	/* linux32_sys_timerfd_gettime */
+	case 326:
+		if (ndx == 0 || ndx == 1)
+			p = "int";
+		break;
 	/* linux32_sys_eventfd2 */
 	case 328:
 		if (ndx == 0 || ndx == 1)

Reply via email to