Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Fix build; p was not used, but l was passed to kaut...



details:   https://anonhg.NetBSD.org/src/rev/619600bf2d16
branches:  trunk
changeset: 765937:619600bf2d16
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Sat Jun 11 03:00:19 2011 +0000

description:
Fix build; p was not used, but l was passed to kauth.  Use curlwp directly.

diffstat:

 sys/kern/vfs_syscalls.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r a403069d6a88 -r 619600bf2d16 sys/kern/vfs_syscalls.c
--- a/sys/kern/vfs_syscalls.c   Sat Jun 11 02:10:48 2011 +0000
+++ b/sys/kern/vfs_syscalls.c   Sat Jun 11 03:00:19 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vfs_syscalls.c,v 1.427 2011/06/10 21:02:46 matt Exp $  */
+/*     $NetBSD: vfs_syscalls.c,v 1.428 2011/06/11 03:00:19 uebayasi 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.427 2011/06/10 21:02:46 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_syscalls.c,v 1.428 2011/06/11 03:00:19 uebayasi Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_fileassoc.h"
@@ -3284,7 +3284,7 @@
                f2 = kmem_alloc(f2_len, KM_SLEEP);
                strlcpy(f2, tond.ni_cnd.cn_nameptr, f2_len);
 
-               error = veriexec_renamechk(l, fvp, f1, tvp, f2);
+               error = veriexec_renamechk(curlwp, fvp, f1, tvp, f2);
 
                kmem_free(f1, f1_len);
                kmem_free(f2, f2_len);



Home | Main Index | Thread Index | Old Index