summaryrefslogtreecommitdiff
path: root/sys/compat/linux/linux_timer.c
AgeCommit message (Collapse)Author
2025-12-28compat: linux: use appropriate variables for copying out old timersKyle Evans
We copyout &l_oval but do the conversions into &l_val, leaving us with stack garbage. A build with an LLVM21 cross-toolchain seems to catch this. Reported by: Florian Limberger <flo purplekraken com> Reviewed by: markj Fixes: a1fd2911ddb06 ("linux(4): Implement timer_settime64 syscall.") MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D52985
2024-05-23linux: Export linux_convert_l_sigeventRicardo Branco
Reviewed by: imp, kib Pull Request: https://github.com/freebsd/freebsd-src/pull/1248
2023-08-18linux(4): Remove sys/cdefs.h inclusion where it's not needed due to 685dc743Dmitry Chagin
2023-08-17linux(4): Fix leftovers after 2ff63af9Dmitry Chagin
2023-08-16sys: Remove $FreeBSD$: one-line .c patternWarner Losh
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
2023-02-14linux(4): Rename linux_timer.h to linux_time.hDmitry Chagin
To avoid confusing people, rename linux_timer.h to linux_time.h, as linux_timer.c is the implementation of timer syscalls only, while linux_time.c contains implementation of all stuff declared in linux_time.h. MFC after: 2 weeks
2023-02-14linux(4): Cleanup includes under compat/linuxDmitry Chagin
Cleanup unneeded includes, sort the rest according to style(9). No functional changes. MFC after: 2 weeks
2023-02-12linux(4): Get rid of the opt_compat.h include.Dmitry Chagin
Since e013e369 COMPAT_LINUX, COMPAT_LINUX32 build options are removed, so include of opt_compat.h is no more needed. MFC after: 2 weeks
2022-05-04linux(4): Implement timer_settime64 syscall.Dmitry Chagin
MFC after: 2 weeks
2022-05-04linux(4): Implement timer_gettime64 syscall.Dmitry Chagin
MFC after: 2 weeks
2020-09-01compat: clean up empty lines in .c and .h filesMateusz Guzik
Notes: svn path=/head/; revision=365080
2015-12-26Return EINVAL in case of incorrect sigev_signo value specified instead of ↵Dmitry Chagin
panicing. Notes: svn path=/head/; revision=292744
2015-05-24Convert Linux signal number to the FreeBSD.Dmitry Chagin
Notes: svn path=/head/; revision=283476
2015-05-24Delete the duplicate of linux_to_native_clockid() function.Dmitry Chagin
Differential Revision: https://reviews.freebsd.org/D1521 Reviewed by: trasz Notes: svn path=/head/; revision=283464
2014-09-18Implement most of timer_{create,settime,gettime,getoverrun,delete}Bjoern A. Zeeb
for amd64/linux32. Fix the entirely bogus (untested) version from r161310 for i386/linux using the same shared code in compat/linux. It is unclear to me if we could support more clock mappings but the current set allows me to successfully run commercial 32bit linux software under linuxolator on amd64. Reviewed by: jhb Differential Revision: D784 MFC after: 3 days Sponsored by: DARPA, AFRL Notes: svn path=/head/; revision=271743