diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-07-09 19:04:19 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-07-09 19:04:19 +0000 |
commit | 8f9464256fc06a884bf589b4004262a0549d11b3 (patch) | |
tree | a088b8acbebdefe2acf0b41cfed4418830275b78 /src/util/crypto_random.c | |
parent | 817ee37a75fb8eb5887023d1a5152cb528ee2d5a (diff) | |
download | gnunet-8f9464256fc06a884bf589b4004262a0549d11b3.tar.gz gnunet-8f9464256fc06a884bf589b4004262a0549d11b3.zip |
-LRN: Another take on std descriptor inheritance
Now descriptors are not inherited by default, you have to pass
a set of flags to make it so. When pipes are given, flags have
no effect.
gnunet-arm now has two options to block stdout and stderr from being
passed to gnunet-service-arm
Diffstat (limited to 'src/util/crypto_random.c')
-rw-r--r-- | src/util/crypto_random.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/crypto_random.c b/src/util/crypto_random.c index e8522d5e7..dbf71d78a 100644 --- a/src/util/crypto_random.c +++ b/src/util/crypto_random.c | |||
@@ -284,7 +284,7 @@ entropy_generator (void *cls, const char *what, int printchar, int current, | |||
284 | LOG (GNUNET_ERROR_TYPE_INFO, _("Starting `%s' process to generate entropy\n"), | 284 | LOG (GNUNET_ERROR_TYPE_INFO, _("Starting `%s' process to generate entropy\n"), |
285 | "find"); | 285 | "find"); |
286 | genproc = | 286 | genproc = |
287 | GNUNET_OS_start_process (GNUNET_NO, | 287 | GNUNET_OS_start_process (GNUNET_NO, 0, |
288 | NULL, NULL, "sh", "sh", "-c", | 288 | NULL, NULL, "sh", "sh", "-c", |
289 | "exec find / -mount -type f -exec cp {} /dev/null \\; 2>/dev/null", | 289 | "exec find / -mount -type f -exec cp {} /dev/null \\; 2>/dev/null", |
290 | NULL); | 290 | NULL); |