Page MenuHomeFreeBSD

D22384.diff
No OneTemporary

D22384.diff

Index: head/sys/compat/linux/linux_file.c
===================================================================
--- head/sys/compat/linux/linux_file.c
+++ head/sys/compat/linux/linux_file.c
@@ -132,8 +132,11 @@
/* XXX LINUX_O_NOATIME: unable to be easily implemented. */
error = kern_openat(td, dirfd, path, UIO_SYSSPACE, bsd_flags, mode);
- if (error != 0)
+ if (error != 0) {
+ if (error == EMLINK)
+ error = ELOOP;
goto done;
+ }
if (bsd_flags & O_NOCTTY)
goto done;

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 24, 1:16 AM (21 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16069955
Default Alt Text
D22384.diff (487 B)

Event Timeline