<p dir="ltr"><br>
El 28/05/2013 19:16, "Michał Akaanonim" <<a href="mailto:michak.ny@gmail.com">michak.ny@gmail.com</a>> va escriure:<br>
><br>
> Hi,<br>
> I'm developing custom kernel for my Samsung Galaxy Ace 2 phone.<br>
> First, I'd like to check if there are any bugs, so I built kernel with kmemleak enabled and I get 10 entries, for example:<br>
><br>
> unreferenced object 0xce2a2000 (size 8192):<br>
> comm "vold", pid 1855, jiffies 4294942835 (age 1394.240s)<br>
> hex dump (first 32 bytes):<br>
> 00 00 00 00 24 7e 50 c0 d0 7d 50 c0 7c 7d 50 c0 ....$~P..}P.|}P.<br>
> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................<br>
> backtrace:<br>
> [<c03f4a00>] create_object+0x10c/0x24c<br>
> [<c08e99f0>] kmemleak_alloc+0x6c/0xd0<br>
> [<c03f1a54>] __kmalloc+0x178/0x27c<br>
> [<c0507988>] __crypto_alloc_tfm+0x4c/0x140<br>
> [<c05086b8>] crypto_spawn_tfm+0x78/0xcc<br>
> [<c0511dc0>] crypto_cbc_init_tfm+0x2c/0x44<br>
> [<c05079dc>] __crypto_alloc_tfm+0xa0/0x140<br>
> [<c05086b8>] crypto_spawn_tfm+0x78/0xcc<br>
> [<c050b968>] skcipher_geniv_init+0x2c/0x54<br>
> [<c050cd68>] eseqiv_init+0x50/0x54<br>
> [<c05079dc>] __crypto_alloc_tfm+0xa0/0x140<br>
> [<c050aee0>] crypto_alloc_ablkcipher+0x68/0xa8<br>
> [<c06b82b0>] crypt_ctr+0x294/0x8a0<br>
> [<c06b08c8>] dm_table_add_target+0xf8/0x260<br>
> [<c06b3ffc>] table_load+0x114/0x2c4<br>
> [<c06b37d4>] dm_ctl_ioctl+0x1d0/0x2cc<br>
><br>
> I noticed that in 6 of 10 entries there are dm_ctl_ioctl, table_load and dm_table_add_target functions. So I think something is wrong with MD driver but I compared source of this driver with other find on net and there aren't any differences.<br>
> Source code of my kernel can be found here: <a href="https://github.com/hckk/GT-I8160_Kernel">https://github.com/hckk/GT-I8160_Kernel</a><br>
><br>
> Thanks for any help.</p>
<p dir="ltr">Could it be false positives?</p>
<p dir="ltr">Regards,<br>
Matthias</p>
<p dir="ltr">> Greetings, Michal.<br>
><br>
> _______________________________________________<br>
> Kernelnewbies mailing list<br>
> <a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
> <a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
><br>
</p>