[patch] padata: test correct variable in ->store function

2013-01-25 Thread Dan Carpenter
It's testing for ->show but calling ->store(). Signed-off-by: Dan Carpenter --- Static analysis. I don't know if it affects real life. diff --git a/kernel/padata.c b/kernel/padata.c index 072f4ee..7ac61c1 100644 --- a/kernel/padata.c +++ b/kernel/padata.c @@ -1013,7 +1013,7 @@ static ssize_t pa

Re: [RFC 1/1] ima: digital signature verification using asymmetric keys

2013-01-25 Thread Vivek Goyal
Hi, I am trying to read and understand IMA code. How does digital signature mechanism work. IIUC, evmctl will install a file's signature in security.ima. And later process_measurement() will do following. Calculate digest of file in ima_collect_measurement() and then ima_appraise_measurement()