Page MenuHomeFreeBSD

D27016.id78931.diff
No OneTemporary

D27016.id78931.diff

Index: sys/compat/linux/linux_fork.c
===================================================================
--- sys/compat/linux/linux_fork.c
+++ sys/compat/linux/linux_fork.c
@@ -150,10 +150,9 @@
/*
* XXX: In Linux, sharing of fs info (chroot/cwd/umask)
* and open files is independent. In FreeBSD, its in one
- * structure but in reality it does not cause any problems
- * because both of these flags are usually set together.
+ * structure.
*/
- if (!(args->flags & (LINUX_CLONE_FILES | LINUX_CLONE_FS)))
+ if (!(args->flags & LINUX_CLONE_FILES))
ff |= RFFDG;
if (args->flags & LINUX_CLONE_PARENT_SETTID)

File Metadata

Mime Type
text/plain
Expires
Wed, May 20, 10:34 AM (11 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33344488
Default Alt Text
D27016.id78931.diff (627 B)

Event Timeline