Remix.run Logo
quotemstr an hour ago

Okay, let me know when I can call process_vm_writev or ptrace and have Fil-C verify safety properties on the result.

jcranmer an hour ago | parent [-]

Don't forget reads and writes of /proc/self/mem! :-)

modeless 17 minutes ago | parent [-]

Better include Rowhammer too. Maybe Fil-C should run a test and refuse to start on any system with bad RAM or unpatched CPU errata. It could also monitor the voltage to protect against undervolting attacks.

Of course I'm kidding, but it is absolutely the case that if you truly care about safety you need to consider more than the program source code and binary, but also the environment, including kernel and hardware. The user doesn't care if their web browser got hacked via stack buffer underflow or Rowhammer; the result is the same.