aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_wlan.c
diff options
context:
space:
mode:
authorChristian Fuchs <christian.fuchs@cfuchs.net>2013-04-15 12:36:37 +0000
committerChristian Fuchs <christian.fuchs@cfuchs.net>2013-04-15 12:36:37 +0000
commitad68ae150f17cf6e0b2c605c9331cf0aedfce1d0 (patch)
tree9079e9ce1b942683e45f2f5212fe2f9ce1bd5d56 /src/transport/plugin_transport_wlan.c
parentfbda84a3f00a667f4b149f00f9a7d330e5db54a8 (diff)
downloadgnunet-ad68ae150f17cf6e0b2c605c9331cf0aedfce1d0.tar.gz
gnunet-ad68ae150f17cf6e0b2c605c9331cf0aedfce1d0.zip
extended the GNUNET_OS_check_helper_binary parameters to do previlege
checking in windows. To do so, tested binaries must still be supplied with valid commandline arguments, but on windows gnunet will utilize the -d flag to run the programs initialization phase or privileged operations only. In these modes, a program will not enter its mainloop or communicate with the outside. updated relevant function calls gnunet-wide to meet the extended function parameters.
Diffstat (limited to 'src/transport/plugin_transport_wlan.c')
-rw-r--r--src/transport/plugin_transport_wlan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/plugin_transport_wlan.c b/src/transport/plugin_transport_wlan.c
index 9e2a0ff77..29070560e 100644
--- a/src/transport/plugin_transport_wlan.c
+++ b/src/transport/plugin_transport_wlan.c
@@ -1739,7 +1739,7 @@ libgnunet_plugin_transport_wlan_init (void *cls)
1739 } 1739 }
1740 binary = GNUNET_OS_get_libexec_binary_path ("gnunet-helper-transport-wlan"); 1740 binary = GNUNET_OS_get_libexec_binary_path ("gnunet-helper-transport-wlan");
1741 if ( (0 == testmode) && 1741 if ( (0 == testmode) &&
1742 (GNUNET_YES != GNUNET_OS_check_helper_binary (binary)) ) 1742 (GNUNET_YES != GNUNET_OS_check_helper_binary (binary, TRUE, NULL)) )
1743 { 1743 {
1744 LOG (GNUNET_ERROR_TYPE_ERROR, 1744 LOG (GNUNET_ERROR_TYPE_ERROR,
1745 _("Helper binary `%s' not SUID, cannot run WLAN transport\n"), 1745 _("Helper binary `%s' not SUID, cannot run WLAN transport\n"),