Print this page
smatch clean rtld

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sgs/rtld/common/audit.c
          +++ new/usr/src/cmd/sgs/rtld/common/audit.c
↓ open down ↓ 711 lines elided ↑ open up ↑
 712  712                  Lm_list         *alml = LIST(almp);
 713  713  
 714  714                  if (alp->al_objclose == NULL)
 715  715                          continue;
 716  716                  if ((acp = _audit_client(AUDINFO(lmp), almp)) == NULL)
 717  717                          continue;
 718  718  
 719  719                  DBG_CALL(Dbg_audit_objclose(lml, alp->al_libname, NAME(lmp)));
 720  720  
 721  721                  leave(alml, thr_flg_reenter);
 722      -                (*alp->al_objclose)(&(acp->ac_cookie));
      722 +                (void) (*alp->al_objclose)(&(acp->ac_cookie));
 723  723                  (void) enter(thr_flg_reenter);
 724  724          }
 725  725  }
 726  726  
 727  727  /*
 728  728   * Determine any la_objclose() requirements.  An object that is about to be
 729  729   * deleted needs to trigger an la_objclose() event to any associated auditors.
 730  730   * In the case of local auditing, a deleted object may have a number of callers,
 731  731   * and each of these callers may have their own auditing requirements.  To
 732  732   * ensure only one la_objclose() event is sent to each auditor, collect the
↓ open down ↓ 849 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX