[PATCH 2/2] sys_cmd error handling improved in the following ways: (1) If the subprocess exits nonzero then the exit status is unpicked and logged. (2) If the exec in the child fails, the command and errno string are written to stderr (which should end up in secnet's usual log output). (3) _exit() is used instead of exit(), to avoid any possibility of craziness with stdio/atexit/etc.

Ian Jackson ijackson at chiark.greenend.org.uk
Sun Jul 10 23:49:25 BST 2011


I wrote:
> If you want to push your "packet cannot be delivered" despite the lack
> of tv_now, go ahead.  I'll produce the tv_now patch RSN now honest, ahm.

Um.  I went to try to find this patch of mine so I could expedite it
but it turned out that it's already in master, as 698280de "make
tv_now and now into globals".  Look for "now" in secnet.h.

Ian.



More information about the sgo-software-discuss mailing list