From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: [AppArmor 38/45] AppArmor: Module and LSM hooks Date: Tue, 15 May 2007 09:14:44 +0000 Message-ID: <20070515091443.GD6816@ucw.cz> References: <20070514110607.549397248@suse.de> <20070514110621.316630438@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, linux-fsdevel@vger.kernel.org, Andreas Gruenbacher To: jjohansen@suse.de Return-path: Content-Disposition: inline In-Reply-To: <20070514110621.316630438@suse.de> Sender: linux-security-module-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org > Module parameters, LSM hooks, initialization and teardown. > > Signed-off-by: John Johansen > Signed-off-by: Andreas Gruenbacher > +/* Maximum pathname length before accesses will start getting rejected */ > +unsigned int apparmor_path_max = 2 * PATH_MAX; > +module_param_named(path_max, apparmor_path_max, aauint, S_IRUSR | S_IWUSR); > +MODULE_PARM_DESC(apparmor_path_max, "Maximum pathname length allowed"); WTF? Why is this configurable? Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html