mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-27 11:29:36 +03:00
93ef500388
According to POSIX.1, "vfork() has the same effect as fork(2), except that the behavior is undefined if the process created by vfork() either modifies any data other than a variable of type pid_t used to store the return value from vfork(), [...], or calls any other function before successfully calling _exit(2) or one of the exec(3) family of functions." These do all three, and work by pure chance (or maybe they don't, but we blisfully don't know). Either way: bad idea to call vfork() from C, unless you're the standard library, and POSIX.1-2008 removes it entirely Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #12015 |
||
---|---|---|
.. | ||
badsend | ||
btree_test | ||
chg_usr_exec | ||
devname2devid | ||
dir_rd_update | ||
draid | ||
file_check | ||
file_trunc | ||
file_write | ||
get_diff | ||
largest_file | ||
libzfs_input_check | ||
mkbusy | ||
mkfile | ||
mkfiles | ||
mktree | ||
mmap_exec | ||
mmap_libaio | ||
mmapwrite | ||
nvlist_to_lua | ||
randfree_file | ||
randwritecomp | ||
readmmap | ||
rename_dir | ||
rm_lnkcnt_zero_file | ||
send_doall | ||
stride_dd | ||
threadsappend | ||
user_ns_exec | ||
xattrtest | ||
file_common.h | ||
Makefile.am |