[apparmor] [PATCH] add caching tests to build
John Johansen
john.johansen at canonical.com
Tue Sep 14 20:20:15 BST 2010
On 09/14/2010 11:47 AM, Kees Cook wrote:
> OMG, hurt me. Re re fixed.
>
> === modified file 'parser/parser_interface.c'
> --- parser/parser_interface.c 2010-09-14 18:03:40 +0000
> +++ parser/parser_interface.c 2010-09-14 18:40:42 +0000
> @@ -748,7 +748,7 @@
> break;
> }
>
> - if (kernel_load && fd < 0) {
> + if (fd < 0 && (kernel_load || option == OPTION_OFILE || option == OPTION_STDOUT)) {
> PERROR(_("Unable to open %s - %s\n"), filename,
> strerror(errno));
> error = -errno;
>
ACK
More information about the AppArmor
mailing list