diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-07-11 14:35:04 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-07-11 14:35:04 +0000 |
commit | b381e2c60e3f5f9404fe070082d164bf99020869 (patch) | |
tree | 55dd9f51c3b86fe19cf53eb1cbbf64bada275cd2 /src/include/gnunet_os_lib.h | |
parent | 6eee0ac04bfb98bc4adad02458fa4e3b4f899229 (diff) | |
download | gnunet-b381e2c60e3f5f9404fe070082d164bf99020869.tar.gz gnunet-b381e2c60e3f5f9404fe070082d164bf99020869.zip |
bincheck
Diffstat (limited to 'src/include/gnunet_os_lib.h')
-rw-r--r-- | src/include/gnunet_os_lib.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/include/gnunet_os_lib.h b/src/include/gnunet_os_lib.h index 13e0b7a98..715061161 100644 --- a/src/include/gnunet_os_lib.h +++ b/src/include/gnunet_os_lib.h | |||
@@ -341,15 +341,15 @@ GNUNET_OS_install_parent_control_handler (void *cls, | |||
341 | 341 | ||
342 | 342 | ||
343 | /** | 343 | /** |
344 | * Check whether the suid bit is set on a file. Attempts to find the | 344 | * Check whether an executable exists and possibly |
345 | * file using the current PATH environment variable as a search path. | 345 | * if the suid bit is set on the file. |
346 | * On W32, if the binary exists, this function tests if we are running | 346 | * Attempts to find the file using the current |
347 | * with administrative rights (sufficient to create RAW sockets). | 347 | * PATH environment variable as a search path. |
348 | * | 348 | * |
349 | * @param binary the name of the file to check | 349 | * @param binary the name of the file to check |
350 | * @return GNUNET_YES if the file is SUID, | 350 | * @return GNUNET_YES if the file is SUID, |
351 | * GNUNET_NO if not, | 351 | * GNUNET_NO if not SUID (but binary exists) |
352 | * GNUNET_SYSERR on error | 352 | * GNUNET_SYSERR on error (no such binary or not executable) |
353 | */ | 353 | */ |
354 | int | 354 | int |
355 | GNUNET_OS_check_helper_binary (const char *binary); | 355 | GNUNET_OS_check_helper_binary (const char *binary); |