glibc/nscd
Adhemerval Zanella f9a7554009 Change most internal uses of time to __clock_gettime.
As for gettimeofday, time will be implemented based on clock_gettime
on all platforms and internal code should use clock_gettime
directly.  In addition to removing a layer of indirection, this will
allow us to remove the PLT-bypass gunk for gettimeofday.

The changed code always assumes __clock_gettime (CLOCK_REALTIME)
or __clock_gettime (CLOCK_REALTIME_COARSE) (for Linux case) cannot
fail, using the same rationale for gettimeofday change.  And internal
helper was added (time_now).

Checked on x86_64-linux-gnu, i686-linux-gnu, powerpc64le-linux-gnu,
powerpc64-linux-gnu, and powerpc-linux-gnu.

Reviewed-by: Lukasz Majewski <lukma@denx.de>
2019-10-30 17:11:10 -03:00
..
aicache.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
cache.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
connections.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
dbg_log.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
dbg_log.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
Depend hurd: Add hurd thread library 2018-04-02 01:44:14 +02:00
gai.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
getgrgid_r.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
getgrnam_r.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
gethstbyad_r.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
gethstbynm3_r.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
getpwnam_r.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
getpwuid_r.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
getsrvbynm_r.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
getsrvbypt_r.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
grpcache.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
hstcache.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
initgrcache.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
mem.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
netgroupcache.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
nscd_conf.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
nscd_getai.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
nscd_getgr_r.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
nscd_gethst_r.c Change most internal uses of time to __clock_gettime. 2019-10-30 17:11:10 -03:00
nscd_getpw_r.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
nscd_getserv_r.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
nscd_helper.c Change most internal uses of time to __clock_gettime. 2019-10-30 17:11:10 -03:00
nscd_initgroups.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
nscd_netgroup.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
nscd_proto.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
nscd_setup_thread.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
nscd_stat.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
nscd-client.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
nscd.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
nscd.conf nscd: Improve nscd.conf comments. 2019-08-19 09:57:58 -04:00
nscd.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
nscd.init . 2007-07-31 13:33:18 +00:00
nscd.service nscd: also invalidate netgroup cache on reload 2014-03-19 14:45:10 +01:00
nscd.tmpfiles Add systemd unit file for nscd 2013-12-16 11:22:01 +10:00
pwdcache.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
res_hconf.c [BZ #4814] 2007-08-22 03:14:29 +00:00
selinux.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
selinux.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
servicescache.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00