Dmitry Chagin
d8e53d94fa
linux(4): Cleanup includes under compat/linux
...
Cleanup unneeded includes, sort the rest according to style(9).
No functional changes.
MFC after: 2 weeks
2023-02-14 17:46:32 +03:00
Dmitry Chagin
10d16789a3
linux(4): Get rid of the opt_compat.h include.
...
Since e013e369 COMPAT_LINUX, COMPAT_LINUX32 build options are removed,
so include of opt_compat.h is no more needed.
MFC after: 2 weeks
2023-02-12 20:24:32 +03:00
Dmitry Chagin
a1fd2911dd
linux(4): Implement timer_settime64 syscall.
...
MFC after: 2 weeks
2022-05-04 13:06:49 +03:00
Dmitry Chagin
783c1bd8cb
linux(4): Implement timer_gettime64 syscall.
...
MFC after: 2 weeks
2022-05-04 13:06:48 +03:00
Mateusz Guzik
1a18003240
compat: clean up empty lines in .c and .h files
2020-09-01 21:24:33 +00:00
Dmitry Chagin
bfb5568a3c
Return EINVAL in case of incorrect sigev_signo value specified instead of panicing.
2015-12-26 09:09:49 +00:00
Dmitry Chagin
5885e5ab29
Convert Linux signal number to the FreeBSD.
2015-05-24 17:49:09 +00:00
Dmitry Chagin
16ac71bc4f
Delete the duplicate of linux_to_native_clockid() function.
...
Differential Revision: https://reviews.freebsd.org/D1521
Reviewed by: trasz
2015-05-24 17:30:31 +00:00
Bjoern A. Zeeb
0a041f3b47
Implement most of timer_{create,settime,gettime,getoverrun,delete}
...
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
2014-09-18 08:36:45 +00:00