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?

   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" ?


(note, 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,!
Strace-devel mailing list

Reply via email to