最佳答案
我想知道是否有一种方法可以在 Linux 的沙箱下运行一个不受信任的 C 程序。阻止程序打开文件、网络连接、分叉、执行等等的东西?
It would be a small program, a homework assignment, that gets uploaded to a server and has unit tests executed on it. So the program would be short lived.