Lines Matching refs:ret
25 int ret = -1; in main() local
39 ret = prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0); in main()
40 CHECK_ERROR(ret < 0, error, "Failed to set KEEPCAPS: %s", strerror(errno)); in main()
43 ret = setresgid(AID_SYSTEM, AID_SYSTEM, AID_SYSTEM); in main()
44 CHECK_ERROR(ret < 0, error, "Failed to set GID: %s", strerror(errno)); in main()
45 ret = setresuid(AID_SYSTEM, AID_SYSTEM, AID_SYSTEM); in main()
46 CHECK_ERROR(ret < 0, error, "Failed to set UID: %s", strerror(errno)); in main()
57 ret = capset(&capheader, capdata); in main()
58 CHECK_ERROR(ret < 0, error, "Could not set capabilities: %s", in main()
70 ret = dispatcher->EnterDispatchLoop(); in main()
71 CHECK_ERROR(ret < 0, error, "Dispatch loop exited because: %s\n", in main()
72 strerror(-ret)); in main()
75 return ret; in main()