PERFORCE change 183538 for review
Stacey Son
sson at FreeBSD.org
Thu Sep 9 03:52:10 UTC 2010
http://p4web.freebsd.org/@@183538?ac=10
Change 183538 by sson at 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 at 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
More information about the p4-projects
mailing list