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

Dmitry V. Levin notifications at github.com
Fri Aug 21 15:04:45 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);

There is only one personality in the test.
In the tracer it would be easier just to save the original scno.

-- 
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_r474756197
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20200821/e9fdba4d/attachment.htm>


More information about the Strace-devel mailing list