Module Name:    src
Committed By:   christos
Date:           Mon Jul  1 00:51:11 UTC 2024

Modified Files:
        src/sys/kern: vfs_syscalls.c

Log Message:
remove the part of previous that crashes for now.


To generate a diff of this commit:
cvs rdiff -u -r1.562 -r1.563 src/sys/kern/vfs_syscalls.c

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.562 src/sys/kern/vfs_syscalls.c:1.563
--- src/sys/kern/vfs_syscalls.c:1.562	Sat Jun 29 09:31:07 2024
+++ src/sys/kern/vfs_syscalls.c	Sun Jun 30 20:51:11 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: vfs_syscalls.c,v 1.562 2024/06/29 13:31:07 christos Exp $	*/
+/*	$NetBSD: vfs_syscalls.c,v 1.563 2024/07/01 00:51:11 christos Exp $	*/
 
 /*-
  * Copyright (c) 2008, 2009, 2019, 2020, 2023 The NetBSD Foundation, Inc.
@@ -70,7 +70,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_syscalls.c,v 1.562 2024/06/29 13:31:07 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_syscalls.c,v 1.563 2024/07/01 00:51:11 christos Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_fileassoc.h"
@@ -260,7 +260,7 @@ fd_nameiat_simple_user(struct lwp *l, in
 	struct vnode *dvp;
 	int error;
 
-	if (fdat != AT_FDCWD && path[0] != '/') {
+	if (fdat != AT_FDCWD) {
 		if ((error = fd_getvnode(fdat, &dfp)) != 0)
 			goto out;
 

Reply via email to