Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753718AbXFDKzn (ORCPT ); Mon, 4 Jun 2007 06:55:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752302AbXFDKzd (ORCPT ); Mon, 4 Jun 2007 06:55:33 -0400 Received: from gprs189-60.eurotel.cz ([160.218.189.60]:50164 "EHLO amd.ucw.cz" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751707AbXFDKzc (ORCPT ); Mon, 4 Jun 2007 06:55:32 -0400 Date: Mon, 4 Jun 2007 12:55:26 +0200 From: Pavel Machek To: Andreas Gruenbacher Cc: jjohansen@suse.de, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [AppArmor 38/45] AppArmor: Module and LSM hooks Message-ID: <20070604105526.GE4363@elf.ucw.cz> References: <20070514110607.549397248@suse.de> <20070514110621.316630438@suse.de> <20070515091443.GD6816@ucw.cz> <200705231816.46197.agruen@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200705231816.46197.agruen@suse.de> X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.11+cvs20060126 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 963 Lines: 21 On Wed 2007-05-23 18:16:45, Andreas Gruenbacher wrote: > 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. vfs does not have configurable pathname limit, and I do not see what is so special about AA to require this kind of uglyness. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/