Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys Make do_sys_utimensat public
details: https://anonhg.NetBSD.org/src/rev/7d86a4db7a54
branches: trunk
changeset: 788703:7d86a4db7a54
user: matt <matt%NetBSD.org@localhost>
date: Thu Jul 18 14:06:27 2013 +0000
description:
Make do_sys_utimensat public
diffstat:
sys/kern/vfs_syscalls.c | 8 +++-----
sys/sys/vfs_syscalls.h | 6 ++++--
2 files changed, 7 insertions(+), 7 deletions(-)
diffs (56 lines):
diff -r ff4c2d2fb9ce -r 7d86a4db7a54 sys/kern/vfs_syscalls.c
--- a/sys/kern/vfs_syscalls.c Thu Jul 18 13:43:32 2013 +0000
+++ b/sys/kern/vfs_syscalls.c Thu Jul 18 14:06:27 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vfs_syscalls.c,v 1.465 2013/07/18 13:41:08 matt Exp $ */
+/* $NetBSD: vfs_syscalls.c,v 1.466 2013/07/18 14:06:27 matt Exp $ */
/*-
* Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
@@ -70,7 +70,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_syscalls.c,v 1.465 2013/07/18 13:41:08 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_syscalls.c,v 1.466 2013/07/18 14:06:27 matt Exp $");
#ifdef _KERNEL_OPT
#include "opt_fileassoc.h"
@@ -128,8 +128,6 @@
static int do_sys_mkfifoat(struct lwp *, int, const char *, mode_t);
static int do_sys_chmodat(struct lwp *, int, const char *, int, int);
static int do_sys_chownat(struct lwp *, int, const char *, uid_t, gid_t, int);
-static int do_sys_utimensat(struct lwp *, int, struct vnode *,
- const char *, int, const struct timespec *, enum uio_seg);
static int do_sys_accessat(struct lwp *, int, const char *, int ,int);
static int do_sys_symlinkat(struct lwp *, const char *, int, const char *,
enum uio_seg);
@@ -3782,7 +3780,7 @@
return do_sys_utimensat(l, AT_FDCWD, vp, path, flag, tptr, seg);
}
-static int
+int
do_sys_utimensat(struct lwp *l, int fdat, struct vnode *vp,
const char *path, int flag, const struct timespec *tptr, enum uio_seg seg)
{
diff -r ff4c2d2fb9ce -r 7d86a4db7a54 sys/sys/vfs_syscalls.h
--- a/sys/sys/vfs_syscalls.h Thu Jul 18 13:43:32 2013 +0000
+++ b/sys/sys/vfs_syscalls.h Thu Jul 18 14:06:27 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vfs_syscalls.h,v 1.19 2013/07/18 13:41:08 matt Exp $ */
+/* $NetBSD: vfs_syscalls.h,v 1.20 2013/07/18 14:06:27 matt Exp $ */
/*
* Copyright (c) 2007, 2008, 2009 The NetBSD Foundation, Inc.
@@ -54,7 +54,9 @@
int do_sys_utimes(struct lwp *, struct vnode *, const char *, int,
const struct timeval *, enum uio_seg);
-int do_sys_utimens(struct lwp *, struct vnode *, const char *, int flag,
+int do_sys_utimens(struct lwp *, struct vnode *, const char *, int,
+ const struct timespec *, enum uio_seg);
+int do_sys_utimensat(struct lwp *, int, struct vnode *, const char *, int,
const struct timespec *, enum uio_seg);
int vfs_copyinfh_alloc(const void *, size_t, fhandle_t **);
Home |
Main Index |
Thread Index |
Old Index