History log of /wlan-dirver/utils/sigma-dut/wpa_ctrl.c (Results 1 – 7 of 7)
Revision Date Author Comments
# a1deeaa4 18-Jun-2018 Srinivas Dasari <dasaris@codeaurora.org>

Validate the data returned by getgrnam() and getpwnam()

getgrnam() returns NULL if the group is not present and getpwnam()
returns NULL if the passwd entry is not present for a given user. Add
NULL

Validate the data returned by getgrnam() and getpwnam()

getgrnam() returns NULL if the group is not present and getpwnam()
returns NULL if the passwd entry is not present for a given user. Add
NULL checks before accessing the data returned by these.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>

show more ...


# 831b5497 22-Mar-2018 Rajiv Ranjan <rrajiv@codeaurora.org>

Introduce wpa_ctrl_open2() to override the default client socket path

This adds a new helper function wpa_ctrl_open2() that can be used
instead of wpa_ctrl_open() to override the default client sock

Introduce wpa_ctrl_open2() to override the default client socket path

This adds a new helper function wpa_ctrl_open2() that can be used
instead of wpa_ctrl_open() to override the default client socket
directory.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>

show more ...


# d7e00081 25-Apr-2018 Veerendranath Jakkam <vjakkam@codeaurora.org>

Android: Replace AID_* macros with getgrnam() and getpwnam()

Android restricts access to private/android_filesystem_config.h.
Thus remove this explicit access and replace the AID_* macros
with getgr

Android: Replace AID_* macros with getgrnam() and getpwnam()

Android restricts access to private/android_filesystem_config.h.
Thus remove this explicit access and replace the AID_* macros
with getgrnam() and getpwnam() calls.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>

show more ...


# e104e32a 03-Apr-2018 vamsi krishna <vamsi_krishna@codeaurora.org>

Remove unused wpa_ctrl_cleanup()

This was causing some build issues due to readdir_r() use and since the
function is completely unused in sigma_dut, it is simplest to just drop
it complete.

Signed-

Remove unused wpa_ctrl_cleanup()

This was causing some build issues due to readdir_r() use and since the
function is completely unused in sigma_dut, it is simplest to just drop
it complete.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>

show more ...


# 769731a2 11-May-2017 Peng Xu <pxu@qti.qualcomm.com>

Introduce shared strlcpy() and strlcat() implementations

These were already used internally in some source code files for
non-Android builds. Share a single common implementations in utils.c and
mak

Introduce shared strlcpy() and strlcat() implementations

These were already used internally in some source code files for
non-Android builds. Share a single common implementations in utils.c and
make it available throughout sigma_dut to make this cleaner.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>

show more ...


# 5df800e1 29-Jan-2016 Pradeep Reddy POTTETI <c_ppotte@qti.qualcomm.com>

Silence static analyzer on wpa_ctrl_open() argument

While all the existing callers of this function within sigma_dut use a
non-NULL ctrl_path argument, static analyzers may warn about the
"missing"

Silence static analyzer on wpa_ctrl_open() argument

While all the existing callers of this function within sigma_dut use a
non-NULL ctrl_path argument, static analyzers may warn about the
"missing" ctrl_path NULL check within one of the paths in this function.
Silence this by using a single check at the beginning of the function.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>

show more ...


# cd4e3c3e 29-Oct-2015 Jouni Malinen <jouni@qca.qualcomm.com>

Import the initial version of sigma_dut open source project

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>