#
6183a165 |
| 26-Oct-2022 |
riastradh <riastradh@NetBSD.org> |
sys: Put externs for time_adjtime and time_adjusted in .h files.
time_adjtime: sys/timex.h (defined in ntp code) time_adjusted: sys/timevar.h (defined in non-ntp code)
(Not really sure this is a va
sys: Put externs for time_adjtime and time_adjusted in .h files.
time_adjtime: sys/timex.h (defined in ntp code) time_adjusted: sys/timevar.h (defined in non-ntp code)
(Not really sure this is a valuable distinction to maintain; there's non-ntp code that uses time_adjtime too.)
show more ...
|
#
3c85740e |
| 20-Sep-2021 |
thorpej <thorpej@NetBSD.org> |
Add timerfd system calls to COMPAT_NETBSD32.
|
#
d50c96bb |
| 07-Sep-2021 |
riastradh <riastradh@NetBSD.org> |
sys/compat: Memset zero before copyout.
Just in case of uninitialized padding which would lead to kernel stack disclosure. If the compiler can prove the memset redundant then it can optimize it awa
sys/compat: Memset zero before copyout.
Just in case of uninitialized padding which would lead to kernel stack disclosure. If the compiler can prove the memset redundant then it can optimize it away; otherwise better safe than sorry.
show more ...
|
#
7008b4e1 |
| 18-Feb-2021 |
simonb <simonb@NetBSD.org> |
In the compat setitimer(2) calls, don't validate which timer is being used since dosetitimer() does this anyway. The compat functions hadn't been updated since ITIMER_MONOTONIC was introduced, so th
In the compat setitimer(2) calls, don't validate which timer is being used since dosetitimer() does this anyway. The compat functions hadn't been updated since ITIMER_MONOTONIC was introduced, so they reported that that ITIMER_MONOTONIC timer was invalid.
show more ...
|
#
4e7ce818 |
| 19-Jan-2021 |
simonb <simonb@NetBSD.org> |
KNF consistency: No parentheses are needed around the return value.
|
#
55f508ad |
| 05-Oct-2019 |
kamil <kamil@NetBSD.org> |
Validate input before converting timeval::tv_usec in compat/netbsd32
|
#
b5584f52 |
| 26-Sep-2019 |
christos <christos@NetBSD.org> |
make the ?: expression types match
|
#
cc17ee2e |
| 27-Jan-2019 |
pgoyette <pgoyette@NetBSD.org> |
Merge the [pgoyette-compat] branch
|
#
4384a546 |
| 30-Oct-2018 |
riastradh <riastradh@NetBSD.org> |
Paranoia: zero COMPAT_30 ntptimeval and 32-bit ntptimeval too.
These structs don't have padding but safer to keep the code structured the same way between the various ntp_gettimes in case anyone mak
Paranoia: zero COMPAT_30 ntptimeval and 32-bit ntptimeval too.
These structs don't have padding but safer to keep the code structured the same way between the various ntp_gettimes in case anyone makes more copypasta of it for future updates.
show more ...
|
#
d8997602 |
| 26-Feb-2017 |
njoly <njoly@NetBSD.org> |
Apply fix from natuve clock_nanosleep(2) to not copyout remaining time struct if TIMER_ABSTIME flag is set.
|
#
17153a9c |
| 23-Sep-2016 |
skrll <skrll@NetBSD.org> |
Trailing whitespace
|
#
db6f0528 |
| 23-Sep-2016 |
skrll <skrll@NetBSD.org> |
Add netbsd32_clock_getcpuclockid2 and netbsd32_wait6 functions
|
#
1033e56e |
| 31-Oct-2015 |
njoly <njoly@NetBSD.org> |
Adjust compat netbsd32 clock_nanosleep(2) to match recent native changes that return error number.
|
#
d9994ea3 |
| 22-Jul-2015 |
maxv <maxv@NetBSD.org> |
Set 'error' properly.
|
#
e11403d4 |
| 17-Jul-2015 |
skrll <skrll@NetBSD.org> |
Unwrap lines.
|
#
23f7aac3 |
| 12-Jul-2015 |
martin <martin@NetBSD.org> |
Use the right type in sizeof() for copyin() in adjtime
|
#
8441f888 |
| 02-Oct-2012 |
christos <christos@NetBSD.org> |
kernel portion of clock_nanosleep()
|
#
4f2ea8f3 |
| 08-Apr-2010 |
njoly <njoly@NetBSD.org> |
Add a new clock_gettime1() function that holds most of the clock_gettime syscall code (except for the copyout). Adjust all corresponding syscalls to make use of it.
|
#
0876f873 |
| 03-Apr-2010 |
njoly <njoly@NetBSD.org> |
Move most clock_getres syscall code, except for coypout call, to a new clock_getres1() function which can be used by emulations. Adjust all clock_getres syscalls to now make of use it.
|
#
6d63d669 |
| 29-Mar-2010 |
njoly <njoly@NetBSD.org> |
Convert linux/linux32/netbsd32 clock_settime syscalls, to use the common clock_settime1() function.
|
#
0f523557 |
| 29-Mar-2010 |
njoly <njoly@NetBSD.org> |
Make compat netbsd32 clock_getres copyout the netbsd32 timespec structure, not the native one.
|
#
885ee1b2 |
| 28-Mar-2010 |
njoly <njoly@NetBSD.org> |
Cleanup compat netbsd32 nanosleep syscalls to use the common nanosleep1() call instead of their own stuff.
|
#
6d029d54 |
| 26-Feb-2009 |
christos <christos@NetBSD.org> |
fix kernel build with no options NTP
|
#
461a86f9 |
| 11-Jan-2009 |
christos <christos@NetBSD.org> |
merge christos-time_t
|
#
aa389c69 |
| 15-Jul-2008 |
christos <christos@NetBSD.org> |
Use more timespecs internally. From Alexander Shishkin and me. Welcome to 4.99.70, 30 more to go for 100.
|