HomeFreeBSD

timerfd_create: accept CLOCK_UPTIME/CLOCK_BOOTTIME

Description

timerfd_create: accept CLOCK_UPTIME/CLOCK_BOOTTIME

This is a common use case when using timerfd_create to actually use
it with CLOCK_BOOTTIME on linux which is CLOCK_UPTIME for us.

Note that currently on freebsd CLOCK_BOOTTIME is CLOCK_UPTIME, but the
semantic is supposed to be different, this has to be fixed later.

Tested with the fnott notification software

Reviewed by: des, imp
Differential Revision: https://reviews.freebsd.org/D44253

Details

Provenance
baptAuthored on Mar 6 2024, 2:11 PM
Reviewer
des
Differential Revision
D44253: timerfd_create: accept CLOCK_UPTIME/CLOCK_BOOTTIME
Parents
rG32b8aac6f9b7: tarfs: Factor out common test code.
Branches
Unknown
Tags
Unknown