From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Viro Subject: Re: [PATCH] log more info for directory entry change events Date: Fri, 9 Jun 2006 09:13:07 -0400 Message-ID: <20060609131307.GE22634@devserv.devel.redhat.com> References: <20060609031931.GA5759@zk3.dec.com> <20060609131113.GD22634@devserv.devel.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20060609131113.GD22634@devserv.devel.redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: Alexander Viro Cc: linux-audit@redhat.com List-Id: linux-audit@redhat.com On Fri, Jun 09, 2006 at 09:11:13AM -0400, Alexander Viro wrote: > On Thu, Jun 08, 2006 at 11:19:31PM -0400, Amy Griffis wrote: > > > +extern const char * audit_log_n_untrustedstring(struct audit_buffer *ab, > > + unsigned n, > > + const char *string); > > > +static void audit_log_n_string(struct audit_buffer *ab, size_t slen, > > + const char *string) Er... > +const char *audit_log_n_untrustedstring(struct audit_buffer *ab, size_t len, > + const char *string) actually. > ... and size_t != unsigned. Fixed in git tree.