Home | History | Annotate | Download | only in src

Lines Matching defs:rc

11 	int rc = 0;
16 rc = getcon(&mycon);
17 if (rc < 0)
20 rc = getfilecon(filename, &fcon);
21 if (rc < 0)
24 rc = security_compute_create(mycon, fcon, string_to_security_class("process"), &newcon);
25 if (rc < 0)
30 rc = -1;
40 rc = 0;
43 rc = setexeccon(newcon);
44 if (rc < 0)
48 if (rc < 0 && security_getenforce() == 0)
49 rc = 0;
55 return rc < 0 ? rc : 0;
62 int rc;
64 rc = setexecfilecon(filename, "rpm_script_t");
65 if (rc < 0)
66 return rc;