sio2project / sio2jail

A tool for supervising execution of programs submitted in algorithmic competitions
MIT License
29 stars 10 forks source link

Fix caught signals check #31

Closed w0nsh closed 1 year ago

w0nsh commented 2 years ago

Hi. The caughtSignals mask should be shifted by one, since the first bit corresponds to the signal with number 1.

Michcioperz commented 2 years ago

I think I need another pair of eyes on this, but it does seem to make sense