freebsd-skq/sys/fs
kib 42da5a6952 Hide the boottime and bootimebin globals, provide the getboottime(9)
and getboottimebin(9) KPI. Change consumers of boottime to use the
KPI.  The variables were renamed to avoid shadowing issues with local
variables of the same name.

Issue is that boottime* should be adjusted from tc_windup(), which
requires them to be members of the timehands structure.  As a
preparation, this commit only introduces the interface.

Some uses of boottime were found doubtful, e.g. NLM uses boottime to
identify the system boot instance.  Arguably the identity should not
change on the leap second adjustment, but the commit is about the
timekeeping code and the consumers were kept bug-to-bug compatible.

Tested by:	pho (as part of the bigger patch)
Reviewed by:	jhb (same)
Discussed with:	bde
Sponsored by:	The FreeBSD Foundation
MFC after:	1 month
X-Differential revision:	https://reviews.freebsd.org/D7302
2016-07-27 11:08:59 +00:00
..
autofs Silence down the "insmntque() failed" autofs error; it happens 2016-05-17 12:04:39 +00:00
cd9660 Remove drop/reacquire of Giant around geom calls for cd9660 and udf. 2016-05-22 18:16:25 +00:00
cuse Handle IOC_VOID special case of passing an integer IOCTL argument through CUSE. 2016-07-06 22:21:22 +00:00
deadfs Style changes for deadfs: 2014-10-15 13:22:33 +00:00
devfs Hide the boottime and bootimebin globals, provide the getboottime(9) 2016-07-27 11:08:59 +00:00
ext2fs Fix a style bug. 2016-06-08 02:39:10 +00:00
fdescfs Hide the boottime and bootimebin globals, provide the getboottime(9) 2016-07-27 11:08:59 +00:00
fifofs Rewrite sigdeferstop(9) and sigallowstop(9) into more flexible 2016-06-26 20:07:24 +00:00
fuse If a local (AF_LOCAL, AF_UNIX) socket creation (bind) is attempted 2016-05-18 22:23:20 +00:00
msdosfs Same as for UFS, remove drop/reacquire of Giant, and use si_mountpt as 2016-05-21 11:40:41 +00:00
nandfs sys: Make use of our rounddown() macro when sys/param.h is available. 2016-04-30 14:41:18 +00:00
nfs Hide the boottime and bootimebin globals, provide the getboottime(9) 2016-07-27 11:08:59 +00:00
nfsclient Clean other flags in ncl_inactive, only. Add comment explaining why other 2016-06-26 14:18:28 +00:00
nfsserver nfsd: Fix use-after-free in NFS4 lock test service 2016-05-12 05:03:12 +00:00
nullfs sys/fs: spelling fixes in comments. 2016-04-29 20:51:24 +00:00
procfs Hide the boottime and bootimebin globals, provide the getboottime(9) 2016-07-27 11:08:59 +00:00
pseudofs Do not perform unneccessary shared recursion on the allproc_lock in 2016-03-11 11:51:38 +00:00
smbfs sys/fs: spelling fixes in comments. 2016-04-29 20:51:24 +00:00
tmpfs sys/fs: spelling fixes in comments. 2016-04-29 20:51:24 +00:00
udf Remove drop/reacquire of Giant around geom calls for cd9660 and udf. 2016-05-22 18:16:25 +00:00
unionfs Cleanup unnecessary semicolons from the kernel. 2016-04-10 23:07:00 +00:00