|
From: Mimi Z. <zo...@li...> - 2010-04-12 12:52:47
|
On Thu, 2010-04-08 at 15:54 +0500, Shaz wrote: > Dear list, > > Working on some IMA code that worked for me earlier is now giving me > problems. I checked the latest code and the code I use seems fine thus > can't figure what's wrong with it. Need help .... > > Following are the error messages and I am also attaching the > ima_main.c that I am using. > > CC security/integrity/ima/ima_main.o > security/integrity/ima/ima_main.c: In function ‘ima_file_free’: > security/integrity/ima/ima_main.c:66: error: expected ‘)’ before > numeric constant > security/integrity/ima/ima_main.c:69: error: expected ‘;’ before > numeric constant > security/integrity/ima/ima_main.c:82: error: expected expression > before ‘;’ token > security/integrity/ima/ima_main.c: In function ‘ima_path_check’: > security/integrity/ima/ima_main.c:189: error: expected expression > before ‘)’ token > security/integrity/ima/ima_main.c:193: error: ‘dentry’ undeclared > (first use in this function) > security/integrity/ima/ima_main.c:193: error: (Each undeclared > identifier is reported only once > security/integrity/ima/ima_main.c:193: error: for each function it appears in.) > make[2]: *** [security/integrity/ima/ima_main.o] Error 1 There were a lot of IMA changes last December posted by Eric. Parts were picked up, some were entirely left out, and others were incorrectly modified, leaving IMA totally broken for quite a while. It only got sorted out right before 2.6.33 was released. Commit 6593c8f77db7 removed IMA_IINT_DUMP_STACK, which is causing the initial problems above. Mimi |