bin/149806: [patch] OpenBSM auditd(8) fails to expire trails if
host defined
Janne Snabb
snabb at epipe.com
Thu Aug 19 15:50:05 UTC 2010
The following reply was made to PR bin/149806; it has been noted by GNATS.
From: Janne Snabb <snabb at epipe.com>
To: FreeBSD-gnats-submit at FreeBSD.org
Cc:
Subject: Re: bin/149806: [patch] OpenBSM auditd(8) fails to expire trails if
host defined
Date: Thu, 19 Aug 2010 15:48:29 +0000 (UTC)
An alternative fix would be to change the filename length check to
the following:
if (dp->d_namlen < (FILENAME_LEN - 1) ||
In that case the expiration routine would expire also trails without
"host" part after the "host" parameter has been added to audit_control,
and if the "host" parameter has been changed so that it has a
different length than previously.
Up to the maintainer to decide which matching method is better.
I would probably go with this one instead of my original patch.
--
Janne Snabb / EPIPE Communications
snabb at epipe.com - http://epipe.com/
More information about the freebsd-bugs
mailing list