Re: selinux build failure

From: Christoph Hellwig
Date: Sun Aug 24 2003 - 10:03:47 EST


On Mon, Aug 25, 2003 at 12:49:52AM +1000, James Morris wrote:
> > see a good way to #include asm/compat.h, nor is it available for all
> > processor architectures.
>
> It is available via <linux/compat.h> if CONFIG_COMPAT is defined.
>
> Does the patch below fix this for you?

Argg, this is b0rked. {asm,linux}/compat.h are for the 32bit compatiblity
code. 64bit arches don't have fcntl64 - see the #if BITS_PER_LONG == 32
around sys_fcntl64 in fcntl.c..

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