Re: [PATCH] SElinux compile fix

From: Stephen Smalley
Date: Mon Feb 02 2004 - 12:05:08 EST


On Mon, 2004-02-02 at 11:11, Geert Uytterhoeven wrote:
> Spinlock code needs <linux/sched.h>
>
> --- linux-2.6.2-rc3/security/selinux/ss/services.c 2004-01-01 20:23:54.000000000 +0100
> +++ linux-m68k-2.6.2-rc3/security/selinux/ss/services.c 2004-01-09 22:16:22.000000000 +0100
> @@ -16,6 +16,7 @@
> #include <linux/spinlock.h>
> #include <linux/errno.h>
> #include <linux/in.h>
> +#include <linux/sched.h>
> #include <asm/semaphore.h>
> #include "flask.h"
> #include "avc.h"
> --- linux-2.6.2-rc3/security/selinux/ss/sidtab.c 2004-01-01 20:23:54.000000000 +0100
> +++ linux-m68k-2.6.2-rc3/security/selinux/ss/sidtab.c 2004-01-09 22:13:55.000000000 +0100
> @@ -7,6 +7,7 @@
> #include <linux/slab.h>
> #include <linux/spinlock.h>
> #include <linux/errno.h>
> +#include <linux/sched.h>
> #include "flask.h"
> #include "security.h"
> #include "sidtab.h"

Thanks for the fix.

--
Stephen Smalley <sds@xxxxxxxxxxxxxx>
National Security Agency

-
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/