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
Unknown Object (File)
Wed, Dec 11, 9:58 PM
Unknown Object (File)
Wed, Dec 11, 7:34 PM
Unknown Object (File)
Sun, Nov 17, 7:41 AM
Unknown Object (File)
Sat, Nov 16, 4:36 AM
Unknown Object (File)
Thu, Nov 14, 11:11 AM
Unknown Object (File)
Wed, Nov 13, 5:30 PM
Unknown Object (File)
Wed, Nov 13, 1:31 AM
Unknown Object (File)
Feb 23 2024, 12:21 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