Date: Thu, 19 Aug 2010 15:50:04 GMT From: Janne Snabb <snabb@epipe.com> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/149806: [patch] OpenBSM auditd(8) fails to expire trails if host defined Message-ID: <201008191550.o7JFo4YO090014@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/149806; it has been noted by GNATS. From: Janne Snabb <snabb@epipe.com> To: FreeBSD-gnats-submit@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@epipe.com - http://epipe.com/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008191550.o7JFo4YO090014>