I've compiled linux-IMA on a 2.6.22 kernel previously and everything was OK.
Patching on the newer kernel ( was ok, but compile fails:

security/ima/ima_init.c: In function 'ima_measure_init':
security/ima/ima_init.c 159: error: implicit declaration of function 'unregister_security'
make[2]: *** [security/ima/ima_init.o] Error 1
make[1]: *** [security/ima] Error 2

I'm out of luck, or this IMA patch doens't work on this kernel?

Tiago Lopes