iovisor / ply

Dynamic Tracing in Linux
GNU General Public License v2.0
972 stars 92 forks source link

ply: use sigaction instead of deprecated siginterrupt #69

Closed WallaceIT closed 3 years ago

WallaceIT commented 3 years ago

Replace signal() + siginterrupt() with a single call to sigaction().

This fixes following compiler warnings:

warning: ‘siginterrupt’ is deprecated: Use sigaction with SA_RESTART instead

wkz commented 3 years ago

Closing with intention of instantly re-opening.

Need to restart the action, but it does not seem possible now.