Module Name: src
Committed By: matt
Date: Thu Jul 18 14:06:27 UTC 2013
Modified Files:
src/sys/kern: vfs_syscalls.c
src/sys/sys: vfs_syscalls.h
Log Message:
Make do_sys_utimensat public
To generate a diff of this commit:
cvs rdiff -u -r1.465 -r1.466 src/sys/kern/vfs_syscalls.c
cvs rdiff -u -r1.19 -r1.20 src/sys/sys/vfs_syscalls.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/kern/vfs_syscalls.c
diff -u src/sys/kern/vfs_syscalls.c:1.465 src/sys/kern/vfs_syscalls.c:1.466
--- src/sys/kern/vfs_syscalls.c:1.465 Thu Jul 18 13:41:08 2013
+++ src/sys/kern/vfs_syscalls.c Thu Jul 18 14:06:27 2013
@@ -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_mkdirat(struct lwp *l,
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 @@ do_sys_utimens(struct lwp *l, struct vno
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)
{
Index: src/sys/sys/vfs_syscalls.h
diff -u src/sys/sys/vfs_syscalls.h:1.19 src/sys/sys/vfs_syscalls.h:1.20
--- src/sys/sys/vfs_syscalls.h:1.19 Thu Jul 18 13:41:08 2013
+++ src/sys/sys/vfs_syscalls.h Thu Jul 18 14:06:27 2013
@@ -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_getvfsstat(struct lwp *, void
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 **);