From: Andreas Gruenbacher Subject: Re: [AppArmor 38/45] AppArmor: Module and LSM hooks Date: Wed, 23 May 2007 18:16:45 +0200 Message-ID: <200705231816.46197.agruen@suse.de> References: <20070514110607.549397248@suse.de> <20070514110621.316630438@suse.de> <20070515091443.GD6816@ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Cc: jjohansen@suse.de, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, linux-fsdevel@vger.kernel.org To: Pavel Machek Return-path: In-Reply-To: <20070515091443.GD6816@ucw.cz> Content-Disposition: inline Sender: linux-security-module-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Tuesday 15 May 2007 11:14, Pavel Machek wrote: > Why is this configurable? The maximum length of a pathname is an arbitrary limit: we don't want to allocate arbitrary amounts of of kernel memory for pathnames so we introduce this limit and set it to a reasonable value. In the unlikely case that someone uses insanely long pathnames, this limit can be increased. Andreas