fragattacks/src/utils
Purushottam Kushwaha e8581183f9 HS 2.0: Use execve() with custom env PATH to launch browser using 'am'
With new restriction in Android, if PATH env variable doesn't have
correct path of 'am' binary, execv() fails to launch wpadebug browser
(am starts, but something seems to fail within its internal processing).

This commit is a workaround to use execve() with custom environment PATH
which includes "/system/bin;/vendor/bin" to handle the cases where
hs20-osu-client fails to launch wpadebug browser through /system/bin/am.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-10-12 15:51:05 +03:00
..
.gitignore Add build rules for building a library from src/utils files 2009-12-05 21:39:41 +02:00
base64.c tests: Update base64 OOM test cases to match implementation changes 2017-06-17 18:04:32 +03:00
base64.h Add base64url encoding/decoding per RFC 4648 2017-06-17 18:04:32 +03:00
bitfield.c Fix bitfield_get_first_zero() to not read beyond buffer 2015-03-14 13:50:12 +02:00
bitfield.h Add bitfield routines 2013-04-27 22:16:40 +03:00
browser-android.c Android: Give user the option for selecting browser for HS 2.0 OSU 2015-11-22 21:06:17 +02:00
browser-system.c Clean up debug prints to use wpa_printf() 2014-12-26 13:20:57 +02:00
browser-wpadebug.c HS 2.0: Use execve() with custom env PATH to launch browser using 'am' 2018-10-12 15:51:05 +03:00
browser.c HS 2.0R2: Add wrapper functions for WebKit 2014-03-12 01:09:21 +02:00
browser.h HS 2.0R2: Add wrapper functions for WebKit 2014-03-12 01:09:21 +02:00
build_config.h Remove forgotten Xcode defines 2013-07-09 15:20:17 +03:00
common.c common: Add helper function to convert RSSI to RCPI 2017-01-03 15:18:29 +02:00
common.h Define host_to_le64() for Windows builds 2018-02-17 18:04:54 +02:00
crc32.c Move CRC-32 routine from wlantest to src/utils 2016-10-09 17:13:23 +03:00
crc32.h Move CRC-32 routine from wlantest to src/utils 2016-10-09 17:13:23 +03:00
edit_readline.c edit: Fix libreadline history clearing with WPA_TRACE 2013-05-14 16:46:38 +03:00
edit_simple.c wpa_cli: Add backspace key process for some terminal 2016-05-13 18:48:45 +03:00
edit.c edit: Increase buffer size to 4096 bytes 2014-03-31 12:30:50 +03:00
edit.h edit: Add support for setting prompt string 2012-08-05 20:46:34 +03:00
eloop_win.c eloop: Add eloop_sock_requeue() 2016-02-07 12:38:04 +02:00
eloop.c kqueue: Use 0 instead of NULL for udata 2016-02-18 17:40:12 +02:00
eloop.h eloop: Fix comments mismatch eloop_event/timeout_handler definitions 2017-02-04 20:41:12 +02:00
ext_password_i.h Move extern declarations for ext_password backends into a header file 2016-06-24 19:02:58 +03:00
ext_password_test.c Clear wpa_supplicant configuration keys explicitly 2014-07-02 12:38:48 +03:00
ext_password.c Move extern declarations for ext_password backends into a header file 2016-06-24 19:02:58 +03:00
ext_password.h EXT PW: Add framework for supporting external password storage 2012-08-03 22:15:42 +03:00
http_curl.c hs20-osu-client: Fix build with new OpenSSL and BoringSSL 2017-08-23 11:40:10 +03:00
http-utils.h HS 2.0R2: Add parse_cert command for debugging purposes 2014-03-12 01:09:22 +02:00
includes.h Drop CONFIG_TI_COMPILER ifdefs 2015-07-17 21:57:07 +03:00
ip_addr.c Remove unused hostapd_ip_diff() 2014-05-26 17:21:44 +03:00
ip_addr.h Remove unused hostapd_ip_diff() 2014-05-26 17:21:44 +03:00
json.c JSON: Fix a memory leak on an error path 2017-11-29 13:22:44 +02:00
json.h Add JavaScript Object Notation (JSON) parser (RFC7159) 2017-06-17 18:04:51 +03:00
list.h trace: Initialize alloc_list even without os_program_init() call 2015-02-21 17:34:37 +02:00
Makefile Move CRC-32 routine from wlantest to src/utils 2016-10-09 17:13:23 +03:00
module_tests.h tests: Declare module test functions in a header file 2016-06-23 18:26:09 +03:00
os_internal.c Make sure configuration is saved to storage device 2015-08-27 18:06:05 +03:00
os_none.c Introduce os_memdup() 2017-03-07 13:18:49 +02:00
os_unix.c Introduce os_memdup() 2017-03-07 13:18:49 +02:00
os_win32.c Introduce os_memdup() 2017-03-07 13:18:49 +02:00
os.h Introduce os_memdup() 2017-03-07 13:18:49 +02:00
pcsc_funcs.c Link to, and adjust types for, the PCSC framework included with OSX 2016-08-07 11:20:33 +03:00
pcsc_funcs.h SCARD: Clean up SIM/USIM selection 2013-11-17 16:47:38 +02:00
platform.h radiotap: Silence sparse warnings about byte order swapping 2016-06-23 18:08:11 +03:00
radiotap_iter.h radiotap: Silence sparse warnings about byte order swapping 2016-06-23 18:08:11 +03:00
radiotap.c radiotap: Silence sparse warnings about byte order swapping 2016-06-23 18:08:11 +03:00
radiotap.h radiotap: Silence sparse warnings about byte order swapping 2016-06-23 18:08:11 +03:00
state_machine.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
trace.c trace: Look up start to cope with ASLR 2017-02-28 11:37:19 +02:00
trace.h trace: Free symbols on program exit 2016-02-16 14:10:29 +02:00
utils_module_tests.c tests: JSON module tests for additional array parsing 2017-08-23 00:29:52 +03:00
uuid.c WPS: Add option for using random UUID 2017-04-13 17:38:55 +03:00
uuid.h WPS: Add option for using random UUID 2017-04-13 17:38:55 +03:00
wpa_debug.c hostapd: Add possibility to send debug messages to syslog 2017-01-30 00:57:13 +02:00
wpa_debug.h hostapd: Add possibility to send debug messages to syslog 2017-01-30 00:57:13 +02:00
wpabuf.c Removed redundant NULL check for b in wpabuf_concat() 2016-10-28 19:05:08 +03:00
wpabuf.h utils: Rename hostapd_parse_bin to wpabuf_parse_bin and move it 2016-04-09 11:23:36 +03:00
xml_libxml2.c libxml2: Check for xmlDocDumpFormatMemory() error case 2016-03-16 21:49:28 +02:00
xml-utils.c XML: Do not add empty Value node for nodes with child nodes in TNDS 2018-09-10 21:43:43 +03:00
xml-utils.h XML: Remove forgotten, unused definition of debug_print_func 2014-03-31 12:25:13 +03:00