RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
...
View file | ||||
---|---|---|---|---|
|
View file | ||||
---|---|---|---|---|
|
Note : Here testapp is FSCRYPT application program, when we run this test app with all functionalities, The corresponding kernel driver will invoke, if any memory leaks present in the kernel driver code will report kernel memory leaks in /sys/kernel/debug/kmemleak
Ex: testapp will support below operations need to to run all operations to get kmemleaks.
root@raspberrypi-rdk-mc:~# testapp
FSCRYPT DEMO APP
------------------------------
1:Open session
2:Read data
3:Write data
4:close session
5:Print session info
6:Delete data
7:Exit
------------------------------
Ex: Here memory leaks reported when we run testapp.
From below report we could see kmemleak happened from fscrypt_ioctl_write_data and fscrypt_ioctl_read_data while file_open.
View file | ||||
---|---|---|---|---|
|
...