I'm writing a program that scans through all files in an Android device, looking for a specific string. A few seconds through the process, I get stuck on the following file:
I tried using grep, C function fopen, as well as other alternatives, and they all IO block on this file - they simply never return. Its size is exactly 4096 bytes, but using stat or ls -l the file is reported as a regular file - no symlink, no device file. I checked for open handles - this file is open by system_se, which also happens to hold handles to dozens of other files, which I can however read just fine. I also checked for locks and there are no MANDATORY locks that would prevent read access.
What is so special about this file and how can I read or skip it?
EDIT: I am running all operations as SU.
EDIT2: ls -ld result:
-rw-r--r-- 1 system system 4096 1971-10-10 21:59 wakeup_count