Lines Matching refs:rc
202 int rc = setgroups(gids.size(), reinterpret_cast<const gid_t*>(&gids[0]));
203 if (rc == -1) {
234 int rc = setrlimit(javaRlimit[0], &rlim);
235 if (rc == -1) {
271 int rc = prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0);
272 if (rc == -1) {
281 int rc = prctl(PR_CAPBSET_DROP, i, 0, 0, 0);
282 if (rc == -1) {
667 int rc = createProcessGroup(uid, getpid());
668 if (rc != 0) {
669 if (rc == -EROFS) {
672 ALOGE("createProcessGroup(%d, %d) failed: %s", uid, pid, strerror(-rc));
692 int rc = setresgid(gid, gid, gid);
693 if (rc == -1) {
704 rc = setresuid(uid, uid, uid);
705 if (rc == -1) {
745 rc = selinux_android_setcontext(uid, is_system_server, se_info_c_str, se_name_c_str);
746 if (rc == -1) {