#
3820f784 |
| 31-Oct-2024 |
Konstantin Belousov <kib@FreeBSD.org> |
Document rtld_get_var(3)
Reviewed by: Alexander Ziaee Discussed with: emaste Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D47351
|
Revision tags: release/13.4.0 |
|
#
e9ac4169 |
| 15-Jul-2024 |
Warner Losh <imp@FreeBSD.org> |
Remove residual blank line at start of Makefile
This is a residual of the $FreeBSD$ removal.
MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
|
Revision tags: release/14.1.0 |
|
#
7a0a6b27 |
| 12-Mar-2024 |
Warner Losh <imp@FreeBSD.org> |
libc: Move tzset.3 to stdtime
This really belongs in stddime, since it documents interfaces implemented in stdtime.
Suggested by: brooks Sponsored by: Netflix
|
#
a34940a9 |
| 12-Mar-2024 |
Warner Losh <imp@FreeBSD.org> |
timezone: Move to the XSI/POSIX definition for timezone.
The old timezone(3) function has long since been obsolete and has a fatally flawed interface. Retain this function for compatibility purposes
timezone: Move to the XSI/POSIX definition for timezone.
The old timezone(3) function has long since been obsolete and has a fatally flawed interface. Retain this function for compatibility purposes, but shift to providing the offset from UTC in the timezone variable, whether or not the timezone observes summer time in the 'daylight' variable. Document the tzname variable that's already been set. Also make _tztab() static. It's not used in libc (or anywhere in the tree) and it's not exported as a public dynamic symbol.
Sponsored by: Netflix Reviewed by: brooks, kib Differential Revision: https://reviews.freebsd.org/D44281
show more ...
|
Revision tags: release/13.3.0 |
|
#
7d233b22 |
| 23-Feb-2024 |
Konstantin Belousov <kib@FreeBSD.org> |
libsys: fix sleep(3)/usleep(3) cancel behavior
Move functions back to libc/gen sources; they are only versioned from libc and not libsys. Access libsys interposing slots using __libsys_interposing_s
libsys: fix sleep(3)/usleep(3) cancel behavior
Move functions back to libc/gen sources; they are only versioned from libc and not libsys. Access libsys interposing slots using __libsys_interposing_slot() instead of direct __libsys_interposing array dereference, which cannot work from libc.
Reported by: glebius Reviewed by: brooks Sponsored by: The FreeBSD Foundation Differential revision: https://reviews.freebsd.org/D44042
show more ...
|
#
fe920a4f |
| 20-Feb-2024 |
Konstantin Belousov <kib@FreeBSD.org> |
libsys: move errno to libsys
Before, the 'errno' itself was defined in libc and was referenced by libsys, causing undesired dependency.
Reviewed by: brooks, imp Sponsored by: The FreeBSD Foundation
libsys: move errno to libsys
Before, the 'errno' itself was defined in libc and was referenced by libsys, causing undesired dependency.
Reviewed by: brooks, imp Sponsored by: The FreeBSD Foundation Differential revision: https://reviews.freebsd.org/D43985
show more ...
|
#
8271d9b9 |
| 20-Feb-2024 |
Konstantin Belousov <kib@FreeBSD.org> |
libsys: remove usage of pthread_once and _once_stub
that existed in auxv.c, use simple bool gate instead. This leaves a small window if two threads try to call _elf_aux_info(3) simultaneously. The s
libsys: remove usage of pthread_once and _once_stub
that existed in auxv.c, use simple bool gate instead. This leaves a small window if two threads try to call _elf_aux_info(3) simultaneously. The situation is safe because auxv parsing is really idempotent. The parsed data is the same, and we store atomic types (int/long/ptr) so double-init does not matter.
Reviewed by: brooks, imp Sponsored by: The FreeBSD Foundation Differential revision: https://reviews.freebsd.org/D43985
show more ...
|
#
06cb1c3f |
| 01-Feb-2024 |
Konstantin Belousov <kib@FreeBSD.org> |
libc: add aio_read2() and aio_write2() functions
as wrappers around lio_listio(LIO_READ/WRITE | LIO_FOFFSET, &iocb, 1);
Suggested and reviewed by: jhb Discussed with: asomers Sponsored by: The Free
libc: add aio_read2() and aio_write2() functions
as wrappers around lio_listio(LIO_READ/WRITE | LIO_FOFFSET, &iocb, 1);
Suggested and reviewed by: jhb Discussed with: asomers Sponsored by: The FreeBSD Foundation MFC after: 1 week Differrential revision: https://reviews.freebsd.org/D43448
show more ...
|
#
10f1b536 |
| 17-Nov-2023 |
Brooks Davis <brooks@FreeBSD.org> |
libc: move __getosreldate to libsys
Reviewed by: kib, emaste, imp Pull Request: https://github.com/freebsd/freebsd-src/pull/908
|
#
f70c5a09 |
| 17-Nov-2023 |
Brooks Davis <brooks@FreeBSD.org> |
libc: move getpagesize(s) to libsys
Reviewed by: kib, emaste, imp Pull Request: https://github.com/freebsd/freebsd-src/pull/908
|
#
4c33415e |
| 15-Nov-2023 |
Brooks Davis <brooks@FreeBSD.org> |
libc: elf auxiliary vector handling to libsys
This is part of the interface to the kernel and some syscall wrappers depend on it so move it there.
Reviewed by: kib, emaste, imp Pull Request: https:
libc: elf auxiliary vector handling to libsys
This is part of the interface to the kernel and some syscall wrappers depend on it so move it there.
Reviewed by: kib, emaste, imp Pull Request: https://github.com/freebsd/freebsd-src/pull/908
show more ...
|
#
81245a77 |
| 21-Nov-2023 |
Brooks Davis <brooks@FreeBSD.org> |
libc: compile _once in libsys
auxv support requires _once(), but we don't want the libsys version stomping on the libc version should they diverge in the future. We could rename it entierly, but fo
libc: compile _once in libsys
auxv support requires _once(), but we don't want the libsys version stomping on the libc version should they diverge in the future. We could rename it entierly, but for now just hook it in via Makefile.sys.
Reviewed by: kib, emaste, imp Pull Request: https://github.com/freebsd/freebsd-src/pull/908
show more ...
|
#
cdecda8d |
| 15-Nov-2023 |
Brooks Davis <brooks@FreeBSD.org> |
libc: move rfork_thread(3) to libsys
rfork_thread(3) is assembly that makes syscalls directly and uses cerror so it belongs in libsys.
Reviewed by: kib, emaste, imp Pull Request: https://github.com
libc: move rfork_thread(3) to libsys
rfork_thread(3) is assembly that makes syscalls directly and uses cerror so it belongs in libsys.
Reviewed by: kib, emaste, imp Pull Request: https://github.com/freebsd/freebsd-src/pull/908
show more ...
|
#
29d079c9 |
| 16-Jan-2024 |
Brooks Davis <brooks@FreeBSD.org> |
libsys: move __libsys_interposer consumers
These system call wrappers call interposed system calls in fairly trivial ways. Move them over to libsys so all __libsys_interposer consumers end up in li
libsys: move __libsys_interposer consumers
These system call wrappers call interposed system calls in fairly trivial ways. Move them over to libsys so all __libsys_interposer consumers end up in libsys.
Also move recvmmsg and sendmmsg as they are documented with recv and send.
Reviewed by: kib, emaste, imp Pull Request: https://github.com/freebsd/freebsd-src/pull/908
show more ...
|
#
228d8c9e |
| 16-Jan-2024 |
Brooks Davis <brooks@FreeBSD.org> |
libc: split libc and syscall interposing (2/2)
Move the __libc_interposing implementation to libc/gen so it doesn't end up in libsys.
Reviewed by: kib, emaste, imp Pull Request: https://github.com/
libc: split libc and syscall interposing (2/2)
Move the __libc_interposing implementation to libc/gen so it doesn't end up in libsys.
Reviewed by: kib, emaste, imp Pull Request: https://github.com/freebsd/freebsd-src/pull/908
show more ...
|
#
c3207e2d |
| 27-Nov-2023 |
Brooks Davis <brooks@FreeBSD.org> |
memfd_create: move implementation to libc/gen
Due to memfd_create(3)'s construction of a path to pass to shm_open2(2), it has a much larger than typical dependency footprint for a system call wrappe
memfd_create: move implementation to libc/gen
Due to memfd_create(3)'s construction of a path to pass to shm_open2(2), it has a much larger than typical dependency footprint for a system call wrapper (the list currently includes calloc, memset, sprintf, and strlen). As such, split it off into its own file under libc/gen to lighten libc/sys's dependency list.
Reviewed by: kevans, imp, emaste Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D42709
show more ...
|
#
dc36d6f9 |
| 23-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
lib: Remove ancient SCCS tags.
Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl s
lib: Remove ancient SCCS tags.
Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script.
Sponsored by: Netflix
show more ...
|
Revision tags: release/14.0.0 |
|
#
ca57a343 |
| 20-Oct-2023 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
libc: More missing MLINKS.
Differential Revision: https://reviews.freebsd.org/D42292
|
#
9b5d724c |
| 24-Aug-2023 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
libc: Add timespec_getres(3) as per C23.
This also adds support for TIME_MONOTONIC to timespec_get(3).
Reviewed by: allanjude Differential Revision: https://reviews.freebsd.org/D41524
|
#
d0b2dbfa |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
Revision tags: release/13.2.0 |
|
#
54579376 |
| 01-Apr-2023 |
Konstantin Belousov <kib@FreeBSD.org> |
Change kqueue1() to be compatible with NetBSD
by making it accept some open(2) flags. More precisely, only O_CLOEXEC is supported, the flag is translated into the KQUEUE_CLOEXEC flag for kqueuex(2)
Change kqueue1() to be compatible with NetBSD
by making it accept some open(2) flags. More precisely, only O_CLOEXEC is supported, the flag is translated into the KQUEUE_CLOEXEC flag for kqueuex(2), and O_NONBLOCK is silently ignored.
Reported and tested by: vishwin Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D39377
show more ...
|
#
a9a38dea |
| 07-Mar-2023 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
libc: Remove prototype and documentation for tzsetwall().
PR: 269445 Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D38481
|
#
394cf671 |
| 11-Jan-2023 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
tzcode: Move configuration into separate header.
MFC after: 1 week Sponsored by: Klara, Inc.
|
Revision tags: release/12.4.0 |
|
#
05c9a015 |
| 25-Aug-2022 |
Aymeric Wibo <obiwac@gmail.com> |
libc: Add strverscmp(3) and versionsort(3)
Add a strverscmp(3) function to libc, a GNU extension I implemented by reading its glibc manual page. It orders strings following a much more natural order
libc: Add strverscmp(3) and versionsort(3)
Add a strverscmp(3) function to libc, a GNU extension I implemented by reading its glibc manual page. It orders strings following a much more natural ordering (e.g. "ent1 < ent2 < ent10" as opposed to "ent1 < ent10 < ent2" with strcmp(3)'s lexicographic ordering).
Also add versionsort(3) for use as scandir(3)'s compar argument.
Update manual page for scandir(3) and add one for strverscmp(3).
Reviewed by: pstef, gbe, kib MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D35807
show more ...
|
#
a294e679 |
| 23-Aug-2022 |
Konstantin Belousov <kib@FreeBSD.org> |
Document scandirat(3)
Reviewed by: emaste, gbe (man pages), imp, kevans, markj, Aymeric Wibo <obiwac@gmail.com> Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://
Document scandirat(3)
Reviewed by: emaste, gbe (man pages), imp, kevans, markj, Aymeric Wibo <obiwac@gmail.com> Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D36301
show more ...
|