Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys export do_sys_statat for netbsd32



details:   https://anonhg.NetBSD.org/src/rev/f8a573af1561
branches:  trunk
changeset: 788701:f8a573af1561
user:      matt <matt%NetBSD.org@localhost>
date:      Thu Jul 18 13:41:08 2013 +0000

description:
export do_sys_statat for netbsd32

diffstat:

 sys/kern/vfs_syscalls.c |  8 +++-----
 sys/sys/vfs_syscalls.h  |  3 ++-
 2 files changed, 5 insertions(+), 6 deletions(-)

diffs (53 lines):

diff -r e500881504ef -r f8a573af1561 sys/kern/vfs_syscalls.c
--- a/sys/kern/vfs_syscalls.c   Thu Jul 18 13:10:50 2013 +0000
+++ b/sys/kern/vfs_syscalls.c   Thu Jul 18 13:41:08 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vfs_syscalls.c,v 1.464 2013/06/28 15:32:20 christos Exp $      */
+/*     $NetBSD: vfs_syscalls.c,v 1.465 2013/07/18 13:41:08 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.464 2013/06/28 15:32:20 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_syscalls.c,v 1.465 2013/07/18 13:41:08 matt Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_fileassoc.h"
@@ -131,8 +131,6 @@
 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_statat(struct lwp *, int, const char *, unsigned int,
-    struct stat *);
 static int do_sys_symlinkat(struct lwp *, const char *, int, const char *,
     enum uio_seg);
 static int do_sys_linkat(struct lwp *, int, const char *, int, const char *,
@@ -3022,7 +3020,7 @@
        return do_sys_statat(NULL, AT_FDCWD, userpath, nd_flag, sb);
 }
 
-static int
+int
 do_sys_statat(struct lwp *l, int fdat, const char *userpath,
     unsigned int nd_flag, struct stat *sb) 
 {
diff -r e500881504ef -r f8a573af1561 sys/sys/vfs_syscalls.h
--- a/sys/sys/vfs_syscalls.h    Thu Jul 18 13:10:50 2013 +0000
+++ b/sys/sys/vfs_syscalls.h    Thu Jul 18 13:41:08 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vfs_syscalls.h,v 1.18 2012/03/13 18:41:02 elad Exp $        */
+/*     $NetBSD: vfs_syscalls.h,v 1.19 2013/07/18 13:41:08 matt Exp $        */
 
 /*
  * Copyright (c) 2007, 2008, 2009 The NetBSD Foundation, Inc.
@@ -42,6 +42,7 @@
 
 /* Status functions to kernel 'struct stat' buffers */
 int do_sys_stat(const char *, unsigned int, struct stat *);
+int do_sys_statat(struct lwp *, int, const char *, unsigned int, struct stat *);
 int do_fhstat(struct lwp *, const void *, size_t, struct stat *);
 int do_fhstatvfs(struct lwp *, const void *, size_t, struct statvfs *, int);
 



Home | Main Index | Thread Index | Old Index