An issue I've got has become philosophical enough that I'm asking for
more qualified opinions...
If you trace execve() and it succeeds (i.e. the image you're tracing
is replaced), should a return value be printed?
I.e.
execve("test.x", ["", "xx"], NULL) = 0
Should the "= 0" be there, to indicate success, or should it be
omitted (like exit()) to indicate "doesn't return" ?
(ref: https://bugzilla.redhat.com/show_bug.cgi?id=1406395)
(note, https://bugzilla.redhat.com/show_bug.cgi?id=1220802 shows it
returning the *wrong* value, which is more obviously a bug, so if the
"= 0" is zero only by coincidence... bug ;)
(and yes, reproduced with a current git head)
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Strace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/strace-devel