diff options
author | 2002-01-25 07:10:04 +0000 | |
---|---|---|
committer | 2002-01-25 07:10:04 +0000 | |
commit | a108a440d3729b788ad6c31957ba526030ce87fc (patch) | |
tree | daa679aaa2cdf8924f0ed97ce32e2a2ba1c956da /sys/kern/kern_fork.c | |
parent | s is pointer. 0 -> NULL. (diff) | |
download | wireguard-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