Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Revert rev. 1.147, as per PR kern/17411.
details: https://anonhg.NetBSD.org/src/rev/2020a24be0ce
branches: trunk
changeset: 538812:2020a24be0ce
user: kleink <kleink%NetBSD.org@localhost>
date: Wed Oct 30 22:36:46 2002 +0000
description:
Revert rev. 1.147, as per PR kern/17411.
While a hard link to a symbolic link is not ruled out by POSIX-2001,
the link(2) interface is to perform normal pathname resolution,
which includes the resolution of symbolic links.
diffstat:
sys/kern/vfs_syscalls.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 37468d41316f -r 2020a24be0ce sys/kern/vfs_syscalls.c
--- a/sys/kern/vfs_syscalls.c Wed Oct 30 21:50:47 2002 +0000
+++ b/sys/kern/vfs_syscalls.c Wed Oct 30 22:36:46 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vfs_syscalls.c,v 1.177 2002/09/21 18:07:52 christos Exp $ */
+/* $NetBSD: vfs_syscalls.c,v 1.178 2002/10/30 22:36:46 kleink Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_syscalls.c,v 1.177 2002/09/21 18:07:52 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_syscalls.c,v 1.178 2002/10/30 22:36:46 kleink Exp $");
#include "opt_compat_netbsd.h"
#include "opt_compat_43.h"
@@ -1459,7 +1459,7 @@
struct nameidata nd;
int error;
- NDINIT(&nd, LOOKUP, NOFOLLOW, UIO_USERSPACE, SCARG(uap, path), p);
+ NDINIT(&nd, LOOKUP, FOLLOW, UIO_USERSPACE, SCARG(uap, path), p);
if ((error = namei(&nd)) != 0)
return (error);
vp = nd.ni_vp;
Home |
Main Index |
Thread Index |
Old Index