OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_12pre1-4-g264ac76

Gerrit Code Review
Thu, 28 May 2015 08:49:45 -0400

The following commit has been merged in the openafs-stable-1_6_x branch:
commit 264ac76af4e82b0a1e1b27f3f4482100fb1bde20
Author: Benjamin Kaduk <>
Date:   Wed Apr 22 13:43:43 2015 -0400

    kauth: fix clock skew detection
    Commit 5b3c1042969daec38ccb260e61d665eda0c713ea changed/removed some
    uses of abs() on unsigned time values. While the previous use of abs()
    was indeed incorrect, the result wasn't necessarily much better, even
    though it built with recent compilers, since it only checked for skew
    in one direction.
    Define and use a  macro to correctly evaluate the conditionals in 64-bit
    precision, avoiding C's integer promotion rules which prefer unsigned types
    (Date) to signed types of the same width (time_t on 32-bit systems).
    Reviewed-by: Stephan Wiesand <>
    Tested-by: BuildBot <>
    Reviewed-by: Jeffrey Altman <>
    (cherry picked from commit 810f0ccd0354dac30af024ca7b5acf3ebabf5f4b)
    Change-Id: I29337e1ecd410fcf7733408287930c50c055ff90
    Tested-by: BuildBot <>
    Reviewed-by: Daria Brashear <>
    Reviewed-by: Benjamin Kaduk <>
    Reviewed-by: Stephan Wiesand <>

 src/kauth/kaprocs.c        |    4 ++--
 src/kauth/kauth_internal.h |   26 ++++++++++++++++++++++++++
 src/kauth/krb_udp.c        |    2 +-
 3 files changed, 29 insertions(+), 3 deletions(-)

OpenAFS Master Repository