summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_fork.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2002-01-25 07:10:04 +0000
committermillert <millert@openbsd.org>2002-01-25 07:10:04 +0000
commita108a440d3729b788ad6c31957ba526030ce87fc (patch)
treedaa679aaa2cdf8924f0ed97ce32e2a2ba1c956da /sys/kern/kern_fork.c
parents is pointer. 0 -> NULL. (diff)
downloadwireguard-openbsd-a108a440d3729b788ad6c31957ba526030ce87fc.tar.xz
wireguard-openbsd-a108a440d3729b788ad6c31957ba526030ce87fc.zip
Stat source path at the top of do_move() and return an error if
this fails. Previously, "mv nonexistent file_with_no_write_perms" would prompt whether or not to overwrite the file w/o write perms even though 'nonexistent' would fail to lstat() later on.
Diffstat (limited to 'sys/kern/kern_fork.c')
0 files changed, 0 insertions, 0 deletions