OpenGrok
Cross Reference: t_posix_fadvise.c
xref
: /
src
/
tests
/
lib
/
libc
/
sys
/
t_posix_fadvise.c
Home
|
History
|
Annotate
|
Download
|
only in
sys
History log of
/src/tests/lib/libc/sys/t_posix_fadvise.c
Revision
Date
Author
Comments
1.4
06-Apr-2025
riastradh
t_posix_fadvise: Don't check whether errno is preserved.
I can find no guarantee in POSIX about posix_fadvise preserving
errno; until such language is found I'm going to assume there is no
such guarantee.
What is happening is that, sometimes, rump_sys_posix_fadvise waits on
a mutex or condvar, which uses _lwp_park internally, which sometimes
wakes up early with EALREADY because a wakeup was already pending for
the thread by the time it entered _lwp_park. And that EALREADY is
delivered by _lwp_park via errno.
PR kern/53931: posix_fadvise_reg test case fails randomly on real
hardware
1.3
19-Jun-2018
gson
No semicolon after macro do ... while (0) wrapper.
1.2
13-Jan-2017
christos
branches: 1.2.12;
Don't play with "../.." in includes for h_macros.h; deal with it centrally.
Minor fixes.
1.1
15-Oct-2011
jruoho
branches: 1.1.24;
Move the posix_fadvise(2) test to the right place.
1.1.24.1
20-Mar-2017
pgoyette
Sync with HEAD
1.2.12.1
25-Jun-2018
pgoyette
Sync with HEAD
Indexes created Thu Oct 02 10:09:58 GMT 2025