PERFORCE change 85611 for review
Robert Watson
rwatson at FreeBSD.org
Thu Oct 20 18:59:56 GMT 2005
http://perforce.freebsd.org/chv.cgi?CH=85611
Change 85611 by rwatson at rwatson_zoo on 2005/10/20 18:59:28
#if 0 conversion of AUE_various to AUE_OPEN in the event ENOENT is
returned. Comment on why.
Affected files ...
.. //depot/projects/trustedbsd/audit3/sys/security/audit/kern_bsm_klib.c#17 edit
Differences ...
==== //depot/projects/trustedbsd/audit3/sys/security/audit/kern_bsm_klib.c#17 (text+ko) ====
@@ -301,10 +301,16 @@
break;
}
+#if 0
/*
* Convert chatty errors to better matching events.
* Failures to find a file are really just attribute
* events - so recast them as such.
+ *
+ * XXXAUDIT: Solaris defines that AUE_OPEN will never be returned, it
+ * is just a placeholder. However, in Darwin we return that in
+ * preference to other events. For now, comment this out as we don't
+ * have a BSM conversion routine for AUE_OPEN.
*/
switch (aevent) {
case AUE_OPEN_R:
@@ -316,6 +322,7 @@
if (error == ENOENT)
aevent = AUE_OPEN;
}
+#endif
return (aevent);
}
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