OpenAFS Master Repository branch, openafs-stable-1_4_x, updated. openafs-stable-1_4_12-116-ga06cc22

Gerrit Code Review
Sun, 22 May 2011 07:02:08 -0700 (PDT)

The following commit has been merged in the openafs-stable-1_4_x branch:
commit a06cc2245d23f69f4d8f754aa172fc8d310a522b
Author: Andrew Deason <>
Date:   Thu May 19 17:02:35 2011 -0500

    SOLARIS: Reset syscalls on mod_install failure
    If our call to mod_install fails for any reason (for example, if the
    afs entry is missing from /etc/name_to_sysnum), we may still have set
    the sysent structures for setgroups and ioctl to point at libafs code.
    So calls to those syscalls will cause a panic, since the code they
    point to is no longer loaded.
    To avoid this, just reset the sysent entries back to what they were if
    we fail to load, just like we do when unloading the module.
    Reviewed-by: Derrick Brashear <>
    Tested-by: Derrick Brashear <>
    (cherry picked from commit ca425b7d49a2bf4c079aa38c0abf68596eca0b30)
    Change-Id: Iac5a2a4379a386393a42803821b8645764067521
    Tested-by: BuildBot <>
    Reviewed-by: Derrick Brashear <>

 src/afs/SOLARIS/osi_vfsops.c |   27 +++++++++++++++++++--------
 1 files changed, 19 insertions(+), 8 deletions(-)

OpenAFS Master Repository