Re: [PATCH] SElinux compile fix

From: Stephen Smalley (sds_at_epoch.ncsc.mil)
Date: 02/02/04

  • Next message: Timothy Miller: "Re: [OT] Crazy idea: Design open-source graphics chip"
    To: Geert Uytterhoeven <geert@linux-m68k.org>
    Date:	Mon, 02 Feb 2004 12:03:22 -0500
    
    

    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@epoch.ncsc.mil>
    National Security Agency
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Timothy Miller: "Re: [OT] Crazy idea: Design open-source graphics chip"

    Relevant Pages

    • Re: Power Management Update
      ... I encountered this problem by having an IDE CD-ROM, ... He mentioned producing a cleaner patch, but this should at least fix the ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] fs/fcntl.c : dont test unsigned value for less than zero
      ... I think the real problem here is that 'arg' ... architecture's ptrace code could easily make use of the latter, ... But be careful not to "fix up" ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Testing RC kernels [KORG]
      ... Can someone with access to the html for kernel.org please fix that? ... We've had several messages now complaining about this. ... Copyright 2005 by Maurice Eugene Heskett, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.4.22-rc2 ext2 filesystem corruption
      ... > # Without this fix it mistakenly assumes that the empty drive slot ... the 64K cylinders problem) I know I saw transfer speeds greater than ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.4.23aa2 (bugfixes and important VM improvements for the high end)
      ... That may well fix all problems 2.6 would have otherwise had ... > from the tail of the LRU which were moved there at interrupt time. ... Forget about me proposing the OVM stuff;) ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)