Date: Thu, 9 Sep 2010 03:52:09 GMT From: Stacey Son <sson@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 183538 for review Message-ID: <201009090352.o893q9bo038742@skunkworks.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@183538?ac=10 Change 183538 by sson@sson_amd64 on 2010/09/09 03:52:08 If the "host" parameter is included in the audit_control file then trails don't get expired. This is because the non-trail files are not properly filtered. PR: 149806 Obtained from: Janne Snabb <snabb@epipe.com> Affected files ... .. //depot/projects/trustedbsd/openbsm/libauditd/auditd_lib.c#13 edit Differences ... ==== //depot/projects/trustedbsd/openbsm/libauditd/auditd_lib.c#13 (text+ko) ==== @@ -26,7 +26,7 @@ * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - * $P4: //depot/projects/trustedbsd/openbsm/libauditd/auditd_lib.c#12 $ + * $P4: //depot/projects/trustedbsd/openbsm/libauditd/auditd_lib.c#13 $ */ #include <sys/param.h> @@ -429,7 +429,7 @@ /* * Quickly filter non-trail files. */ - if (dp->d_namlen != (FILENAME_LEN - 1) || + if (dp->d_namlen < (FILENAME_LEN - 1) || #ifdef DT_REG dp->d_type != DT_REG || #endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009090352.o893q9bo038742>