| #
d7847a8d
|
| 13-Mar-2024 |
Brooks Davis <brooks@FreeBSD.org> |
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 threadi
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
show more ...
|
| #
1e2502bf
|
| 15-Nov-2023 |
Brooks Davis <brooks@FreeBSD.org> |
libc: move MD sys related symbols to libsys
This is a mix genuine MD interfaces and compat symbols like _getlogin.
Reviewed by: kib, emaste, imp Pull Request: https://github.com/freebsd/freebsd-src
libc: move MD sys related symbols to libsys
This is a mix genuine MD interfaces and compat symbols like _getlogin.
Reviewed by: kib, emaste, imp Pull Request: https://github.com/freebsd/freebsd-src/pull/908
show more ...
|
| #
c7045186
|
| 15-Nov-2023 |
Brooks Davis <brooks@FreeBSD.org> |
libc: centralize a few numeric symbols
fabs, __infinity, and __nan are universally implemented so declare them in gen/Symbol.map.
We would also include __flt_rounds, but it's under FBSD_1.3 on arm
libc: centralize a few numeric symbols
fabs, __infinity, and __nan are universally implemented so declare them in gen/Symbol.map.
We would also include __flt_rounds, but it's under FBSD_1.3 on arm so until that's gone we're stuck with it. Likewise, everyone but i386 implements fp[gs]etmask.
Reviewed by: imp, kib, emaste Differential Revision: https://reviews.freebsd.org/D42618
show more ...
|
| #
5d79b544
|
| 15-Nov-2023 |
Brooks Davis <brooks@FreeBSD.org> |
libc: centralize makecontext symbols
Declare makecontext() and __makecontext() symbols centrally as they are always implemented.
Reviewed by: imp, kib Differential Revision: https://reviews.freebsd
libc: centralize makecontext symbols
Declare makecontext() and __makecontext() symbols centrally as they are always implemented.
Reviewed by: imp, kib Differential Revision: https://reviews.freebsd.org/D42617
show more ...
|
| #
1c656143
|
| 15-Nov-2023 |
Brooks Davis <brooks@FreeBSD.org> |
libc: centralize {_,sig,}{set,long}jmp symbols
These symbols are universally exposed and documented so declare them centrally. Double- and triple-underscore versions exist on some platforms, but le
libc: centralize {_,sig,}{set,long}jmp symbols
These symbols are universally exposed and documented so declare them centrally. Double- and triple-underscore versions exist on some platforms, but leave those alone for now.
Reviewed by: imp, kib Differential Revision: https://reviews.freebsd.org/D42616
show more ...
|
| #
ff3a9d8e
|
| 15-Nov-2023 |
Brooks Davis <brooks@FreeBSD.org> |
libc: centralize ntoh symbols
These are implemented by net/ntoh.c via headers and compiler intrinsics so declare them in net/Symbol.map.
Reviewed by: imp, kib, emaste Differential Revision: https:/
libc: centralize ntoh symbols
These are implemented by net/ntoh.c via headers and compiler intrinsics so declare them in net/Symbol.map.
Reviewed by: imp, kib, emaste Differential Revision: https://reviews.freebsd.org/D42615
show more ...
|
| #
e4a1800f
|
| 15-Nov-2023 |
Brooks Davis <brooks@FreeBSD.org> |
libc: further centralize syscall symbols
All architectures necessarily implement _exit(2) and vfork(2) so declare them in sys/Symbol.map.
Reviewed by: imp, kib, emaste Differential Revision: https:
libc: further centralize syscall symbols
All architectures necessarily implement _exit(2) and vfork(2) so declare them in sys/Symbol.map.
Reviewed by: imp, kib, emaste Differential Revision: https://reviews.freebsd.org/D42614
show more ...
|
| #
1ca63a82
|
| 15-Nov-2023 |
Brooks Davis <brooks@FreeBSD.org> |
libc: Remove empty comments in Symbol.map
These were left over from $FreeBSD$ removal.
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D42612
|
| #
42b38843
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .h pattern
Remove /^\s*\*+\s*\$FreeBSD\$.*$\n/
|
| #
ae67737a
|
| 09-Dec-2021 |
John Baldwin <jhb@FreeBSD.org> |
libc: Remove _get_tp() and _set_tp().
Their uses have been replaced by _tcb_get() and _tcb_set() from <machine/tls.h>.
Reviewed by: kib, jrtc27 Sponsored by: The University of Cambridge, Google Inc
libc: Remove _get_tp() and _set_tp().
Their uses have been replaced by _tcb_get() and _tcb_set() from <machine/tls.h>.
Reviewed by: kib, jrtc27 Sponsored by: The University of Cambridge, Google Inc. Differential Revision: https://reviews.freebsd.org/D33354
show more ...
|
| #
18b18078
|
| 25-Feb-2019 |
Enji Cooper <ngie@FreeBSD.org> |
MFhead@r344527
|
| #
a8fe8db4
|
| 25-Feb-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r344178 through r344512.
|
| #
a2d95495
|
| 20-Feb-2019 |
Konstantin Belousov <kib@FreeBSD.org> |
Add usermode helpers for for Intel userspace protection keys feature.
Reviewed by: markj Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 2 weeks Differential revision: https://reviews
Add usermode helpers for for Intel userspace protection keys feature.
Reviewed by: markj Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 2 weeks Differential revision: https://reviews.freebsd.org/D18893
show more ...
|
| #
67350cb5
|
| 09-Dec-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r340918 through r341763.
|
| #
db19a093
|
| 05-Dec-2018 |
Brooks Davis <brooks@FreeBSD.org> |
Remove MD __sys_* private symbols.
No references to any of these exist in the tree. The list was also erratic with different architectures exporting different things (arm64 and riscv exported none).
Remove MD __sys_* private symbols.
No references to any of these exist in the tree. The list was also erratic with different architectures exporting different things (arm64 and riscv exported none).
Reviewed by: kib Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D18425
show more ...
|
| #
d7847a8d
|
| 13-Mar-2024 |
Brooks Davis <brooks@FreeBSD.org> |
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 threadi
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
show more ...
|
| #
1e2502bf
|
| 15-Nov-2023 |
Brooks Davis <brooks@FreeBSD.org> |
libc: move MD sys related symbols to libsys
This is a mix genuine MD interfaces and compat symbols like _getlogin.
Reviewed by: kib, emaste, imp Pull Request: https://github.com/freebsd/freebsd-src
libc: move MD sys related symbols to libsys
This is a mix genuine MD interfaces and compat symbols like _getlogin.
Reviewed by: kib, emaste, imp Pull Request: https://github.com/freebsd/freebsd-src/pull/908
show more ...
|
| #
c7045186
|
| 15-Nov-2023 |
Brooks Davis <brooks@FreeBSD.org> |
libc: centralize a few numeric symbols
fabs, __infinity, and __nan are universally implemented so declare them in gen/Symbol.map.
We would also include __flt_rounds, but it's under FBSD_1.3 on arm
libc: centralize a few numeric symbols
fabs, __infinity, and __nan are universally implemented so declare them in gen/Symbol.map.
We would also include __flt_rounds, but it's under FBSD_1.3 on arm so until that's gone we're stuck with it. Likewise, everyone but i386 implements fp[gs]etmask.
Reviewed by: imp, kib, emaste Differential Revision: https://reviews.freebsd.org/D42618
show more ...
|
| #
5d79b544
|
| 15-Nov-2023 |
Brooks Davis <brooks@FreeBSD.org> |
libc: centralize makecontext symbols
Declare makecontext() and __makecontext() symbols centrally as they are always implemented.
Reviewed by: imp, kib Differential Revision: https://reviews.freebsd
libc: centralize makecontext symbols
Declare makecontext() and __makecontext() symbols centrally as they are always implemented.
Reviewed by: imp, kib Differential Revision: https://reviews.freebsd.org/D42617
show more ...
|
| #
1c656143
|
| 15-Nov-2023 |
Brooks Davis <brooks@FreeBSD.org> |
libc: centralize {_,sig,}{set,long}jmp symbols
These symbols are universally exposed and documented so declare them centrally. Double- and triple-underscore versions exist on some platforms, but le
libc: centralize {_,sig,}{set,long}jmp symbols
These symbols are universally exposed and documented so declare them centrally. Double- and triple-underscore versions exist on some platforms, but leave those alone for now.
Reviewed by: imp, kib Differential Revision: https://reviews.freebsd.org/D42616
show more ...
|
| #
ff3a9d8e
|
| 15-Nov-2023 |
Brooks Davis <brooks@FreeBSD.org> |
libc: centralize ntoh symbols
These are implemented by net/ntoh.c via headers and compiler intrinsics so declare them in net/Symbol.map.
Reviewed by: imp, kib, emaste Differential Revision: https:/
libc: centralize ntoh symbols
These are implemented by net/ntoh.c via headers and compiler intrinsics so declare them in net/Symbol.map.
Reviewed by: imp, kib, emaste Differential Revision: https://reviews.freebsd.org/D42615
show more ...
|
| #
e4a1800f
|
| 15-Nov-2023 |
Brooks Davis <brooks@FreeBSD.org> |
libc: further centralize syscall symbols
All architectures necessarily implement _exit(2) and vfork(2) so declare them in sys/Symbol.map.
Reviewed by: imp, kib, emaste Differential Revision: https:
libc: further centralize syscall symbols
All architectures necessarily implement _exit(2) and vfork(2) so declare them in sys/Symbol.map.
Reviewed by: imp, kib, emaste Differential Revision: https://reviews.freebsd.org/D42614
show more ...
|
| #
1ca63a82
|
| 15-Nov-2023 |
Brooks Davis <brooks@FreeBSD.org> |
libc: Remove empty comments in Symbol.map
These were left over from $FreeBSD$ removal.
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D42612
|
| #
42b38843
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .h pattern
Remove /^\s*\*+\s*\$FreeBSD\$.*$\n/
|
| #
ae67737a
|
| 09-Dec-2021 |
John Baldwin <jhb@FreeBSD.org> |
libc: Remove _get_tp() and _set_tp().
Their uses have been replaced by _tcb_get() and _tcb_set() from <machine/tls.h>.
Reviewed by: kib, jrtc27 Sponsored by: The University of Cambridge, Google Inc
libc: Remove _get_tp() and _set_tp().
Their uses have been replaced by _tcb_get() and _tcb_set() from <machine/tls.h>.
Reviewed by: kib, jrtc27 Sponsored by: The University of Cambridge, Google Inc. Differential Revision: https://reviews.freebsd.org/D33354
show more ...
|