HomeFreeBSD

libsys: fix sleep(3)/usleep(3) cancel behavior

Description

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

Details

Provenance
kibAuthored on Feb 23 2024, 2:53 PM
Reviewer
brooks
Differential Revision
D44042: libsys: fix sleep(3)/usleep(3) cancel behavior
Parents
rGbaa7d0741b9a: libsys: link symbolic
Branches
Unknown
Tags
Unknown