OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_2-585-gc6f93cb

Gerrit Code Review gerrit@openafs.org
Fri, 4 Sep 2026 12:26:41 -0400


The following commit has been merged in the master branch:
commit c6f93cbea7ef3c97dc49ca5ecdbddc0b709f1314
Author: Mark Vitale <mvitale@sinenomine.net>
Date:   Thu Apr 27 16:20:07 2023 -0400

    audit: Make audit operations threadsafe
    
    In order to prevent races between audit operations and shutdown, extend
    audit_lock protection to all audit operations.  Move the audit_lock
    protection inside multi_send_msg to make it more consistent with the
    other usage.
    
    In addition, as needed, extend audit_lock protection to various audit
    global variables.
    
    To avoid needing to hold audit_lock while calling
    audit_user_check_global.islocal(), require osi_audit_set_user_check()
    callers to not free the provided values after calling
    osi_audit_set_user_check(). All existing callers just call
    osi_audit_set_user_check() once, early during server startup, so this
    requirement does not affect any existing code.
    
    Finally, consolidate the AFS_AIX32_ENV stanzas in osi_audit_internal.
    
    Change-Id: I4f6756f5d57d92966d8cc9088c0348e0d4bb4b19
    Reviewed-on: https://gerrit.openafs.org/15415
    Reviewed-by: Andrew Deason <adeason@sinenomine.net>
    Tested-by: Andrew Deason <adeason@sinenomine.net>
    Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
    Reviewed-by: Marcio Brito Barbosa <mbarbosa@sinenomine.net>
    Reviewed-by: Gaurav Saxena <gsaxena@sinenomine.net>
    Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>

 src/audit/audit.c | 114 +++++++++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 91 insertions(+), 23 deletions(-)

-- 
OpenAFS Master Repository