This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Making the transport layer more robust


f-turgis wrote:

> [...]
> To conclude on this, the "exit" we use is through Ctrl-C so is an
> announced message if I followed code correctly. So I checked for the
> uncorrect unloading real root cause and this is due to Android not
> liking exec("/bin/ls", ...) in cleanup_and_exit(). [...]

You mean our

    execl("/bin/sh", "sh", "-c", cmd, NULL);

calls in one or two places.  We could change that to 

    execlp("sh", "sh", "-c", cmd, NULL);

if android's $PATH etc. are workable.

- FChE


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]