Re: selinux build failure

From: Randy.Dunlap
Date: Mon Aug 25 2003 - 11:58:20 EST


On Sun, 24 Aug 2003 02:21:08 +0200 Arnd Bergmann <arnd@xxxxxxxx> wrote:

| James Morris wrote:
|
| > On Sun, 24 Aug 2003, Christoph Hellwig wrote:
| >
| >> 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..
| >
| > Indeed. How about this?

Yes, the second patch fixes for me also. [2.6.0-test4 now]
I also see the warnings below.

| security/selinux/hooks.c: In function `selinux_bprm_set_security':
| security/selinux/hooks.c:1384: warning: cast to pointer from integer of different size
| security/selinux/hooks.c:1430: warning: cast to pointer from integer of different size
| security/selinux/hooks.c: In function `selinux_bprm_compute_creds':
| security/selinux/hooks.c:1520: warning: cast from pointer to integer of different size
| security/selinux/hooks.c: In function `selinux_getprocattr':
| security/selinux/hooks.c:3147: warning: passing arg 3 of `security_sid_to_context' from incompatible pointer type

Thanks.
--
~Randy [mantra: Always include kernel version.]
"Everything is relative."
-
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/