PERFORCE change 90105 for review
Robert Watson
rwatson at FreeBSD.org
Sat Jan 21 16:28:02 GMT 2006
http://perforce.freebsd.org/chv.cgi?CH=90105
Change 90105 by rwatson at rwatson_sesame on 2006/01/21 16:27:16
When load_event_table() fails, cause the entire lookup to fail
up front.
Affected files ...
.. //depot/projects/trustedbsd/openbsm/libbsm/bsm_mask.c#9 edit
Differences ...
==== //depot/projects/trustedbsd/openbsm/libbsm/bsm_mask.c#9 (text+ko) ====
@@ -165,7 +165,10 @@
switch (flag) {
case AU_PRS_REREAD:
flush_cache();
- load_event_table();
+ if (load_event_table() == -1) {
+ pthread_mutex_unlock(&mutex);
+ return (-1);
+ }
ev = read_from_cache(event);
break;
case AU_PRS_USECACHE:
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list