commit 9a9e26acf742cf49e2a773ffbb3f4f62a334950c Author: Stephan Wiesand Date: Fri Mar 13 18:23:14 2020 +0100 Make OpenAFS 1.8.6pre2 Update version strings for the second 1.8.6 prerelease. Change-Id: Ic5e452a379dac906520040a451f84ca19fd158e1 Reviewed-on: https://gerrit.openafs.org/14097 Tested-by: BuildBot Reviewed-by: Michael Meffie Reviewed-by: Benjamin Kaduk Reviewed-by: Yadavendra Yadav Reviewed-by: Cheyenne Wills Reviewed-by: Stephan Wiesand commit 548b976600e19f3859ac77faa078ccca8abd6c1a Author: Stephan Wiesand Date: Fri Mar 13 18:19:45 2020 +0100 Update NEWS for OpenAFS 1.8.6pre2 Release notes for the second 1.8.6 prerelease Change-Id: I3abfbfacb68a134afafa73a9ac292f9ee776d9a2 Reviewed-on: https://gerrit.openafs.org/14096 Reviewed-by: Michael Meffie Tested-by: BuildBot Reviewed-by: Stephan Wiesand commit 17d38e31e6f2e237a7fb4dfb46841060296310b6 Author: Cheyenne Wills Date: Tue Mar 3 15:39:49 2020 -0700 LINUX 5.6: define time_t and use timespec/timespec64 The time_t type and the structure timeval were removed for use in kernel space code in Linux commits: 412c53a680a97cb1ae2c0ab60230e193bee86387 y2038: remove unused time32 interfaces c766d1472c70d25ad475cf56042af1652e792b23 y2038: hide timeval/timespec/itimerval/itimerspec types Add an autoconf test for the time_t type. If time_t is missing, define the time_t type when building the kernel module. Change the vattr structure in LINUX/osi_vfs.h to use timespec/timespec64 instead of the timeval structure. Conditionalize the definition of gettimeofday (needed by rand-fortuna.c) in crypto/hcrypto/kernel/config.h. It is unused by the Linux kernel module and the function uses struct timeval that is no longer available. Reviewed-on: https://gerrit.openafs.org/14083 Tested-by: BuildBot Reviewed-by: Andrew Deason Reviewed-by: Cheyenne Wills Reviewed-by: Benjamin Kaduk (cherry picked from commit 78049987aa3e84865e2e7e0f3dd3b54d66258e74) Change-Id: Iff80c161441356d19b5962956dd524792b7bf629 Reviewed-on: https://gerrit.openafs.org/14095 Tested-by: BuildBot Reviewed-by: Andrew Deason Tested-by: Cheyenne Wills Reviewed-by: Stephan Wiesand commit 355ea43f0d1b7feae1b3af58bc33af12838db7c3 Author: Andrew Deason Date: Mon Mar 2 16:17:55 2020 -0600 LINUX: Avoid building rand-fortuna-kernel.o Currently, we build rand-fortuna-kernel.o for libafs on all platforms, even though we only use the fortuna RNG on AIX, DragonFlyBSD, HP-UX, and Irix. Everywhere else, our RAND_bytes() in src/crypto/hcrypto/kernel/rand.c uses osi_readRandom() instead of going through heimdal. Building rand-fortuna.c causes occasional build headaches for the kernel on Linux (see cc7f942, "LINUX: Disable kernel fortuna large frame errors"). The most recent instance of this is that Linux 5.6 removes the definition for struct timeval, which is referenced in rand-fortuna.c. The Linux kernel is constantly changing, and so trying to keep rand-fortuna.c building on Linux seems like a waste of ongoing effort. So, just stop building rand-fortuna-kernel.o on Linux. The original intent of building this file on all platforms was to avoid bitrot, so still keep building rand-fortuna-kernel.o on all other platforms even when it's not used; just avoid it on Linux specifically, the platform that requires the most effort. To accomplish this, move rand-fortuna-kernel.o from AFSAOBJS to AFS_OS_OBJS, and remove it from the Linux-only AFSPAGOBJS. [1.8.x: The 1.8 branch does not contain the commits that introduced -Wno-error=frame-larger-than= (cc7f942a and 54150f38), so we can skip removing the references to -Wno-error=frame-larger-than=.] Reviewed-on: https://gerrit.openafs.org/14084 Reviewed-by: Cheyenne Wills Tested-by: BuildBot Reviewed-by: Benjamin Kaduk (cherry picked from commit b8088b49dec23da19406fcb014e7100695dc8322) Change-Id: Iad0d1af5ffd79c576ddbc253b0037b9772187350 Reviewed-on: https://gerrit.openafs.org/14094 Reviewed-by: Andrew Deason Tested-by: BuildBot Tested-by: Cheyenne Wills Reviewed-by: Stephan Wiesand