aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2014-10-21 11:16:06 (GMT)
committerJouni Malinen <j@w1.fi>2014-10-21 20:32:17 (GMT)
commitccf79ab256f132954b063649227c1bc08d4ec973 (patch)
tree623ef1e839c4f9bdf9025ad9e5ec0adc9e48b8bd /tests
parentc94382259dc1d2977e3c8b0304eef3df18f4e0b0 (diff)
downloadhostap-ccf79ab256f132954b063649227c1bc08d4ec973.zip
hostap-ccf79ab256f132954b063649227c1bc08d4ec973.tar.gz
hostap-ccf79ab256f132954b063649227c1bc08d4ec973.tar.bz2
browser-android: Use execv() directly instead of os_exec()
This allows the URL to be passed as a single argument to the program instead of getting split into multiple by os_exec(). This makes the operation more robust for cases where the URL could have been received from an external source and could potentially add extra arguments to the command line. In addition, fix the /system/bin/input execution by using system() for it instead of execv() through os_exec(). /system/bin/input is a script that execv() won't be able to run. Since the full command line is specified, system() can be used for this. The keycode is also changed from 3 to KEYCODE_HOME to make this work with current Android version. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions