Re: [2.6 patch] selinux/ss/services.c should #include <linux/selinux.h>

From: James Morris
Date: Sun Mar 30 2008 - 21:27:24 EST


On Mon, 31 Mar 2008, Adrian Bunk wrote:

> Every file should include the headers containing the externs for its
> global code.
>
> Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>
>

Thanks, applied to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/selinux-2.6.git#for-akpm



> ---
>
> This patch has been sent on:
> - 27 Feb 2008
>
> eaeb567e2ce03ef3a7c5ed33e35def212ce2899a foobar
> diff --git a/security/selinux/ss/services.c b/security/selinux/ss/services.c
> index f374186..29fb216 100644
> --- a/security/selinux/ss/services.c
> +++ b/security/selinux/ss/services.c
> @@ -40,6 +40,7 @@
> #include <linux/sched.h>
> #include <linux/audit.h>
> #include <linux/mutex.h>
> +#include <linux/selinux.h>
> #include <net/netlabel.h>
>
> #include "flask.h"
>

--
James Morris
<jmorris@xxxxxxxxx>
--
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/