diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-02-27 11:00:10 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-02-27 11:00:10 +0000 |
commit | 0238db34853380280ccf164918ebbb28260f4629 (patch) | |
tree | 2c47ddbbfa27e7a0479d5c12e78d77342780a4bd /src/util/crypto_random.c | |
parent | dc3ae8f36ec69ca2a96a93feda501682ff168320 (diff) | |
download | gnunet-0238db34853380280ccf164918ebbb28260f4629.tar.gz gnunet-0238db34853380280ccf164918ebbb28260f4629.zip |
enabling use of pipes for signal communication also on UNIX to enable future integration with Java services
Diffstat (limited to 'src/util/crypto_random.c')
-rw-r--r-- | src/util/crypto_random.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/util/crypto_random.c b/src/util/crypto_random.c index 8f9ba80f6..25226a3b4 100644 --- a/src/util/crypto_random.c +++ b/src/util/crypto_random.c | |||
@@ -280,9 +280,10 @@ entropy_generator (void *cls, const char *what, int printchar, int current, | |||
280 | LOG (GNUNET_ERROR_TYPE_INFO, _("Starting `%s' process to generate entropy\n"), | 280 | LOG (GNUNET_ERROR_TYPE_INFO, _("Starting `%s' process to generate entropy\n"), |
281 | "find"); | 281 | "find"); |
282 | genproc = | 282 | genproc = |
283 | GNUNET_OS_start_process (NULL, NULL, "sh", "sh", "-c", | 283 | GNUNET_OS_start_process (GNUNET_NO, |
284 | "exec find / -mount -type f -exec cp {} /dev/null \\; 2>/dev/null", | 284 | NULL, NULL, "sh", "sh", "-c", |
285 | NULL); | 285 | "exec find / -mount -type f -exec cp {} /dev/null \\; 2>/dev/null", |
286 | NULL); | ||
286 | } | 287 | } |
287 | 288 | ||
288 | 289 | ||