HomeFreeBSD

Fix linux_pipe() and linux_pipe2() to close file descriptors on copyout

Description

Fix linux_pipe() and linux_pipe2() to close file descriptors on copyout
error.

Reviewed by: dchagin
MFC after: 2 weeks
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D9425

Details

Provenance
traszAuthored on
Reviewer
dchagin
Differential Revision
D9425: Fix error handling in linux_pipe().
Parents
rS313282: rwlock: move lockstat handling out of inline primitives
Branches
Unknown
Tags
Unknown