Page MenuHomeFreeBSD

Mark the pipe(2) system call as COMPAT10.
ClosedPublic

Authored by brooks on Jun 11 2016, 8:57 PM.

Details

Summary

Libc now implements pipe() as a call to pipe2() which is identical when
called with a flags value of 0.

This depends on https://reviews.freebsd.org/D6815

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

brooks updated this revision to Diff 17525.Jun 11 2016, 8:57 PM
brooks retitled this revision from to Mark the pipe(2) system call as COMPAT10..
brooks updated this object.
brooks edited the test plan for this revision. (Show Details)
brooks added reviewers: peter, andrew.
peter edited edge metadata.Jun 11 2016, 9:35 PM

In principle I think this is OK. As an aside, pipe2(2) should also be able to return EFAULT, but that isn't mentioned in the man page.

This revision was automatically updated to reflect the committed changes.
juan.molina_club.fr added inline comments.
head/sys/kern/syscalls.master
31

There is a small typo here, isn’t it? s/COMPAT7/COMPAT10