freebsd-dev/lib
Andriy Gapon 68d57fec79 7233 dir_is_empty should open directory with CLOEXEC
illumos/illumos-gate@d420209d9c
d420209d9c

https://www.illumos.org/issues/7233
  This fixes a race where one thread is executing zfs_mount() while another
  thread forks and execs. If the fork occurs while the directory is open, the
  child process will inherit (but not necessarily close immediately) the open fd
  for the directory, preventing the mount.

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Paul Dagnelie <pcd@delphix.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
Author: Alex Reece <alex@delphix.com>
2017-04-14 17:22:54 +00:00
..
libctf/common Update vendor/illumos/dist to 14148:fe28bd725808: 2013-08-23 23:34:54 +00:00
libdtrace 7297 clear() on llquantize aggregation causes dtrace to exit 2016-08-26 20:51:09 +00:00
libgen/common Update DTrace userland code to the latest available. 2010-08-02 12:13:33 +00:00
libnvpair 5752 dump_nvlist() is not aware of boolean array 2016-11-02 17:33:22 +00:00
libuutil/common Update vendor/illumos/dist to pre libzfs_core state (zfs part) 2012-07-18 10:19:51 +00:00
libzfs/common 7233 dir_is_empty should open directory with CLOEXEC 2017-04-14 17:22:54 +00:00
libzfs_core/common 6051 lzc_receive: allow the caller to read the begin record 2016-11-02 17:32:31 +00:00
libzpool/common 7280 Allow changing global libzpool variables in zdb and ztest through command line 2017-04-14 16:53:34 +00:00
pyzfs/common 4369 implement zfs bookmarks 2014-01-01 01:15:53 +00:00