Page MenuHomeFreeBSD

lib{c,sys}: return wrapped syscall APIs to libc
ClosedPublic

Authored by brooks on Mar 5 2024, 9:51 PM.
Tags
None
Referenced Files
F106188276: D44241.diff
Thu, Dec 26, 8:35 PM
Unknown Object (File)
Thu, Dec 5, 3:23 PM
Unknown Object (File)
Nov 24 2024, 8:19 AM
Unknown Object (File)
Nov 19 2024, 6:06 PM
Unknown Object (File)
Nov 14 2024, 6:53 AM
Unknown Object (File)
Nov 9 2024, 6:12 PM
Unknown Object (File)
Nov 9 2024, 6:12 PM
Unknown Object (File)
Nov 9 2024, 6:12 PM
Subscribers

Details

Summary

These provide standard APIs, but are interposed by the threading library
to support cancelation points or are implemented using another
underlying system call (e.g., pipe implemented in terms of pipe2).

After discussion with kib (see D44111), I've concluded that it is
better to keep the public interfaces in libc with at little
as possible in libsys.

These provide standard APIs, but are not implemented directly on a
syscall of the same name. They are often implemnted on top of newer
syscalls (e.g., pipe implemented in terms of pipe2).

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 56488
Build 53376: arc lint + arc unit

Event Timeline

brooks requested review of this revision.Mar 5 2024, 9:51 PM

I very much like that and thankful for you doing the move.

This revision is now accepted and ready to land.Mar 6 2024, 8:55 AM

Restore accidentaly removed symbols

  • brk and friends on arm
  • _vfork on amd64
This revision now requires review to proceed.Mar 7 2024, 12:25 AM
This revision was not accepted when it landed; it landed in state Needs Review.Mar 13 2024, 6:37 PM
This revision was automatically updated to reflect the committed changes.