HomeFreeBSD

Replace use of the pipe(2) system call with pipe2(2) with a zero flags

Description

Replace use of the pipe(2) system call with pipe2(2) with a zero flags
value.

This eliminates the need for machine dependant assembly wrappers for
pipe(2).

It also make passing an invalid address to pipe(2) return EFAULT rather
than triggering a segfault. Document this behavior (which was already
true for pipe2(2), but undocumented).

Reviewed by: andrew
Approved by: re (gjb)
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D6815

Details

Provenance
brooksAuthored on Jun 22 2016, 9:11 PM
Parents
rGbe20fc2e90ef: Do not complete pending gmirror BIOs when tearing down the provider.
Branches
Unknown
Tags
Unknown

Event Timeline