zfs/lib/libshare
наб a1a52a356b freebsd/libshare: nfs: don't send SIGHUP to all processes
pidfile_open() sets *pidptr to -1 if the process currently holding
the lock is between pidfile_open() and pidfile_write(),
the subsequent kill(mountdpid) would potentially SIGHUP all
non-system processes except init: just sleep for half a millisecond
and try again in that case

Reviewed-by: Don Brady <don.brady@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #12067
2022-02-03 15:28:01 -08:00
..
os freebsd/libshare: nfs: don't send SIGHUP to all processes 2022-02-03 15:28:01 -08:00
Makefile.am cppcheck: integrete cppcheck 2021-01-26 16:12:26 -08:00
libshare.c Remove dependency on sharetab file and refactor sharing logic 2020-07-13 09:19:18 -07:00
libshare_impl.h Remove dependency on sharetab file and refactor sharing logic 2020-07-13 09:19:18 -07:00
nfs.h Implemented sharing datasets via NFS using libshare. 2011-07-06 09:20:28 -07:00
smb.h Fix static data to link with -fno-common 2020-02-06 09:25:29 -08:00