Home
last modified time | relevance | path

Searched refs:cred_size (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/core/jni/
Dcom_android_internal_os_ZygoteCommandBuffer.cpp402 socklen_t cred_size = sizeof credentials; in com_android_internal_os_ZygoteCommandBuffer_nativeForkRepeatedly() local
403 if (getsockopt(n_buffer->getFd(), SOL_SOCKET, SO_PEERCRED, &credentials, &cred_size) == -1 in com_android_internal_os_ZygoteCommandBuffer_nativeForkRepeatedly()
404 || cred_size != sizeof credentials) { in com_android_internal_os_ZygoteCommandBuffer_nativeForkRepeatedly()
477 if (getsockopt(session_socket, SOL_SOCKET, SO_PEERCRED, &credentials, &cred_size) == -1) { in com_android_internal_os_ZygoteCommandBuffer_nativeForkRepeatedly()
480 if (cred_size != sizeof credentials) { in com_android_internal_os_ZygoteCommandBuffer_nativeForkRepeatedly()
482 cred_size, static_cast<int>(sizeof credentials))); in com_android_internal_os_ZygoteCommandBuffer_nativeForkRepeatedly()