Module Name: src
Committed By: njoly
Date: Tue Sep 24 13:28:51 UTC 2013
Modified Files:
src/sys/compat/linux/arch/alpha: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/amd64: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/arm: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/i386: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/m68k: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/mips: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/powerpc: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
Log Message:
Regen for utimensat(2).
To generate a diff of this commit:
cvs rdiff -u -r1.84 -r1.85 src/sys/compat/linux/arch/alpha/linux_syscall.h \
src/sys/compat/linux/arch/alpha/linux_sysent.c
cvs rdiff -u -r1.83 -r1.84 \
src/sys/compat/linux/arch/alpha/linux_syscallargs.h
cvs rdiff -u -r1.85 -r1.86 src/sys/compat/linux/arch/alpha/linux_syscalls.c
cvs rdiff -u -r1.44 -r1.45 src/sys/compat/linux/arch/amd64/linux_syscall.h \
src/sys/compat/linux/arch/amd64/linux_syscallargs.h \
src/sys/compat/linux/arch/amd64/linux_syscalls.c \
src/sys/compat/linux/arch/amd64/linux_sysent.c
cvs rdiff -u -r1.53 -r1.54 src/sys/compat/linux/arch/arm/linux_syscall.h \
src/sys/compat/linux/arch/arm/linux_syscallargs.h \
src/sys/compat/linux/arch/arm/linux_syscalls.c \
src/sys/compat/linux/arch/arm/linux_sysent.c
cvs rdiff -u -r1.94 -r1.95 src/sys/compat/linux/arch/i386/linux_syscall.h \
src/sys/compat/linux/arch/i386/linux_syscallargs.h \
src/sys/compat/linux/arch/i386/linux_sysent.c
cvs rdiff -u -r1.95 -r1.96 src/sys/compat/linux/arch/i386/linux_syscalls.c
cvs rdiff -u -r1.81 -r1.82 src/sys/compat/linux/arch/m68k/linux_syscall.h \
src/sys/compat/linux/arch/m68k/linux_syscalls.c \
src/sys/compat/linux/arch/m68k/linux_sysent.c
cvs rdiff -u -r1.80 -r1.81 src/sys/compat/linux/arch/m68k/linux_syscallargs.h
cvs rdiff -u -r1.50 -r1.51 src/sys/compat/linux/arch/mips/linux_syscall.h
cvs rdiff -u -r1.49 -r1.50 src/sys/compat/linux/arch/mips/linux_syscallargs.h \
src/sys/compat/linux/arch/mips/linux_syscalls.c \
src/sys/compat/linux/arch/mips/linux_sysent.c
cvs rdiff -u -r1.60 -r1.61 src/sys/compat/linux/arch/powerpc/linux_syscall.h \
src/sys/compat/linux/arch/powerpc/linux_sysent.c
cvs rdiff -u -r1.59 -r1.60 \
src/sys/compat/linux/arch/powerpc/linux_syscallargs.h \
src/sys/compat/linux/arch/powerpc/linux_syscalls.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/linux/arch/alpha/linux_syscall.h
diff -u src/sys/compat/linux/arch/alpha/linux_syscall.h:1.84 src/sys/compat/linux/arch/alpha/linux_syscall.h:1.85
--- src/sys/compat/linux/arch/alpha/linux_syscall.h:1.84 Sun Sep 15 12:59:17 2013
+++ src/sys/compat/linux/arch/alpha/linux_syscall.h Tue Sep 24 13:28:50 2013
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.84 2013/09/15 12:59:17 njoly Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.85 2013/09/24 13:28:50 njoly Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.78 2013/09/15 12:58:34 njoly Exp
+ * created from NetBSD: syscalls.master,v 1.79 2013/09/24 13:27:49 njoly Exp
*/
#ifndef _LINUX_SYS_SYSCALL_H_
@@ -603,6 +603,9 @@
/* syscall: "get_robust_list" ret: "int" args: "int" "struct linux_robust_list_head **" "size_t *" */
#define LINUX_SYS_get_robust_list 467
+/* syscall: "utimensat" ret: "int" args: "int" "const char *" "struct linux_timespec *" "int" */
+#define LINUX_SYS_utimensat 475
+
/* syscall: "dup3" ret: "int" args: "int" "int" "int" */
#define LINUX_SYS_dup3 487
Index: src/sys/compat/linux/arch/alpha/linux_sysent.c
diff -u src/sys/compat/linux/arch/alpha/linux_sysent.c:1.84 src/sys/compat/linux/arch/alpha/linux_sysent.c:1.85
--- src/sys/compat/linux/arch/alpha/linux_sysent.c:1.84 Sun Sep 15 12:59:17 2013
+++ src/sys/compat/linux/arch/alpha/linux_sysent.c Tue Sep 24 13:28:50 2013
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.84 2013/09/15 12:59:17 njoly Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.85 2013/09/24 13:28:50 njoly Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.78 2013/09/15 12:58:34 njoly Exp
+ * created from NetBSD: syscalls.master,v 1.79 2013/09/24 13:27:49 njoly Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.84 2013/09/15 12:59:17 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.85 2013/09/24 13:28:50 njoly Exp $");
#if defined(_KERNEL_OPT)
#include "opt_sysv.h"
@@ -1020,8 +1020,8 @@ struct sysent linux_sysent[] = {
linux_sys_nosys }, /* 473 = unimplemented getcpu */
{ 0, 0, 0,
linux_sys_nosys }, /* 474 = unimplemented epoll_wait */
- { 0, 0, 0,
- linux_sys_nosys }, /* 475 = unimplemented utimensat */
+ { ns(struct linux_sys_utimensat_args), SYCALL_ARG_PTR,
+ (sy_call_t *)linux_sys_utimensat }, /* 475 = utimensat */
{ 0, 0, 0,
linux_sys_nosys }, /* 476 = unimplemented signalfd */
{ 0, 0, 0,
Index: src/sys/compat/linux/arch/alpha/linux_syscallargs.h
diff -u src/sys/compat/linux/arch/alpha/linux_syscallargs.h:1.83 src/sys/compat/linux/arch/alpha/linux_syscallargs.h:1.84
--- src/sys/compat/linux/arch/alpha/linux_syscallargs.h:1.83 Sun Sep 15 12:59:17 2013
+++ src/sys/compat/linux/arch/alpha/linux_syscallargs.h Tue Sep 24 13:28:50 2013
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.83 2013/09/15 12:59:17 njoly Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.84 2013/09/24 13:28:50 njoly Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.78 2013/09/15 12:58:34 njoly Exp
+ * created from NetBSD: syscalls.master,v 1.79 2013/09/24 13:27:49 njoly Exp
*/
#ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -1003,6 +1003,14 @@ struct linux_sys_get_robust_list_args {
};
check_syscall_args(linux_sys_get_robust_list)
+struct linux_sys_utimensat_args {
+ syscallarg(int) fd;
+ syscallarg(const char *) path;
+ syscallarg(struct linux_timespec *) times;
+ syscallarg(int) flag;
+};
+check_syscall_args(linux_sys_utimensat)
+
struct linux_sys_dup3_args {
syscallarg(int) from;
syscallarg(int) to;
@@ -1448,6 +1456,8 @@ int linux_sys_set_robust_list(struct lwp
int linux_sys_get_robust_list(struct lwp *, const struct linux_sys_get_robust_list_args *, register_t *);
+int linux_sys_utimensat(struct lwp *, const struct linux_sys_utimensat_args *, register_t *);
+
int linux_sys_dup3(struct lwp *, const struct linux_sys_dup3_args *, register_t *);
int linux_sys_pipe2(struct lwp *, const struct linux_sys_pipe2_args *, register_t *);
Index: src/sys/compat/linux/arch/alpha/linux_syscalls.c
diff -u src/sys/compat/linux/arch/alpha/linux_syscalls.c:1.85 src/sys/compat/linux/arch/alpha/linux_syscalls.c:1.86
--- src/sys/compat/linux/arch/alpha/linux_syscalls.c:1.85 Sun Sep 15 12:59:17 2013
+++ src/sys/compat/linux/arch/alpha/linux_syscalls.c Tue Sep 24 13:28:50 2013
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.85 2013/09/15 12:59:17 njoly Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.86 2013/09/24 13:28:50 njoly Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.78 2013/09/15 12:58:34 njoly Exp
+ * created from NetBSD: syscalls.master,v 1.79 2013/09/24 13:27:49 njoly Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.85 2013/09/15 12:59:17 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.86 2013/09/24 13:28:50 njoly Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@@ -531,7 +531,7 @@ const char *const linux_syscallnames[] =
/* 472 */ "#472 (unimplemented move_pages)",
/* 473 */ "#473 (unimplemented getcpu)",
/* 474 */ "#474 (unimplemented epoll_wait)",
- /* 475 */ "#475 (unimplemented utimensat)",
+ /* 475 */ "utimensat",
/* 476 */ "#476 (unimplemented signalfd)",
/* 477 */ "#477 (unimplemented timerfd)",
/* 478 */ "#478 (unimplemented eventfd)",
Index: src/sys/compat/linux/arch/amd64/linux_syscall.h
diff -u src/sys/compat/linux/arch/amd64/linux_syscall.h:1.44 src/sys/compat/linux/arch/amd64/linux_syscall.h:1.45
--- src/sys/compat/linux/arch/amd64/linux_syscall.h:1.44 Mon Apr 8 20:58:21 2013
+++ src/sys/compat/linux/arch/amd64/linux_syscall.h Tue Sep 24 13:28:50 2013
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.44 2013/04/08 20:58:21 pooka Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.45 2013/09/24 13:28:50 njoly Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.42 2013/04/08 20:54:47 pooka Exp
+ * created from NetBSD: syscalls.master,v 1.43 2013/09/24 13:27:49 njoly Exp
*/
#ifndef _LINUX_SYS_SYSCALL_H_
@@ -603,6 +603,9 @@
/* syscall: "get_robust_list" ret: "int" args: "int" "struct linux_robust_list_head **" "size_t *" */
#define LINUX_SYS_get_robust_list 274
+/* syscall: "utimensat" ret: "int" args: "int" "const char *" "struct linux_timespec *" "int" */
+#define LINUX_SYS_utimensat 280
+
/* syscall: "dup3" ret: "int" args: "int" "int" "int" */
#define LINUX_SYS_dup3 292
Index: src/sys/compat/linux/arch/amd64/linux_syscallargs.h
diff -u src/sys/compat/linux/arch/amd64/linux_syscallargs.h:1.44 src/sys/compat/linux/arch/amd64/linux_syscallargs.h:1.45
--- src/sys/compat/linux/arch/amd64/linux_syscallargs.h:1.44 Mon Apr 8 20:58:21 2013
+++ src/sys/compat/linux/arch/amd64/linux_syscallargs.h Tue Sep 24 13:28:50 2013
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.44 2013/04/08 20:58:21 pooka Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.45 2013/09/24 13:28:50 njoly Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.42 2013/04/08 20:54:47 pooka Exp
+ * created from NetBSD: syscalls.master,v 1.43 2013/09/24 13:27:49 njoly Exp
*/
#ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -919,6 +919,14 @@ struct linux_sys_get_robust_list_args {
};
check_syscall_args(linux_sys_get_robust_list)
+struct linux_sys_utimensat_args {
+ syscallarg(int) fd;
+ syscallarg(const char *) path;
+ syscallarg(struct linux_timespec *) times;
+ syscallarg(int) flag;
+};
+check_syscall_args(linux_sys_utimensat)
+
struct linux_sys_dup3_args {
syscallarg(int) from;
syscallarg(int) to;
@@ -1335,6 +1343,8 @@ int linux_sys_set_robust_list(struct lwp
int linux_sys_get_robust_list(struct lwp *, const struct linux_sys_get_robust_list_args *, register_t *);
+int linux_sys_utimensat(struct lwp *, const struct linux_sys_utimensat_args *, register_t *);
+
int linux_sys_dup3(struct lwp *, const struct linux_sys_dup3_args *, register_t *);
int linux_sys_pipe2(struct lwp *, const struct linux_sys_pipe2_args *, register_t *);
Index: src/sys/compat/linux/arch/amd64/linux_syscalls.c
diff -u src/sys/compat/linux/arch/amd64/linux_syscalls.c:1.44 src/sys/compat/linux/arch/amd64/linux_syscalls.c:1.45
--- src/sys/compat/linux/arch/amd64/linux_syscalls.c:1.44 Mon Apr 8 20:58:21 2013
+++ src/sys/compat/linux/arch/amd64/linux_syscalls.c Tue Sep 24 13:28:50 2013
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.44 2013/04/08 20:58:21 pooka Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.45 2013/09/24 13:28:50 njoly Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.42 2013/04/08 20:54:47 pooka Exp
+ * created from NetBSD: syscalls.master,v 1.43 2013/09/24 13:27:49 njoly Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.44 2013/04/08 20:58:21 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.45 2013/09/24 13:28:50 njoly Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@@ -344,7 +344,7 @@ const char *const linux_syscallnames[] =
/* 277 */ "#277 (unimplemented sync_file_range)",
/* 278 */ "#278 (unimplemented vmsplice)",
/* 279 */ "#279 (unimplemented move_pages)",
- /* 280 */ "#280 (unimplemented utimensat)",
+ /* 280 */ "utimensat",
/* 281 */ "#281 (unimplemented epoll_pwait)",
/* 282 */ "#282 (unimplemented signalfd)",
/* 283 */ "#283 (unimplemented timerfd_create)",
Index: src/sys/compat/linux/arch/amd64/linux_sysent.c
diff -u src/sys/compat/linux/arch/amd64/linux_sysent.c:1.44 src/sys/compat/linux/arch/amd64/linux_sysent.c:1.45
--- src/sys/compat/linux/arch/amd64/linux_sysent.c:1.44 Mon Apr 8 20:58:22 2013
+++ src/sys/compat/linux/arch/amd64/linux_sysent.c Tue Sep 24 13:28:50 2013
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.44 2013/04/08 20:58:22 pooka Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.45 2013/09/24 13:28:50 njoly Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.42 2013/04/08 20:54:47 pooka Exp
+ * created from NetBSD: syscalls.master,v 1.43 2013/09/24 13:27:49 njoly Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.44 2013/04/08 20:58:22 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.45 2013/09/24 13:28:50 njoly Exp $");
#if defined(_KERNEL_OPT)
#include "opt_sysv.h"
@@ -638,8 +638,8 @@ struct sysent linux_sysent[] = {
linux_sys_nosys }, /* 278 = unimplemented vmsplice */
{ 0, 0, 0,
linux_sys_nosys }, /* 279 = unimplemented move_pages */
- { 0, 0, 0,
- linux_sys_nosys }, /* 280 = unimplemented utimensat */
+ { ns(struct linux_sys_utimensat_args), SYCALL_ARG_PTR,
+ (sy_call_t *)linux_sys_utimensat }, /* 280 = utimensat */
{ 0, 0, 0,
linux_sys_nosys }, /* 281 = unimplemented epoll_pwait */
{ 0, 0, 0,
Index: src/sys/compat/linux/arch/arm/linux_syscall.h
diff -u src/sys/compat/linux/arch/arm/linux_syscall.h:1.53 src/sys/compat/linux/arch/arm/linux_syscall.h:1.54
--- src/sys/compat/linux/arch/arm/linux_syscall.h:1.53 Mon Apr 8 20:58:22 2013
+++ src/sys/compat/linux/arch/arm/linux_syscall.h Tue Sep 24 13:28:51 2013
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.53 2013/04/08 20:58:22 pooka Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.54 2013/09/24 13:28:51 njoly Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.50 2013/04/08 20:54:48 pooka Exp
+ * created from NetBSD: syscalls.master,v 1.51 2013/09/24 13:27:49 njoly Exp
*/
#ifndef _LINUX_SYS_SYSCALL_H_
@@ -661,6 +661,9 @@
/* syscall: "get_robust_list" ret: "int" args: "int" "struct linux_robust_list_head **" "size_t *" */
#define LINUX_SYS_get_robust_list 339
+/* syscall: "utimensat" ret: "int" args: "int" "const char *" "struct linux_timespec *" "int" */
+#define LINUX_SYS_utimensat 348
+
/* syscall: "dup3" ret: "int" args: "int" "int" "int" */
#define LINUX_SYS_dup3 358
Index: src/sys/compat/linux/arch/arm/linux_syscallargs.h
diff -u src/sys/compat/linux/arch/arm/linux_syscallargs.h:1.53 src/sys/compat/linux/arch/arm/linux_syscallargs.h:1.54
--- src/sys/compat/linux/arch/arm/linux_syscallargs.h:1.53 Mon Apr 8 20:58:22 2013
+++ src/sys/compat/linux/arch/arm/linux_syscallargs.h Tue Sep 24 13:28:51 2013
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.53 2013/04/08 20:58:22 pooka Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.54 2013/09/24 13:28:51 njoly Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.50 2013/04/08 20:54:48 pooka Exp
+ * created from NetBSD: syscalls.master,v 1.51 2013/09/24 13:27:49 njoly Exp
*/
#ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -993,6 +993,14 @@ struct linux_sys_get_robust_list_args {
};
check_syscall_args(linux_sys_get_robust_list)
+struct linux_sys_utimensat_args {
+ syscallarg(int) fd;
+ syscallarg(const char *) path;
+ syscallarg(struct linux_timespec *) times;
+ syscallarg(int) flag;
+};
+check_syscall_args(linux_sys_utimensat)
+
struct linux_sys_dup3_args {
syscallarg(int) from;
syscallarg(int) to;
@@ -1432,6 +1440,8 @@ int linux_sys_set_robust_list(struct lwp
int linux_sys_get_robust_list(struct lwp *, const struct linux_sys_get_robust_list_args *, register_t *);
+int linux_sys_utimensat(struct lwp *, const struct linux_sys_utimensat_args *, register_t *);
+
int linux_sys_dup3(struct lwp *, const struct linux_sys_dup3_args *, register_t *);
int linux_sys_pipe2(struct lwp *, const struct linux_sys_pipe2_args *, register_t *);
Index: src/sys/compat/linux/arch/arm/linux_syscalls.c
diff -u src/sys/compat/linux/arch/arm/linux_syscalls.c:1.53 src/sys/compat/linux/arch/arm/linux_syscalls.c:1.54
--- src/sys/compat/linux/arch/arm/linux_syscalls.c:1.53 Mon Apr 8 20:58:22 2013
+++ src/sys/compat/linux/arch/arm/linux_syscalls.c Tue Sep 24 13:28:51 2013
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.53 2013/04/08 20:58:22 pooka Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.54 2013/09/24 13:28:51 njoly Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.50 2013/04/08 20:54:48 pooka Exp
+ * created from NetBSD: syscalls.master,v 1.51 2013/09/24 13:27:49 njoly Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.53 2013/04/08 20:58:22 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.54 2013/09/24 13:28:51 njoly Exp $");
#if defined(_KERNEL_OPT)
#include <sys/param.h>
@@ -381,7 +381,7 @@ const char *const linux_syscallnames[] =
/* 345 */ "#345 (unimplemented getcpu)",
/* 346 */ "#346 (unimplemented epoll_wait)",
/* 347 */ "#347 (unimplemented kexec_load)",
- /* 348 */ "#348 (unimplemented utimensat)",
+ /* 348 */ "utimensat",
/* 349 */ "#349 (unimplemented signalfd)",
/* 350 */ "#350 (unimplemented timerfd_create)",
/* 351 */ "#351 (unimplemented eventfd)",
Index: src/sys/compat/linux/arch/arm/linux_sysent.c
diff -u src/sys/compat/linux/arch/arm/linux_sysent.c:1.53 src/sys/compat/linux/arch/arm/linux_sysent.c:1.54
--- src/sys/compat/linux/arch/arm/linux_sysent.c:1.53 Mon Apr 8 20:58:22 2013
+++ src/sys/compat/linux/arch/arm/linux_sysent.c Tue Sep 24 13:28:51 2013
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.53 2013/04/08 20:58:22 pooka Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.54 2013/09/24 13:28:51 njoly Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.50 2013/04/08 20:54:48 pooka Exp
+ * created from NetBSD: syscalls.master,v 1.51 2013/09/24 13:27:49 njoly Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.53 2013/04/08 20:58:22 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.54 2013/09/24 13:28:51 njoly Exp $");
#include <sys/param.h>
#include <sys/poll.h>
@@ -732,8 +732,8 @@ struct sysent linux_sysent[] = {
linux_sys_nosys }, /* 346 = unimplemented epoll_wait */
{ 0, 0, 0,
linux_sys_nosys }, /* 347 = unimplemented kexec_load */
- { 0, 0, 0,
- linux_sys_nosys }, /* 348 = unimplemented utimensat */
+ { ns(struct linux_sys_utimensat_args), SYCALL_ARG_PTR,
+ (sy_call_t *)linux_sys_utimensat }, /* 348 = utimensat */
{ 0, 0, 0,
linux_sys_nosys }, /* 349 = unimplemented signalfd */
{ 0, 0, 0,
Index: src/sys/compat/linux/arch/i386/linux_syscall.h
diff -u src/sys/compat/linux/arch/i386/linux_syscall.h:1.94 src/sys/compat/linux/arch/i386/linux_syscall.h:1.95
--- src/sys/compat/linux/arch/i386/linux_syscall.h:1.94 Mon Apr 8 20:58:23 2013
+++ src/sys/compat/linux/arch/i386/linux_syscall.h Tue Sep 24 13:28:51 2013
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.94 2013/04/08 20:58:23 pooka Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.95 2013/09/24 13:28:51 njoly Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.109 2013/04/08 20:54:48 pooka Exp
+ * created from NetBSD: syscalls.master,v 1.110 2013/09/24 13:27:49 njoly Exp
*/
#ifndef _LINUX_SYS_SYSCALL_H_
@@ -683,6 +683,9 @@
/* syscall: "get_robust_list" ret: "int" args: "int" "struct linux_robust_list_head **" "size_t *" */
#define LINUX_SYS_get_robust_list 312
+/* syscall: "utimensat" ret: "int" args: "int" "const char *" "struct linux_timespec *" "int" */
+#define LINUX_SYS_utimensat 320
+
/* syscall: "dup3" ret: "int" args: "u_int" "u_int" "int" */
#define LINUX_SYS_dup3 330
Index: src/sys/compat/linux/arch/i386/linux_syscallargs.h
diff -u src/sys/compat/linux/arch/i386/linux_syscallargs.h:1.94 src/sys/compat/linux/arch/i386/linux_syscallargs.h:1.95
--- src/sys/compat/linux/arch/i386/linux_syscallargs.h:1.94 Mon Apr 8 20:58:23 2013
+++ src/sys/compat/linux/arch/i386/linux_syscallargs.h Tue Sep 24 13:28:51 2013
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.94 2013/04/08 20:58:23 pooka Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.95 2013/09/24 13:28:51 njoly Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.109 2013/04/08 20:54:48 pooka Exp
+ * created from NetBSD: syscalls.master,v 1.110 2013/09/24 13:27:49 njoly Exp
*/
#ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -1040,6 +1040,14 @@ struct linux_sys_get_robust_list_args {
};
check_syscall_args(linux_sys_get_robust_list)
+struct linux_sys_utimensat_args {
+ syscallarg(int) fd;
+ syscallarg(const char *) path;
+ syscallarg(struct linux_timespec *) times;
+ syscallarg(int) flag;
+};
+check_syscall_args(linux_sys_utimensat)
+
struct linux_sys_dup3_args {
syscallarg(u_int) from;
syscallarg(u_int) to;
@@ -1483,6 +1491,8 @@ int linux_sys_set_robust_list(struct lwp
int linux_sys_get_robust_list(struct lwp *, const struct linux_sys_get_robust_list_args *, register_t *);
+int linux_sys_utimensat(struct lwp *, const struct linux_sys_utimensat_args *, register_t *);
+
int linux_sys_dup3(struct lwp *, const struct linux_sys_dup3_args *, register_t *);
int linux_sys_pipe2(struct lwp *, const struct linux_sys_pipe2_args *, register_t *);
Index: src/sys/compat/linux/arch/i386/linux_sysent.c
diff -u src/sys/compat/linux/arch/i386/linux_sysent.c:1.94 src/sys/compat/linux/arch/i386/linux_sysent.c:1.95
--- src/sys/compat/linux/arch/i386/linux_sysent.c:1.94 Mon Apr 8 20:58:23 2013
+++ src/sys/compat/linux/arch/i386/linux_sysent.c Tue Sep 24 13:28:51 2013
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.94 2013/04/08 20:58:23 pooka Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.95 2013/09/24 13:28:51 njoly Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.109 2013/04/08 20:54:48 pooka Exp
+ * created from NetBSD: syscalls.master,v 1.110 2013/09/24 13:27:49 njoly Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.94 2013/04/08 20:58:23 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.95 2013/09/24 13:28:51 njoly Exp $");
#include <sys/param.h>
#include <sys/poll.h>
@@ -675,8 +675,8 @@ struct sysent linux_sysent[] = {
linux_sys_nosys }, /* 318 = unimplemented getcpu */
{ 0, 0, 0,
linux_sys_nosys }, /* 319 = unimplemented epoll_wait */
- { 0, 0, 0,
- linux_sys_nosys }, /* 320 = unimplemented utimensat */
+ { ns(struct linux_sys_utimensat_args), SYCALL_ARG_PTR,
+ (sy_call_t *)linux_sys_utimensat }, /* 320 = utimensat */
{ 0, 0, 0,
linux_sys_nosys }, /* 321 = unimplemented signalfd */
{ 0, 0, 0,
Index: src/sys/compat/linux/arch/i386/linux_syscalls.c
diff -u src/sys/compat/linux/arch/i386/linux_syscalls.c:1.95 src/sys/compat/linux/arch/i386/linux_syscalls.c:1.96
--- src/sys/compat/linux/arch/i386/linux_syscalls.c:1.95 Mon Apr 8 20:58:23 2013
+++ src/sys/compat/linux/arch/i386/linux_syscalls.c Tue Sep 24 13:28:51 2013
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.95 2013/04/08 20:58:23 pooka Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.96 2013/09/24 13:28:51 njoly Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.109 2013/04/08 20:54:48 pooka Exp
+ * created from NetBSD: syscalls.master,v 1.110 2013/09/24 13:27:49 njoly Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.95 2013/04/08 20:58:23 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.96 2013/09/24 13:28:51 njoly Exp $");
#if defined(_KERNEL_OPT)
#include <sys/param.h>
@@ -352,7 +352,7 @@ const char *const linux_syscallnames[] =
/* 317 */ "#317 (unimplemented move_pages)",
/* 318 */ "#318 (unimplemented getcpu)",
/* 319 */ "#319 (unimplemented epoll_wait)",
- /* 320 */ "#320 (unimplemented utimensat)",
+ /* 320 */ "utimensat",
/* 321 */ "#321 (unimplemented signalfd)",
/* 322 */ "#322 (unimplemented timerfd_create)",
/* 323 */ "#323 (unimplemented eventfd)",
Index: src/sys/compat/linux/arch/m68k/linux_syscall.h
diff -u src/sys/compat/linux/arch/m68k/linux_syscall.h:1.81 src/sys/compat/linux/arch/m68k/linux_syscall.h:1.82
--- src/sys/compat/linux/arch/m68k/linux_syscall.h:1.81 Mon Apr 8 20:58:24 2013
+++ src/sys/compat/linux/arch/m68k/linux_syscall.h Tue Sep 24 13:28:51 2013
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.81 2013/04/08 20:58:24 pooka Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.82 2013/09/24 13:28:51 njoly Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.75 2013/04/08 20:54:48 pooka Exp
+ * created from NetBSD: syscalls.master,v 1.76 2013/09/24 13:27:49 njoly Exp
*/
#ifndef _LINUX_SYS_SYSCALL_H_
@@ -663,6 +663,9 @@
/* syscall: "sched_getaffinity" ret: "int" args: "pid_t" "unsigned int" "unsigned long *" */
#define LINUX_SYS_sched_getaffinity 312
+/* syscall: "utimensat" ret: "int" args: "int" "const char *" "struct linux_timespec *" "int" */
+#define LINUX_SYS_utimensat 316
+
/* syscall: "dup3" ret: "int" args: "int" "int" "int" */
#define LINUX_SYS_dup3 326
Index: src/sys/compat/linux/arch/m68k/linux_syscalls.c
diff -u src/sys/compat/linux/arch/m68k/linux_syscalls.c:1.81 src/sys/compat/linux/arch/m68k/linux_syscalls.c:1.82
--- src/sys/compat/linux/arch/m68k/linux_syscalls.c:1.81 Mon Apr 8 20:58:24 2013
+++ src/sys/compat/linux/arch/m68k/linux_syscalls.c Tue Sep 24 13:28:51 2013
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.81 2013/04/08 20:58:24 pooka Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.82 2013/09/24 13:28:51 njoly Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.75 2013/04/08 20:54:48 pooka Exp
+ * created from NetBSD: syscalls.master,v 1.76 2013/09/24 13:27:49 njoly Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.81 2013/04/08 20:58:24 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.82 2013/09/24 13:28:51 njoly Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@@ -368,7 +368,7 @@ const char *const linux_syscallnames[] =
/* 313 */ "#313 (unimplemented kexec_load)",
/* 314 */ "#314 (unimplemented getcpu)",
/* 315 */ "#315 (unimplemented epoll_wait)",
- /* 316 */ "#316 (unimplemented utimensat)",
+ /* 316 */ "utimensat",
/* 317 */ "#317 (unimplemented signalfd)",
/* 318 */ "#318 (unimplemented timerfd_create)",
/* 319 */ "#319 (unimplemented eventfd)",
Index: src/sys/compat/linux/arch/m68k/linux_sysent.c
diff -u src/sys/compat/linux/arch/m68k/linux_sysent.c:1.81 src/sys/compat/linux/arch/m68k/linux_sysent.c:1.82
--- src/sys/compat/linux/arch/m68k/linux_sysent.c:1.81 Mon Apr 8 20:58:24 2013
+++ src/sys/compat/linux/arch/m68k/linux_sysent.c Tue Sep 24 13:28:51 2013
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.81 2013/04/08 20:58:24 pooka Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.82 2013/09/24 13:28:51 njoly Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.75 2013/04/08 20:54:48 pooka Exp
+ * created from NetBSD: syscalls.master,v 1.76 2013/09/24 13:27:49 njoly Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.81 2013/04/08 20:58:24 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.82 2013/09/24 13:28:51 njoly Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@@ -691,8 +691,8 @@ struct sysent linux_sysent[] = {
linux_sys_nosys }, /* 314 = unimplemented getcpu */
{ 0, 0, 0,
linux_sys_nosys }, /* 315 = unimplemented epoll_wait */
- { 0, 0, 0,
- linux_sys_nosys }, /* 316 = unimplemented utimensat */
+ { ns(struct linux_sys_utimensat_args), SYCALL_ARG_PTR,
+ (sy_call_t *)linux_sys_utimensat }, /* 316 = utimensat */
{ 0, 0, 0,
linux_sys_nosys }, /* 317 = unimplemented signalfd */
{ 0, 0, 0,
Index: src/sys/compat/linux/arch/m68k/linux_syscallargs.h
diff -u src/sys/compat/linux/arch/m68k/linux_syscallargs.h:1.80 src/sys/compat/linux/arch/m68k/linux_syscallargs.h:1.81
--- src/sys/compat/linux/arch/m68k/linux_syscallargs.h:1.80 Mon Apr 8 20:58:24 2013
+++ src/sys/compat/linux/arch/m68k/linux_syscallargs.h Tue Sep 24 13:28:51 2013
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.80 2013/04/08 20:58:24 pooka Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.81 2013/09/24 13:28:51 njoly Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.75 2013/04/08 20:54:48 pooka Exp
+ * created from NetBSD: syscalls.master,v 1.76 2013/09/24 13:27:49 njoly Exp
*/
#ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -990,6 +990,14 @@ struct linux_sys_sched_getaffinity_args
};
check_syscall_args(linux_sys_sched_getaffinity)
+struct linux_sys_utimensat_args {
+ syscallarg(int) fd;
+ syscallarg(const char *) path;
+ syscallarg(struct linux_timespec *) times;
+ syscallarg(int) flag;
+};
+check_syscall_args(linux_sys_utimensat)
+
struct linux_sys_dup3_args {
syscallarg(int) from;
syscallarg(int) to;
@@ -1423,6 +1431,8 @@ int linux_sys_sched_setaffinity(struct l
int linux_sys_sched_getaffinity(struct lwp *, const struct linux_sys_sched_getaffinity_args *, register_t *);
+int linux_sys_utimensat(struct lwp *, const struct linux_sys_utimensat_args *, register_t *);
+
int linux_sys_dup3(struct lwp *, const struct linux_sys_dup3_args *, register_t *);
int linux_sys_pipe2(struct lwp *, const struct linux_sys_pipe2_args *, register_t *);
Index: src/sys/compat/linux/arch/mips/linux_syscall.h
diff -u src/sys/compat/linux/arch/mips/linux_syscall.h:1.50 src/sys/compat/linux/arch/mips/linux_syscall.h:1.51
--- src/sys/compat/linux/arch/mips/linux_syscall.h:1.50 Mon Apr 8 20:58:25 2013
+++ src/sys/compat/linux/arch/mips/linux_syscall.h Tue Sep 24 13:28:51 2013
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.50 2013/04/08 20:58:25 pooka Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.51 2013/09/24 13:28:51 njoly Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.45 2013/04/08 20:54:48 pooka Exp
+ * created from NetBSD: syscalls.master,v 1.46 2013/09/24 13:27:50 njoly Exp
*/
#ifndef _LINUX_SYS_SYSCALL_H_
@@ -640,6 +640,9 @@
/* syscall: "get_robust_list" ret: "int" args: "int" "struct linux_robust_list_head **" "size_t *" */
#define LINUX_SYS_get_robust_list 310
+/* syscall: "utimensat" ret: "int" args: "int" "const char *" "struct linux_timespec *" "int" */
+#define LINUX_SYS_utimensat 316
+
/* syscall: "dup3" ret: "int" args: "int" "int" "int" */
#define LINUX_SYS_dup3 327
Index: src/sys/compat/linux/arch/mips/linux_syscallargs.h
diff -u src/sys/compat/linux/arch/mips/linux_syscallargs.h:1.49 src/sys/compat/linux/arch/mips/linux_syscallargs.h:1.50
--- src/sys/compat/linux/arch/mips/linux_syscallargs.h:1.49 Mon Apr 8 20:58:25 2013
+++ src/sys/compat/linux/arch/mips/linux_syscallargs.h Tue Sep 24 13:28:51 2013
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.49 2013/04/08 20:58:25 pooka Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.50 2013/09/24 13:28:51 njoly Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.45 2013/04/08 20:54:48 pooka Exp
+ * created from NetBSD: syscalls.master,v 1.46 2013/09/24 13:27:50 njoly Exp
*/
#ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -951,6 +951,14 @@ struct linux_sys_get_robust_list_args {
};
check_syscall_args(linux_sys_get_robust_list)
+struct linux_sys_utimensat_args {
+ syscallarg(int) fd;
+ syscallarg(const char *) path;
+ syscallarg(struct linux_timespec *) times;
+ syscallarg(int) flag;
+};
+check_syscall_args(linux_sys_utimensat)
+
struct linux_sys_dup3_args {
syscallarg(int) from;
syscallarg(int) to;
@@ -1384,6 +1392,8 @@ int linux_sys_set_robust_list(struct lwp
int linux_sys_get_robust_list(struct lwp *, const struct linux_sys_get_robust_list_args *, register_t *);
+int linux_sys_utimensat(struct lwp *, const struct linux_sys_utimensat_args *, register_t *);
+
int linux_sys_dup3(struct lwp *, const struct linux_sys_dup3_args *, register_t *);
int linux_sys_pipe2(struct lwp *, const struct linux_sys_pipe2_args *, register_t *);
Index: src/sys/compat/linux/arch/mips/linux_syscalls.c
diff -u src/sys/compat/linux/arch/mips/linux_syscalls.c:1.49 src/sys/compat/linux/arch/mips/linux_syscalls.c:1.50
--- src/sys/compat/linux/arch/mips/linux_syscalls.c:1.49 Mon Apr 8 20:58:25 2013
+++ src/sys/compat/linux/arch/mips/linux_syscalls.c Tue Sep 24 13:28:51 2013
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.49 2013/04/08 20:58:25 pooka Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.50 2013/09/24 13:28:51 njoly Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.45 2013/04/08 20:54:48 pooka Exp
+ * created from NetBSD: syscalls.master,v 1.46 2013/09/24 13:27:50 njoly Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.49 2013/04/08 20:58:25 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.50 2013/09/24 13:28:51 njoly Exp $");
#if defined(_KERNEL_OPT)
#include <sys/param.h>
@@ -344,7 +344,7 @@ const char *const linux_syscallnames[] =
/* 313 */ "#313 (unimplemented epoll_pwait)",
/* 314 */ "#314 (unimplemented ioprio_set)",
/* 315 */ "#315 (unimplemented ioprio_get)",
- /* 316 */ "#316 (unimplemented utimensat)",
+ /* 316 */ "utimensat",
/* 317 */ "#317 (unimplemented signalfd)",
/* 318 */ "#318 (unimplemented timerfd)",
/* 319 */ "#319 (unimplemented eventfd)",
Index: src/sys/compat/linux/arch/mips/linux_sysent.c
diff -u src/sys/compat/linux/arch/mips/linux_sysent.c:1.49 src/sys/compat/linux/arch/mips/linux_sysent.c:1.50
--- src/sys/compat/linux/arch/mips/linux_sysent.c:1.49 Mon Apr 8 20:58:25 2013
+++ src/sys/compat/linux/arch/mips/linux_sysent.c Tue Sep 24 13:28:51 2013
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.49 2013/04/08 20:58:25 pooka Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.50 2013/09/24 13:28:51 njoly Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.45 2013/04/08 20:54:48 pooka Exp
+ * created from NetBSD: syscalls.master,v 1.46 2013/09/24 13:27:50 njoly Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.49 2013/04/08 20:58:25 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.50 2013/09/24 13:28:51 njoly Exp $");
#include <sys/param.h>
#include <sys/poll.h>
@@ -662,8 +662,8 @@ struct sysent linux_sysent[] = {
linux_sys_nosys }, /* 314 = unimplemented ioprio_set */
{ 0, 0, 0,
linux_sys_nosys }, /* 315 = unimplemented ioprio_get */
- { 0, 0, 0,
- linux_sys_nosys }, /* 316 = unimplemented utimensat */
+ { ns(struct linux_sys_utimensat_args), SYCALL_ARG_PTR,
+ (sy_call_t *)linux_sys_utimensat }, /* 316 = utimensat */
{ 0, 0, 0,
linux_sys_nosys }, /* 317 = unimplemented signalfd */
{ 0, 0, 0,
Index: src/sys/compat/linux/arch/powerpc/linux_syscall.h
diff -u src/sys/compat/linux/arch/powerpc/linux_syscall.h:1.60 src/sys/compat/linux/arch/powerpc/linux_syscall.h:1.61
--- src/sys/compat/linux/arch/powerpc/linux_syscall.h:1.60 Sun Aug 11 18:35:19 2013
+++ src/sys/compat/linux/arch/powerpc/linux_syscall.h Tue Sep 24 13:28:51 2013
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.60 2013/08/11 18:35:19 pooka Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.61 2013/09/24 13:28:51 njoly Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.54 2013/08/11 18:34:43 pooka Exp
+ * created from NetBSD: syscalls.master,v 1.55 2013/09/24 13:27:50 njoly Exp
*/
#ifndef _LINUX_SYS_SYSCALL_H_
@@ -609,6 +609,9 @@
/* syscall: "get_robust_list" ret: "int" args: "int" "struct linux_robust_list_head **" "size_t *" */
#define LINUX_SYS_get_robust_list 300
+/* syscall: "utimensat" ret: "int" args: "int" "const char *" "struct linux_timespec *" "int" */
+#define LINUX_SYS_utimensat 304
+
/* syscall: "dup3" ret: "int" args: "int" "int" "int" */
#define LINUX_SYS_dup3 316
Index: src/sys/compat/linux/arch/powerpc/linux_sysent.c
diff -u src/sys/compat/linux/arch/powerpc/linux_sysent.c:1.60 src/sys/compat/linux/arch/powerpc/linux_sysent.c:1.61
--- src/sys/compat/linux/arch/powerpc/linux_sysent.c:1.60 Sun Aug 11 18:35:19 2013
+++ src/sys/compat/linux/arch/powerpc/linux_sysent.c Tue Sep 24 13:28:51 2013
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.60 2013/08/11 18:35:19 pooka Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.61 2013/09/24 13:28:51 njoly Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.54 2013/08/11 18:34:43 pooka Exp
+ * created from NetBSD: syscalls.master,v 1.55 2013/09/24 13:27:50 njoly Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.60 2013/08/11 18:35:19 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.61 2013/09/24 13:28:51 njoly Exp $");
#include <sys/param.h>
#include <sys/poll.h>
@@ -642,8 +642,8 @@ struct sysent linux_sysent[] = {
linux_sys_nosys }, /* 302 = unimplemented getcpu */
{ 0, 0, 0,
linux_sys_nosys }, /* 303 = unimplemented epoll_wait */
- { 0, 0, 0,
- linux_sys_nosys }, /* 304 = unimplemented utimensat */
+ { ns(struct linux_sys_utimensat_args), SYCALL_ARG_PTR,
+ (sy_call_t *)linux_sys_utimensat }, /* 304 = utimensat */
{ 0, 0, 0,
linux_sys_nosys }, /* 305 = unimplemented signalfd */
{ 0, 0, 0,
Index: src/sys/compat/linux/arch/powerpc/linux_syscallargs.h
diff -u src/sys/compat/linux/arch/powerpc/linux_syscallargs.h:1.59 src/sys/compat/linux/arch/powerpc/linux_syscallargs.h:1.60
--- src/sys/compat/linux/arch/powerpc/linux_syscallargs.h:1.59 Sun Aug 11 18:35:19 2013
+++ src/sys/compat/linux/arch/powerpc/linux_syscallargs.h Tue Sep 24 13:28:51 2013
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.59 2013/08/11 18:35:19 pooka Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.60 2013/09/24 13:28:51 njoly Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.54 2013/08/11 18:34:43 pooka Exp
+ * created from NetBSD: syscalls.master,v 1.55 2013/09/24 13:27:50 njoly Exp
*/
#ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -926,6 +926,14 @@ struct linux_sys_get_robust_list_args {
};
check_syscall_args(linux_sys_get_robust_list)
+struct linux_sys_utimensat_args {
+ syscallarg(int) fd;
+ syscallarg(const char *) path;
+ syscallarg(struct linux_timespec *) times;
+ syscallarg(int) flag;
+};
+check_syscall_args(linux_sys_utimensat)
+
struct linux_sys_dup3_args {
syscallarg(int) from;
syscallarg(int) to;
@@ -1335,6 +1343,8 @@ int linux_sys_set_robust_list(struct lwp
int linux_sys_get_robust_list(struct lwp *, const struct linux_sys_get_robust_list_args *, register_t *);
+int linux_sys_utimensat(struct lwp *, const struct linux_sys_utimensat_args *, register_t *);
+
int linux_sys_dup3(struct lwp *, const struct linux_sys_dup3_args *, register_t *);
int linux_sys_pipe2(struct lwp *, const struct linux_sys_pipe2_args *, register_t *);
Index: src/sys/compat/linux/arch/powerpc/linux_syscalls.c
diff -u src/sys/compat/linux/arch/powerpc/linux_syscalls.c:1.59 src/sys/compat/linux/arch/powerpc/linux_syscalls.c:1.60
--- src/sys/compat/linux/arch/powerpc/linux_syscalls.c:1.59 Sun Aug 11 18:35:19 2013
+++ src/sys/compat/linux/arch/powerpc/linux_syscalls.c Tue Sep 24 13:28:51 2013
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.59 2013/08/11 18:35:19 pooka Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.60 2013/09/24 13:28:51 njoly Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.54 2013/08/11 18:34:43 pooka Exp
+ * created from NetBSD: syscalls.master,v 1.55 2013/09/24 13:27:50 njoly Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.59 2013/08/11 18:35:19 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.60 2013/09/24 13:28:51 njoly Exp $");
#if defined(_KERNEL_OPT)
#include <sys/param.h>
@@ -335,7 +335,7 @@ const char *const linux_syscallnames[] =
/* 301 */ "#301 (unimplemented move_pages)",
/* 302 */ "#302 (unimplemented getcpu)",
/* 303 */ "#303 (unimplemented epoll_wait)",
- /* 304 */ "#304 (unimplemented utimensat)",
+ /* 304 */ "utimensat",
/* 305 */ "#305 (unimplemented signalfd)",
/* 306 */ "#306 (unimplemented timerfd_create)",
/* 307 */ "#307 (unimplemented eventfd)",