OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_74_1-39-gd02f9a0

Gerrit Code Review
Tue, 27 Apr 2010 21:43:54 -0700 (PDT)

The following commit has been merged in the master branch:
commit d02f9a0b0b95ac6ada6be0b2b9a1e164f75a425d
Author: Simon Wilkinson <>
Date:   Wed Apr 28 01:13:30 2010 +0100

    Linux: Register number sysctls only when desperate
    The AFS sysctl interface was trying to register numeric system
    calls whenever the kernel would let it. This is anti-social, as
    we've never had sysctl numbers allocated to us. In kernels newer
    than 2.6.24, this misbehaviour is detected and punished. In recent
    kernels, the binary interface has gone away entirely.
    Since 2.6.19, the kernel has supported allocated unnumbered system
    calls. These are only available via /proc/sys (and not the using
    the legacy, binary, API), but they're really the only interface
    available to us.
    Change the sysctl registration code to use unnumbered calls whenever
    they are available. Unnumbered calls aren't available in 2.4.x, so
    completely remove that code there.
    Change-Id: I882117ca2250894f479292026fed84ff0b5e7972
    Reviewed-by: Derrick Brashear <>
    Tested-by: Derrick Brashear <>

 acinclude.m4                 |    1 -
 src/afs/LINUX/osi_sysctl.c   |   30 ++++++++++----------
 src/afs/LINUX24/osi_sysctl.c |   60 ------------------------------------------
 src/cf/linux-test4.m4        |   11 -------
 4 files changed, 15 insertions(+), 87 deletions(-)

OpenAFS Master Repository