Sample Header Ad - 728x90

Arbitrary "files" in /proc/?

1 vote
0 answers
49 views
Is there a way to create files in /proc/ without actually writing a kernel module? This is for reverse engineering purposes, an app expects certain things in /proc/ and I do not want to write a kernel module to supply it. The app simply just reads /proc/something/some_key and expects certain/known values. EDIT: Union mount doesn't seem to work as I need a new directory, e.g. /proc/new_dir/ and some files in there and making union on top of /proc/ itself seems to break it.
Asked by lukash (111 rep)
Sep 22, 2019, 11:21 AM
Last activity: Sep 22, 2019, 11:44 AM