Date: Mon, 9 Aug 2010 17:24:20 +0000 (UTC) From: Janne Snabb <snabb@epipe.com> To: Sergio Ligregni <ligregni@unixmexico.org> Cc: freebsd-hackers@freebsd.org Subject: Re: Improvement for Distributed Audit Project Message-ID: <alpine.BSF.2.00.1008091719150.96753@tiktik.epipe.com> In-Reply-To: <AANLkTi=ntPn67hcR8Sa9bT2cu64u-Gr5LMZMbKjy9EFH@mail.gmail.com> References: <AANLkTi=ntPn67hcR8Sa9bT2cu64u-Gr5LMZMbKjy9EFH@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 29 Jul 2010, Sergio Ligregni wrote:
> /*
> * We have these posibilities, only the first one is allowed
> * 20100619223115.20100619223131 20100619223131.not_terminated
> * current
> */
> if (strlen(path) == 29 && path[14] == '.' && isdigit(path[15])) {
> /* XXX To improve this checking later */
> return 1;
> }
Please note that the file names have an addiitional suffix in case
"host" is defined in /etc/security/audit_control.
--
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?alpine.BSF.2.00.1008091719150.96753>
