summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_vnops.c
diff options
context:
space:
mode:
authorgallatin <gallatin@FreeBSD.org>1999-08-27 14:47:23 +0000
committergallatin <gallatin@FreeBSD.org>1999-08-27 14:47:23 +0000
commitffd6399600ecf9973a8a8202ef1d2c969dfb7c42 (patch)
treef46f29d67777422e04729c58f93a593f434d024c /sys/kern/vfs_vnops.c
parenta1c1e7ab1acb9391452e3aa983d7bc436400b359 (diff)
downloadFreeBSD-src-ffd6399600ecf9973a8a8202ef1d2c969dfb7c42.zip
FreeBSD-src-ffd6399600ecf9973a8a8202ef1d2c969dfb7c42.tar.gz
Fix the child's return path from fork so that fork will return 0
in the child. This corrects a problem where linux/alpha binaries see the child's return value of fork as the parent's pid. This happens because linux/alpha binaries apparently check the return value directly, rather than looking for a non-zero value in a4, as *BSD & OSF/1 do. Reviewed by:dfr@nlsystems.com
Diffstat (limited to 'sys/kern/vfs_vnops.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud