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)
Mon, Nov 18, 6:05 PM
Unknown Object (File)
Sat, Nov 9, 8:26 AM
Unknown Object (File)
Sat, Nov 9, 8:25 AM
Unknown Object (File)
Thu, Nov 7, 8:17 AM
Unknown Object (File)
Wed, Nov 6, 5:28 AM
Unknown Object (File)
Wed, Nov 6, 5:18 AM
Unknown Object (File)
Tue, Nov 5, 5:27 PM
Unknown Object (File)
Tue, Nov 5, 4:01 AM

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