[PATCH] SElinux compile fix

From: Geert Uytterhoeven
Date: Mon Feb 02 2004 - 11:16:02 EST



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"

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-
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/