I am using qemu-arm
to run a statically linked binary on an Ubuntu system. There is little to no chance of emulating the entire system.
The binary reads /proc/cmdline
as it starts up, to check for a specific parameter concerning MTD partitions. Obviously, my /proc/cmdline
does not match.
Is there any easy way to alter the contents of /proc/cmdline
for this emulated binary?