Asking about execv() in os_exec()

Nicolas Cavallari Nicolas.Cavallari at green-communications.fr
Thu Aug 6 02:55:51 EDT 2015


On 06/08/2015 07:14, 최현우 wrote:
> The commands are like below.
> =>
>             :
> Executing wpa_cli -ip2p0 -g at android:wpa_wlan0 -p/data/misc/wifi/sockets -a/data/sbin/cli-action.sh &
> Executing wpa_cli -ip2p0 -g at android:wpa_wlan0 -p/data/misc/wifi/sockets p2p_connect 02:03:7f:10:4e:fd 12345670 display freq=2442 > /data/misc/wifi/cli_status
> execv: Exec format error
To me, it means that the script does not start with a shebang (i.e. 
#!/bin/sh ) so the kernel is unable to execute it.


More information about the HostAP mailing list