path: root/enums
diff options
authorPeter Seebach <peter.seebach@windriver.com>2016-03-02 14:04:24 -0600
committerPeter Seebach <peter.seebach@windriver.com>2016-03-02 14:07:46 -0600
commit529f667d444a15aabaa80a9412f27559ddc6408b (patch)
treed5af61dda5b5d244d436d62876ecffff57940bb4 /enums
parent77ee254a6c974aad9bcab2c58c9ee9e0880c9718 (diff)
Server launch rework continued, probably finished
Server process now waits for its forked child when daemonizing, allowing us to yield meaningful exit status. Lock is now taken by the child, since it has a way to tell the parent about the exit status. (We send SIGUSR1 to the server to cause the wait loop to stop when the client is ready to go.) This allows us to switch to fcntl locking, which should in theory allow us to run with the pseudo directory NFS-mounted. Woot! Also mark a couple of overly spammy messages as PDBGF_VERBOSE to reduce the volume of uninteresting dup spam when looking at client behaviors. Client now uses execve to spawn server to work around a very strange behavior of unsetenv. Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Diffstat (limited to 'enums')
1 files changed, 4 insertions, 0 deletions
diff --git a/enums/exit_status.in b/enums/exit_status.in
index e02b1bc..6be44d3 100644
--- a/enums/exit_status.in
+++ b/enums/exit_status.in
@@ -14,3 +14,7 @@ socket_path, "path allocation failure for server socket"
socket_unlink, "couldn't unlink existing server socket"
socket_bind, "couldn't bind server socket"
socket_listen, "couldn't listen on server socket"
+listen_fd, "server loop had no valid listen fd"
+pseudo_loaded, "server couldn't get out of pseudo environment"
+pseudo_prefix, "couldn't get valid pseudo prefix"
+pseudo_invocation, "invalid server command arguments"