diff options
Diffstat (limited to 'src/transport')
-rw-r--r-- | src/transport/gnunet-transport-certificate-creation.c | 4 | ||||
-rw-r--r-- | src/transport/gnunet-transport-connect-running-peers.c | 2 | ||||
-rw-r--r-- | src/transport/gnunet-transport.c | 2 | ||||
-rw-r--r-- | src/transport/plugin_transport_http_server.c | 2 | ||||
-rw-r--r-- | src/transport/plugin_transport_wlan.c | 6 | ||||
-rw-r--r-- | src/transport/transport-testing.c | 6 |
6 files changed, 12 insertions, 10 deletions
diff --git a/src/transport/gnunet-transport-certificate-creation.c b/src/transport/gnunet-transport-certificate-creation.c index 9fd62fc9f..2ec8d36a6 100644 --- a/src/transport/gnunet-transport-certificate-creation.c +++ b/src/transport/gnunet-transport-certificate-creation.c | |||
@@ -57,7 +57,7 @@ main (int argc, char **argv) | |||
57 | /* Create RSA Private Key */ | 57 | /* Create RSA Private Key */ |
58 | /* openssl genrsa -out $1 1024 2> /dev/null */ | 58 | /* openssl genrsa -out $1 1024 2> /dev/null */ |
59 | openssl = | 59 | openssl = |
60 | GNUNET_OS_start_process (NULL, NULL, "openssl", "openssl", "genrsa", | 60 | GNUNET_OS_start_process (GNUNET_NO, NULL, NULL, "openssl", "openssl", "genrsa", |
61 | "-out", argv[1], "1024", NULL); | 61 | "-out", argv[1], "1024", NULL); |
62 | if (openssl == NULL) | 62 | if (openssl == NULL) |
63 | return 2; | 63 | return 2; |
@@ -67,7 +67,7 @@ main (int argc, char **argv) | |||
67 | /* Create a self-signed certificate in batch mode using rsa key */ | 67 | /* Create a self-signed certificate in batch mode using rsa key */ |
68 | /* openssl req -batch -days 365 -out $2 -new -x509 -key $1 2> /dev/null */ | 68 | /* openssl req -batch -days 365 -out $2 -new -x509 -key $1 2> /dev/null */ |
69 | openssl = | 69 | openssl = |
70 | GNUNET_OS_start_process (NULL, NULL, "openssl", "openssl", "req", | 70 | GNUNET_OS_start_process (GNUNET_NO, NULL, NULL, "openssl", "openssl", "req", |
71 | "-batch", "-days", "365", "-out", argv[2], | 71 | "-batch", "-days", "365", "-out", argv[2], |
72 | "-new", "-x509", "-key", argv[1], NULL); | 72 | "-new", "-x509", "-key", argv[1], NULL); |
73 | if (openssl == NULL) | 73 | if (openssl == NULL) |
diff --git a/src/transport/gnunet-transport-connect-running-peers.c b/src/transport/gnunet-transport-connect-running-peers.c index a640f38ab..5a5250920 100644 --- a/src/transport/gnunet-transport-connect-running-peers.c +++ b/src/transport/gnunet-transport-connect-running-peers.c | |||
@@ -256,7 +256,7 @@ connect_to_peer (const char *cfgname, GNUNET_TRANSPORT_ReceiveCallback rec, | |||
256 | GNUNET_DISK_directory_remove (p->servicehome); | 256 | GNUNET_DISK_directory_remove (p->servicehome); |
257 | /* | 257 | /* |
258 | * p->arm_proc = | 258 | * p->arm_proc = |
259 | * GNUNET_OS_start_process (NULL, NULL, "gnunet-service-arm", | 259 | * GNUNET_OS_start_process (GNUNET_YES, NULL, NULL, "gnunet-service-arm", |
260 | * "gnunet-service-arm", "-c", cfgname, | 260 | * "gnunet-service-arm", "-c", cfgname, |
261 | * #if VERBOSE_PEERS | 261 | * #if VERBOSE_PEERS |
262 | * "-L", "DEBUG", | 262 | * "-L", "DEBUG", |
diff --git a/src/transport/gnunet-transport.c b/src/transport/gnunet-transport.c index 5142ee642..ee977f5dc 100644 --- a/src/transport/gnunet-transport.c +++ b/src/transport/gnunet-transport.c | |||
@@ -275,7 +275,7 @@ do_test_configuration (const struct GNUNET_CONFIGURATION_Handle *cfg) | |||
275 | adv_port = bnd_port; | 275 | adv_port = bnd_port; |
276 | if (NULL == resolver) | 276 | if (NULL == resolver) |
277 | resolver = | 277 | resolver = |
278 | GNUNET_OS_start_process (NULL, NULL, "gnunet-service-resolver", | 278 | GNUNET_OS_start_process (GNUNET_YES, NULL, NULL, "gnunet-service-resolver", |
279 | "gnunet-service-resolver", NULL); | 279 | "gnunet-service-resolver", NULL); |
280 | resolver_users++; | 280 | resolver_users++; |
281 | GNUNET_RESOLVER_connect (cfg); | 281 | GNUNET_RESOLVER_connect (cfg); |
diff --git a/src/transport/plugin_transport_http_server.c b/src/transport/plugin_transport_http_server.c index 2e0084ff7..8ec5a5e43 100644 --- a/src/transport/plugin_transport_http_server.c +++ b/src/transport/plugin_transport_http_server.c | |||
@@ -178,7 +178,7 @@ server_load_certificate (struct Plugin *plugin) | |||
178 | #endif | 178 | #endif |
179 | errno = 0; | 179 | errno = 0; |
180 | cert_creation = | 180 | cert_creation = |
181 | GNUNET_OS_start_process (NULL, NULL, | 181 | GNUNET_OS_start_process (GNUNET_NO, NULL, NULL, |
182 | "gnunet-transport-certificate-creation", | 182 | "gnunet-transport-certificate-creation", |
183 | "gnunet-transport-certificate-creation", | 183 | "gnunet-transport-certificate-creation", |
184 | key_file, cert_file, NULL); | 184 | key_file, cert_file, NULL); |
diff --git a/src/transport/plugin_transport_wlan.c b/src/transport/plugin_transport_wlan.c index 822a6701d..4510ae12c 100644 --- a/src/transport/plugin_transport_wlan.c +++ b/src/transport/plugin_transport_wlan.c | |||
@@ -1487,7 +1487,7 @@ wlan_transport_start_wlan_helper (struct Plugin *plugin) | |||
1487 | if (GNUNET_OS_check_helper_binary (filenamehw) == GNUNET_YES) | 1487 | if (GNUNET_OS_check_helper_binary (filenamehw) == GNUNET_YES) |
1488 | { | 1488 | { |
1489 | plugin->server_proc = | 1489 | plugin->server_proc = |
1490 | GNUNET_OS_start_process (plugin->server_stdin, plugin->server_stdout, | 1490 | GNUNET_OS_start_process (GNUNET_NO, plugin->server_stdin, plugin->server_stdout, |
1491 | filenamehw, filenamehw, plugin->interface, | 1491 | filenamehw, filenamehw, plugin->interface, |
1492 | NULL); | 1492 | NULL); |
1493 | } | 1493 | } |
@@ -1514,7 +1514,7 @@ wlan_transport_start_wlan_helper (struct Plugin *plugin) | |||
1514 | absolute_filename, plugin->interface, plugin->testmode); | 1514 | absolute_filename, plugin->interface, plugin->testmode); |
1515 | #endif | 1515 | #endif |
1516 | plugin->server_proc = | 1516 | plugin->server_proc = |
1517 | GNUNET_OS_start_process (plugin->server_stdin, plugin->server_stdout, | 1517 | GNUNET_OS_start_process (GNUNET_NO, plugin->server_stdin, plugin->server_stdout, |
1518 | absolute_filename, absolute_filename, "1", | 1518 | absolute_filename, absolute_filename, "1", |
1519 | NULL); | 1519 | NULL); |
1520 | if (plugin->server_proc == NULL) | 1520 | if (plugin->server_proc == NULL) |
@@ -1534,7 +1534,7 @@ wlan_transport_start_wlan_helper (struct Plugin *plugin) | |||
1534 | #endif | 1534 | #endif |
1535 | 1535 | ||
1536 | plugin->server_proc = | 1536 | plugin->server_proc = |
1537 | GNUNET_OS_start_process (plugin->server_stdin, plugin->server_stdout, | 1537 | GNUNET_OS_start_process (GNUNET_NO, plugin->server_stdin, plugin->server_stdout, |
1538 | absolute_filename, absolute_filename, "2", | 1538 | absolute_filename, absolute_filename, "2", |
1539 | NULL); | 1539 | NULL); |
1540 | if (plugin->server_proc == NULL) | 1540 | if (plugin->server_proc == NULL) |
diff --git a/src/transport/transport-testing.c b/src/transport/transport-testing.c index 3ef6e4b21..752106bfe 100644 --- a/src/transport/transport-testing.c +++ b/src/transport/transport-testing.c | |||
@@ -304,7 +304,8 @@ GNUNET_TRANSPORT_TESTING_start_peer (struct GNUNET_TRANSPORT_TESTING_handle | |||
304 | } | 304 | } |
305 | 305 | ||
306 | p->arm_proc = | 306 | p->arm_proc = |
307 | GNUNET_OS_start_process (NULL, NULL, "gnunet-service-arm", | 307 | GNUNET_OS_start_process (GNUNET_YES, |
308 | NULL, NULL, "gnunet-service-arm", | ||
308 | "gnunet-service-arm", "-c", cfgname, | 309 | "gnunet-service-arm", "-c", cfgname, |
309 | #if VERBOSE_PEERS | 310 | #if VERBOSE_PEERS |
310 | "-L", "DEBUG", | 311 | "-L", "DEBUG", |
@@ -420,7 +421,8 @@ GNUNET_TRANSPORT_TESTING_restart_peer (struct GNUNET_TRANSPORT_TESTING_handle | |||
420 | goto fail; | 421 | goto fail; |
421 | 422 | ||
422 | p->arm_proc = | 423 | p->arm_proc = |
423 | GNUNET_OS_start_process (NULL, NULL, "gnunet-service-arm", | 424 | GNUNET_OS_start_process (GNUNET_YES, |
425 | NULL, NULL, "gnunet-service-arm", | ||
424 | "gnunet-service-arm", "-c", cfgname, | 426 | "gnunet-service-arm", "-c", cfgname, |
425 | #if VERBOSE_PEERS | 427 | #if VERBOSE_PEERS |
426 | "-L", "DEBUG", | 428 | "-L", "DEBUG", |