View | Details | Raw Unified | Return to bug 149806
Collapse All | Expand All

(-)contrib/openbsm/libauditd/auditd_lib.c (-1 / +2 lines)
Lines 427-437 Link Here
427
			struct audit_trail *new;
427
			struct audit_trail *new;
428
428
429
			/*
429
			/*
430
			 * Quickly filter non-trail files.
430
			 * Quickly filter non-trail files.
431
			 */
431
			 */
432
			if (dp->d_namlen != (FILENAME_LEN - 1) ||
432
			if (dp->d_namlen != (FILENAME_LEN - 1 +
433
			    (auditd_hostlen == -1 ? 0 : auditd_hostlen + 1)) ||
433
#ifdef DT_REG
434
#ifdef DT_REG
434
			    dp->d_type != DT_REG || 
435
			    dp->d_type != DT_REG || 
435
#endif
436
#endif
436
			    dp->d_name[POSTFIX_LEN] != '.')
437
			    dp->d_name[POSTFIX_LEN] != '.')
437
				continue;
438
				continue;

Return to bug 149806