[strace/strace] Add -n/--syscall-number option (#149)

Dmitry V. Levin notifications at github.com
Fri Aug 21 15:19:52 UTC 2020


@ldv-alt commented on this pull request.



> +		const long args[] = { 0, 0 };
+		syscall(__NR_socketcall, SC_listen, args);
+		printf("[%4u] listen(0, 0) = -1 ENOTSOCK (%m)\n", SYS_socket_subcall + SC_listen);

Yes, the light couldn't have been any greener.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/strace/strace/pull/149#discussion_r474765075
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20200821/0b5ccfe0/attachment.htm>


More information about the Strace-devel mailing list