* Don't run setuid root when build-users is empty.
* Send startup errors to the client.
This commit is contained in:
parent
35247c4c9f
commit
f4279bcde0
3 changed files with 54 additions and 29 deletions
|
|
@ -73,6 +73,7 @@ RemoteStore::RemoteStore()
|
|||
|
||||
/* Send the magic greeting, check for the reply. */
|
||||
try {
|
||||
processStderr();
|
||||
writeInt(WORKER_MAGIC_1, to);
|
||||
unsigned int magic = readInt(from);
|
||||
if (magic != WORKER_MAGIC_2) throw Error("protocol mismatch");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue