HomeFreeBSD

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

Description

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

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

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

Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D44241

Details

Provenance
brooksAuthored on Mar 13 2024, 5:42 PM
Reviewer
kib
Differential Revision
D44241: lib{c,sys}: return wrapped syscall APIs to libc
Parents
rGef5fddd3440c: libsys: make __libsys_interposing static
Branches
Unknown
Tags
Unknown