Date: Thu, 20 Oct 2005 18:59:56 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 85611 for review Message-ID: <200510201859.j9KIxuZt020296@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=85611 Change 85611 by rwatson@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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510201859.j9KIxuZt020296>