paulfloyd / freebsd_valgrind

Git repo used to Upstream the FreeBSD Port of Valgrind
GNU General Public License v2.0
15 stars 4 forks source link

New FreeBSD 15 syscalls timerfd_create timerfd_gettime timerfd_settime #202

Closed paulfloyd closed 10 months ago

paulfloyd commented 10 months ago
585 AUE_TIMERFD STD|CAPENABLED {
        int timerfd_create(
            int clockid,
            int flags
        );
    }
586 AUE_TIMERFD STD|CAPENABLED {
        int timerfd_gettime(
            int fd,
            _Out_ _Contains_long_timet_ struct itimerspec *curr_value
        );
    }
587 AUE_TIMERFD STD|CAPENABLED {
        int timerfd_settime(
            int fd,
            int flags,
            _In_ _Contains_long_timet_ const struct itimerspec *new_value,
            _Out_opt_ _Contains_long_timet_ struct itimerspec *old_value
        );
    }
paulfloyd commented 10 months ago

commit adf7cb52eec50749184f95389901e9090befa031 Author: Paul Floyd pjfloyd@wanadoo.fr Date: Sat Sep 16 16:06:12 2023 +0200

FreeBSD: add wrapperd for timerfd_create timerfd_gettime and timerfd_settime for FreeBSD 15

Mostly copied from the Linux implementation.
Add a testcase and a scalar for FreeBSD 15