Skip to content
Commit 5b249b1b authored by Al Viro's avatar Al Viro
Browse files

pipe(2) - race-free error recovery



don't mess with sys_close() if copy_to_user() fails; just postpone
fd_install() until we know it hasn't.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent a79f41ed
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment