Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/sys/sys PR kern/56316: vn_open doesn't f...
details: https://anonhg.NetBSD.org/src/rev/79740ac11756
branches: trunk
changeset: 984705:79740ac11756
user: kardel <kardel%NetBSD.org@localhost>
date: Sun Jul 18 07:22:22 2021 +0000
description:
PR kern/56316: vn_open doesn't follow symlinks
remove setting of O_NOFOLLOW. restores ZFS being able
to open devices via symlinks again.
diffstat:
external/cddl/osnet/sys/sys/vnode.h | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diffs (18 lines):
diff -r 2a28f275e62d -r 79740ac11756 external/cddl/osnet/sys/sys/vnode.h
--- a/external/cddl/osnet/sys/sys/vnode.h Sun Jul 18 06:57:28 2021 +0000
+++ b/external/cddl/osnet/sys/sys/vnode.h Sun Jul 18 07:22:22 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vnode.h,v 1.19 2021/06/29 22:40:53 dholland Exp $ */
+/* $NetBSD: vnode.h,v 1.20 2021/07/18 07:22:22 kardel Exp $ */
/*
* CDDL HEADER START
@@ -246,8 +246,6 @@
ASSERT(crwhy == CRCREAT);
ASSERT(umask == 0);
- filemode |= O_NOFOLLOW;
-
pb = pathbuf_create(pnamep);
error = vn_open(NULL, pb, 0, filemode, createmode, vpp, NULL, NULL);
if (error == 0) {
Home |
Main Index |
Thread Index |
Old Index