Source-Changes-HG archive

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

[src/trunk]: src/sys/kern do_sys_mkdir(): pass the requested segment down to ...



details:   https://anonhg.NetBSD.org/src/rev/8ed3d4ec95d3
branches:  trunk
changeset: 451274:8ed3d4ec95d3
user:      hannken <hannken%NetBSD.org@localhost>
date:      Mon May 13 08:17:30 2019 +0000

description:
do_sys_mkdir(): pass the requested segment down to do_sys_mkdirat().

diffstat:

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

diffs (27 lines):

diff -r e86534e551ce -r 8ed3d4ec95d3 sys/kern/vfs_syscalls.c
--- a/sys/kern/vfs_syscalls.c   Mon May 13 08:16:56 2019 +0000
+++ b/sys/kern/vfs_syscalls.c   Mon May 13 08:17:30 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vfs_syscalls.c,v 1.527 2019/03/01 11:06:57 pgoyette Exp $      */
+/*     $NetBSD: vfs_syscalls.c,v 1.528 2019/05/13 08:17:30 hannken 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.527 2019/03/01 11:06:57 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_syscalls.c,v 1.528 2019/05/13 08:17:30 hannken Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_fileassoc.h"
@@ -4538,7 +4538,7 @@
 int
 do_sys_mkdir(const char *path, mode_t mode, enum uio_seg seg)
 {
-       return do_sys_mkdirat(NULL, AT_FDCWD, path, mode, UIO_USERSPACE);
+       return do_sys_mkdirat(NULL, AT_FDCWD, path, mode, seg);
 }
 
 static int



Home | Main Index | Thread Index | Old Index