After upgrading to torsocks-2.3.0, I get an error when using torify:
$ torify git clone https://github.com/freebsd/poudriere.git
1543787510 WARNING torsocks: [syscall] Unsupported syscall number 20. Denying the call (in tsocks_syscall() at syscall.c:568)
Cloning into 'poudriere'...
1543787510 WARNING torsocks: [syscall] Unsupported syscall number 2. Denying the call (in tsocks_syscall() at syscall.c:568)
error: cannot fork() for git-remote-https: Function not implemented
The same command works with torsocks 2.2.0.
syscall number 2 is fork. There have been some changes to syscall.c which may cause this issue.
Created attachment 199769 [details]
Try this patch, if it works; we can update the port and fix this
(In reply to Nathan from comment #1)
This patch doesn't apply, because this file is already patched for accept4 vs. accept by the port patch. It doesn't even contain the notion of 'accept4' any more.
I see this issue too, I have locked the torsocks package on my systems for the time being.