Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/kern/lib/libsys_linux Regen to add lstat64
details: https://anonhg.NetBSD.org/src/rev/b0ea0bb8f8a4
branches: trunk
changeset: 785006:b0ea0bb8f8a4
user: stacktic <stacktic%NetBSD.org@localhost>
date: Sun Feb 17 15:17:40 2013 +0000
description:
Regen to add lstat64
diffstat:
sys/rump/kern/lib/libsys_linux/rump_linux_syscallargs.h | 10 +++++++++-
sys/rump/kern/lib/libsys_linux/rump_linux_syscalls.c | 6 +++---
sys/rump/kern/lib/libsys_linux/rump_linux_sysent.c | 8 ++++----
sys/rump/kern/lib/libsys_linux/syscalls.master | 5 +++--
4 files changed, 19 insertions(+), 10 deletions(-)
diffs (106 lines):
diff -r 9aed558020ff -r b0ea0bb8f8a4 sys/rump/kern/lib/libsys_linux/rump_linux_syscallargs.h
--- a/sys/rump/kern/lib/libsys_linux/rump_linux_syscallargs.h Sun Feb 17 13:39:51 2013 +0000
+++ b/sys/rump/kern/lib/libsys_linux/rump_linux_syscallargs.h Sun Feb 17 15:17:40 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump_linux_syscallargs.h,v 1.1 2012/09/19 21:46:46 pooka Exp $ */
+/* $NetBSD: rump_linux_syscallargs.h,v 1.2 2013/02/17 15:17:40 stacktic Exp $ */
/*
* System call argument lists.
@@ -316,6 +316,12 @@
};
check_syscall_args(linux_sys_fstat64)
+struct linux_sys_lstat64_args {
+ syscallarg(const char *) path;
+ syscallarg(struct linux_stat64 *) sp;
+};
+check_syscall_args(linux_sys_lstat64)
+
struct linux_sys_mknod_args {
syscallarg(const char *) path;
syscallarg(mode_t) mode;
@@ -485,6 +491,8 @@
int linux_sys_fstat64(struct lwp *, const struct linux_sys_fstat64_args *, register_t *);
+int linux_sys_lstat64(struct lwp *, const struct linux_sys_lstat64_args *, register_t *);
+
int linux_sys_mknod(struct lwp *, const struct linux_sys_mknod_args *, register_t *);
#endif /* _RUMP_LINUX_SYS_SYSCALLARGS_H_ */
diff -r 9aed558020ff -r b0ea0bb8f8a4 sys/rump/kern/lib/libsys_linux/rump_linux_syscalls.c
--- a/sys/rump/kern/lib/libsys_linux/rump_linux_syscalls.c Sun Feb 17 13:39:51 2013 +0000
+++ b/sys/rump/kern/lib/libsys_linux/rump_linux_syscalls.c Sun Feb 17 15:17:40 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump_linux_syscalls.c,v 1.1 2012/09/19 21:46:46 pooka Exp $ */
+/* $NetBSD: rump_linux_syscalls.c,v 1.2 2013/02/17 15:17:40 stacktic Exp $ */
/*
* System call names.
@@ -8,7 +8,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump_linux_syscalls.c,v 1.1 2012/09/19 21:46:46 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump_linux_syscalls.c,v 1.2 2013/02/17 15:17:40 stacktic Exp $");
#if defined(_KERNEL_OPT)
#include <sys/param.h>
@@ -465,7 +465,7 @@
/* 438 */ "#438 (unimplemented aio_suspend)",
/* 439 */ "stat64",
/* 440 */ "fstat64",
- /* 441 */ "#441 (unimplemented lstat)",
+ /* 441 */ "lstat64",
/* 442 */ "#442 (unimplemented __semctl)",
/* 443 */ "#443 (unimplemented shmctl)",
/* 444 */ "#444 (unimplemented msgctl)",
diff -r 9aed558020ff -r b0ea0bb8f8a4 sys/rump/kern/lib/libsys_linux/rump_linux_sysent.c
--- a/sys/rump/kern/lib/libsys_linux/rump_linux_sysent.c Sun Feb 17 13:39:51 2013 +0000
+++ b/sys/rump/kern/lib/libsys_linux/rump_linux_sysent.c Sun Feb 17 15:17:40 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump_linux_sysent.c,v 1.1 2012/09/19 21:46:46 pooka Exp $ */
+/* $NetBSD: rump_linux_sysent.c,v 1.2 2013/02/17 15:17:40 stacktic Exp $ */
/*
* System call switch table.
@@ -8,7 +8,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump_linux_sysent.c,v 1.1 2012/09/19 21:46:46 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump_linux_sysent.c,v 1.2 2013/02/17 15:17:40 stacktic Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -908,8 +908,8 @@
(sy_call_t *)linux_sys_stat64 }, /* 439 = stat64 */
{ ns(struct linux_sys_fstat64_args), SYCALL_ARG_PTR,
(sy_call_t *)linux_sys_fstat64 }, /* 440 = fstat64 */
- { 0, 0, 0,
- linux_sys_nosys }, /* 441 = unimplemented lstat */
+ { ns(struct linux_sys_lstat64_args), SYCALL_ARG_PTR,
+ (sy_call_t *)linux_sys_lstat64 }, /* 441 = lstat64 */
{ 0, 0, 0,
linux_sys_nosys }, /* 442 = unimplemented __semctl */
{ 0, 0, 0,
diff -r 9aed558020ff -r b0ea0bb8f8a4 sys/rump/kern/lib/libsys_linux/syscalls.master
--- a/sys/rump/kern/lib/libsys_linux/syscalls.master Sun Feb 17 13:39:51 2013 +0000
+++ b/sys/rump/kern/lib/libsys_linux/syscalls.master Sun Feb 17 15:17:40 2013 +0000
@@ -1,4 +1,4 @@
- $NetBSD: syscalls.master,v 1.1 2012/09/19 21:45:40 pooka Exp $
+ $NetBSD: syscalls.master,v 1.2 2013/02/17 15:17:40 stacktic Exp $
; @(#)syscalls.master 8.2 (Berkeley) 1/13/94
@@ -563,7 +563,8 @@
struct linux_stat64 *sp); }
440 NODEF { int|linux_sys||fstat64(int fd, \
struct linux_stat64 *sp); }
-441 UNIMPL lstat
+441 NODEF { int|linux_sys||lstat64(const char *path, \
+ struct linux_stat64 *sp); }
442 UNIMPL __semctl
443 UNIMPL shmctl
444 UNIMPL msgctl
Home |
Main Index |
Thread Index |
Old Index