reverie-rs / reverie

trace and intercept linux syscalls.
Other
14 stars 5 forks source link

seccomp must handle restarted syscalls #22

Closed wangbj closed 5 years ago

wangbj commented 5 years ago

A syscall can be restarted by kernel when seeing interrupted signals, kernel return with error code such as ERESTARTSYS, ERESTARTNOINTR, ERESTARTNOHAND, and ERESTARTBLOCK. systrace must handle them correctly, or the program could block.

wangbj commented 5 years ago

This issue should be fixed by db78f83a