judge-server
judge-server copied to clipboard
cptbox: compare projected with real instead of normalized
We should compare projected with real instead of normalized. This is because if our file is /proc/self/maps, the projected will be /proc/getpid()/maps, and the real path is /proc/getpid()/maps. We do a useless os.samefile call in this case.
Can one of the admins verify this patch?
ok to test
Not true. The jail still needs to check normalized and not projected.