Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157217861
D27016.id78931.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
627 B
Referenced Files
None
Subscribers
None
D27016.id78931.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D27016: linux(4) clone(2): Correctly handle CLONE_FS and CLONE_FILES
Attached
Detach File
Event Timeline
Log In to Comment