From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Grubb Subject: Re: audit 1.2.7 released Date: Wed, 20 Sep 2006 15:19:47 -0400 Message-ID: <200609201519.47804.sgrubb@redhat.com> References: <200609182013.40133.sgrubb@redhat.com> <20060919210530.GA20125@fc.hp.com> <1158779559.15340.145.camel@moss-spartans.epoch.ncsc.mil> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1158779559.15340.145.camel@moss-spartans.epoch.ncsc.mil> Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: linux-audit@redhat.com List-Id: linux-audit@redhat.com On Wednesday 20 September 2006 15:12, Stephen Smalley wrote: > SELinux userland code isn't supposed to assume any fixed max. > libselinux does use an initial buffer size as a starting point when > calling e.g. getxattr, but will resize the buffer to a larger size if > necessary. I try very hard to not have any memory allocations in the audit system to prevent and possible failure due to fragmentation or leaks. I need to cap the buffer size at something to meet this design goal. -Steve