Home
last modified time | relevance | path

Searched refs:username_len (Results 1 - 1 of 1) sorted by relevance

/kernel/linux/common_modules/tzdriver/core/
H A Dsession_manager.c399 uint32_t username_len = 0; in set_login_information_uname() local
400 int ret = tc_ns_get_uname(uid, uname, sizeof(uname), &username_len); in set_login_information_uname()
401 if (ret < 0 || username_len >= MAX_NAME_LENGTH) { in set_login_information_uname()
405 if (memcpy_s(dev_file->pub_key, MAX_PUBKEY_LEN, uname, username_len)) { in set_login_information_uname()
410 dev_file->pub_key_len = username_len; in set_login_information_uname()

Completed in 3 milliseconds