lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4D27B70A.3090706@canonical.com>
Date:	Fri, 07 Jan 2011 16:59:54 -0800
From:	John Johansen <john.johansen@...onical.com>
To:	Michal Hocko <mhocko@...e.cz>
CC:	LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] apparmor: cleanup generated files correctly

On 01/07/2011 06:14 AM, Michal Hocko wrote:
> Hi John,
> could you consider the patch bellow. The issue is minor but I guess it
> is worth having fixed.
certainly thanks for the fix, I'll pull into the AA tree and push up with
a couple of other fixes I have pending

Acked-by: John Johansen <john.johansen@...onical.com>

> ---
> From a6b164aeff1234708595d06dd6f9abeb59564da6 Mon Sep 17 00:00:00 2001
> From: Michal Hocko <mhocko@...e.cz>
> Date: Fri, 7 Jan 2011 15:03:02 +0100
> Subject: [PATCH] apparmor: cleanup generated files correctly
> 
> clean-files should be defined as a variable not a target.
> 
> Signed-off-by: Michal Hocko <mhocko@...e.cz>
> ---
>  security/apparmor/Makefile |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/security/apparmor/Makefile b/security/apparmor/Makefile
> index f204869..bbb942a 100644
> --- a/security/apparmor/Makefile
> +++ b/security/apparmor/Makefile
> @@ -6,7 +6,7 @@ apparmor-y := apparmorfs.o audit.o capability.o context.o ipc.o lib.o match.o \
>                path.o domain.o policy.o policy_unpack.o procattr.o lsm.o \
>                resource.o sid.o file.o
>  
> -clean-files: capability_names.h af_names.h
> +clean-files := capability_names.h af_names.h
>  
>  quiet_cmd_make-caps = GEN     $@
>  cmd_make-caps = echo "static const char *capability_names[] = {" > $@ ; sed -n -e "/CAP_FS_MASK/d" -e "s/^\#define[ \\t]\\+CAP_\\([A-Z0-9_]\\+\\)[ \\t]\\+\\([0-9]\\+\\)\$$/[\\2]  = \"\\1\",/p" $< | tr A-Z a-z >> $@ ; echo "};" >> $@

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ