I made a program that tries to do mmaping on /dev/mem and it fails with:
Failed to open /dev/mem: Operation not permitted
And I tried using od as a test for my code being bad too:
od: /dev/mem: Operation not permitted
od: /dev/port: Operation not permitted
Comment