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

/frameworks/base/core/java/com/android/internal/os/
H A DZygoteInit.java217 int errno = setreuid(ROOT_UID, uid);
219 Log.e(TAG, "setreuid() failed. errno: " + errno);
669 * The Linux syscall "setreuid()"
674 static native int setreuid(int ruid, int euid); method in class:ZygoteInit
/frameworks/base/core/jni/
H A Dcom_android_internal_os_ZygoteInit.cpp41 * private static native boolean setreuid(int ruid, int euid)
46 if (setreuid(ruid, euid) < 0) {
293 { "setreuid", "(II)I",

Completed in 172 milliseconds