Remove hardlink in judger plugins #89
Labels
C-Judger
Relate to judger
good first issue
Good for newcomers
K-Bug
Something isn't working
P-Low
Low priority
We should remove all hardlink in official plugin, so judger won't emit warning to confuse user.
State of art on plugin packaging
When we package official plugin, we use
docker export
to export a unix-like filesystem in tarball.There are three type of entry in tarball:
In current implementation, hardlink would cause judger to emit warning(because hardlink won't be mapped), and accessing it would cause KMEM error.
In addition,
docker export
treat common device as hardlink, including/dev/null
,/dev/random
, and our implementation provide such device, so it normally safe to remove.The text was updated successfully, but these errors were encountered: