glibc/io
Lukasz Majewski 4812365660 time: Introduce function to check correctness of nanoseconds value
The valid_nanoseconds () static inline function has been introduced to
check if nanoseconds value is in the correct range - greater or equal to
zero and less than 1000000000.

The explicit #include <time.h> has been added to files where it was
missing.

The __syscall_slong_t type for ns has been used to avoid issues on x32.

Tested with:
- scripts/build-many-glibcs.py
- make PARALLELMFLAGS="-j12" && make PARALLELMFLAGS="-j12" xcheck on x86_64
2019-10-27 21:49:25 +01:00
..
bits Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
sys Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
access.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
bug-ftw1.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
bug-ftw2.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
bug-ftw3.c Update. 2002-02-07 17:54:45 +00:00
bug-ftw4.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
bug-ftw5.c [BZ #4076] 2007-02-21 09:36:46 +00:00
chdir.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
chmod.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
chown.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
close.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
copy_file_range.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
creat64.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
creat.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
dup2.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
dup3.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
dup.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
euidaccess.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
faccessat.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
fchdir.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
fchmod.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
fchmodat.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
fchown.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
fchownat.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
fcntl64.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
fcntl.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
fcntl.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
flock.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
fstat64.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
fstat.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
fstatat64.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
fstatat.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
fstatfs64.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
fstatfs.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
fstatvfs64.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
fstatvfs.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
fts64.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
fts.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
fts.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
ftw64.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
ftw.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
ftw.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
ftwtest-sh Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
ftwtest.c Update. 2003-11-07 23:00:00 +00:00
futimens.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
fxstat64.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
fxstat.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
fxstatat64.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
fxstatat.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
getcwd.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
getdirname.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
getwd.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
isatty.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
lchmod.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
lchown.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
link.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
linkat.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
lockf64.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
lockf.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
lseek64.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
lseek.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
lstat64.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
lstat.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
lxstat64.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
lxstat.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
Makefile Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
mkdir.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
mkdirat.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
mkfifo.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
mkfifoat.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
mknod.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
mknodat.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
open64_2.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
open64.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
open_2.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
open.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
openat64_2.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
openat64.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
openat_2.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
openat.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pipe2.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pipe.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
poll.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
poll.h initial import 1995-02-18 01:27:10 +00:00
posix_fadvise64.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
posix_fadvise.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
posix_fallocate64.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
posix_fallocate.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
ppoll.c time: Introduce function to check correctness of nanoseconds value 2019-10-27 21:49:25 +01:00
pwd.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
read.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
readlink.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
readlinkat.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
rmdir.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
sendfile64.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
sendfile.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
stat64.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
stat.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
statfs64.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
statfs.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
statvfs64.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
statvfs.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
statx_generic.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
statx.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
symlink.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
symlinkat.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-lfs.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-stat2.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-stat.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-utime.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-copy_file_range.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-faccessat.c Add missing header files throughout the testsuite. 2017-02-16 17:33:18 -05:00
tst-fchmodat.c Add missing header files throughout the testsuite. 2017-02-16 17:33:18 -05:00
tst-fchownat.c Revert "hurd: Fix building io/tst-fchownat.c" 2018-01-28 19:13:20 +01:00
tst-fcntl.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-fstatat.c Add missing header files throughout the testsuite. 2017-02-16 17:33:18 -05:00
tst-fts-lfs.c Add LFS support for fts functions (bug 11460) 2015-11-06 11:24:16 +01:00
tst-fts.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-ftw-lnk.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-futimesat.c Add missing header files throughout the testsuite. 2017-02-16 17:33:18 -05:00
tst-getcwd-abspath.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-getcwd.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-linkat.c Add missing header files throughout the testsuite. 2017-02-16 17:33:18 -05:00
tst-lockf.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-mkdirat.c Assume that _DIRENT_HAVE_D_TYPE is always defined. 2017-10-30 15:48:33 +01:00
tst-mkfifoat.c Assume that _DIRENT_HAVE_D_TYPE is always defined. 2017-10-30 15:48:33 +01:00
tst-mknodat.c Assume that _DIRENT_HAVE_D_TYPE is always defined. 2017-10-30 15:48:33 +01:00
tst-open-tmpfile.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-openat.c Add missing header files throughout the testsuite. 2017-02-16 17:33:18 -05:00
tst-posix_fallocate64.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-posix_fallocate-common.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-posix_fallocate.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-readlinkat.c Add missing header files throughout the testsuite. 2017-02-16 17:33:18 -05:00
tst-renameat.c Add missing header files throughout the testsuite. 2017-02-16 17:33:18 -05:00
tst-statvfs.c Update. 2003-10-27 04:05:04 +00:00
tst-statx.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-symlinkat.c Add missing header files throughout the testsuite. 2017-02-16 17:33:18 -05:00
tst-ttyname_r.c * nis/nis_subr.c (nis_getnames): Revert last change. 2006-12-05 21:28:15 +00:00
tst-unlinkat.c Add missing header files throughout the testsuite. 2017-02-16 17:33:18 -05:00
ttyname_r.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
ttyname.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
umask.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
unlink.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
unlinkat.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
utime.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
utime.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
utimensat.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
Versions Add the statx function 2018-07-10 16:14:45 +02:00
write.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xmknod.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xmknodat.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xstat64.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xstat.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00