yasukata / zpoline

system call hook for Linux
Apache License 2.0
408 stars 32 forks source link

debug: add env ZPOLINE_DEBUG to switch debug print #3

Closed thehajime closed 1 year ago

thehajime commented 1 year ago

The default behavior is still debug on. To disable this, ZPOLINE_DEBUG=1 needs to be added to your environmental variable.

yasukata commented 1 year ago

I have removed the debug printf(s) (commit: https://github.com/yasukata/zpoline/commit/8203def6fea69a1e838ec6408c81d84be72fa6f0) rather than adding a new environment variable because there were only few of printf(s).

thehajime commented 1 year ago

lgtm.