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
Unknown Object (File)
Sun, May 19, 5:56 AM
Unknown Object (File)
Thu, May 16, 10:04 AM
Unknown Object (File)
Wed, May 8, 9:53 PM
Unknown Object (File)
Sat, May 4, 1:33 PM
Unknown Object (File)
Sat, May 4, 1:20 PM
Unknown Object (File)
Fri, May 3, 12:41 PM
Unknown Object (File)
Sat, Apr 27, 5:35 PM
Unknown Object (File)
Apr 13 2024, 1:07 AM
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 Not Applicable
Unit
Tests Not Applicable

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.