artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6accc23
)
non-O_NOFOLLOW error introduced by accident, this is fragile code..
author
deraadt
<deraadt@openbsd.org>
Tue, 25 Apr 2000 02:10:04 +0000
(
02:10
+0000)
committer
deraadt
<deraadt@openbsd.org>
Tue, 25 Apr 2000 02:10:04 +0000
(
02:10
+0000)
sys/kern/vfs_vnops.c
patch
|
blob
|
history
diff --git
a/sys/kern/vfs_vnops.c
b/sys/kern/vfs_vnops.c
index
e45b3d3
..
b9435c4
100644
(file)
--- a/
sys/kern/vfs_vnops.c
+++ b/
sys/kern/vfs_vnops.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: vfs_vnops.c,v 1.2
5 2000/04/21 15:47:28 miller
t Exp $ */
+/* $OpenBSD: vfs_vnops.c,v 1.2
6 2000/04/25 02:10:04 deraad
t Exp $ */
/* $NetBSD: vfs_vnops.c,v 1.20 1996/02/04 02:18:41 christos Exp $ */
/*
@@
-123,6
+123,7
@@
vn_open(ndp, fmode, cmode)
error = EEXIST;
goto bad;
}
+ fmode &= ~O_CREAT;
}
} else {
ndp->ni_cnd.cn_nameiop = LOOKUP;