Re: [AppArmor 38/45] AppArmor: Module and LSM hooks

From: Pavel Machek
Date: Wed May 16 2007 - 09:36:36 EST



> Module parameters, LSM hooks, initialization and teardown.
>
> Signed-off-by: John Johansen <jjohansen@xxxxxxx>
> Signed-off-by: Andreas Gruenbacher <agruen@xxxxxxx>

> +/* 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/