Page MenuHomeFreeBSD

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

Authored by brooks on Jun 11 2016, 8:57 PM.
Tags
None
Referenced Files
F131678565: D6816.id17777.diff
Fri, Oct 10, 7:04 AM
Unknown Object (File)
Tue, Sep 30, 2:06 AM
Unknown Object (File)
Sat, Sep 13, 3:44 AM
Unknown Object (File)
Sep 8 2025, 12:25 AM
Unknown Object (File)
Aug 22 2025, 9:30 PM
Unknown Object (File)
Aug 22 2025, 9:10 PM
Unknown Object (File)
Aug 16 2025, 7:59 PM
Unknown Object (File)
Aug 15 2025, 9:28 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 - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

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.

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