[PATCH]2.6.25-rc2-mm1 - Build Failure at security/keys/compat.c on powerpc

From: Kamalesh Babulal
Date: Sat Feb 16 2008 - 12:31:50 EST


Hi Andrew,

The 2.6.25-rc2-mm1 kernel build fails on the powerpc(s)

CC security/keys/compat.o
security/keys/compat.c: In function âcompat_sys_keyctlâ:
security/keys/compat.c:83: error: implicit declaration of function âkeyctl_get_securityâ
make[2]: *** [security/keys/compat.o] Error 1
make[1]: *** [security/keys] Error 2
make: *** [security] Error 2

The keys-add-keyctl-function-to-get-a-security-label.patch is causing
this build failure.

I have tested the patch for the build failure only

Signed-off-by: Kamalesh Babulal <kamalesh@xxxxxxxxxxxxxxxxxx>
--
--- linux-2.6.25-rc2/security/keys/internal.h 2008-02-17 05:03:30.000000000 +0530
+++ linux-2.6.25-rc2/security/keys/~internal.h 2008-02-17 05:46:16.000000000 +0530
@@ -155,6 +155,8 @@ extern long keyctl_negate_key(key_serial
extern long keyctl_set_reqkey_keyring(int);
extern long keyctl_set_timeout(key_serial_t, unsigned);
extern long keyctl_assume_authority(key_serial_t);
+extern long keyctl_get_security(key_serial_t keyid, char __user *buffer,
+ size_t buflen);


/*
--
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.
--
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/