• Home
  • Raw
  • Download

Lines Matching refs:selinux_status

39 static struct selinux_status_t *selinux_status = NULL;  variable
93 if (selinux_status == NULL) { in selinux_status_updated()
98 if (selinux_status == MAP_FAILED) { in selinux_status_updated()
104 curr_seqno = read_sequence(selinux_status); in selinux_status_updated()
136 if (selinux_status == NULL) { in selinux_status_getenforce()
141 if (selinux_status == MAP_FAILED) { in selinux_status_getenforce()
150 seqno = read_sequence(selinux_status); in selinux_status_getenforce()
152 enforcing = selinux_status->enforcing; in selinux_status_getenforce()
154 } while (seqno != read_sequence(selinux_status)); in selinux_status_getenforce()
173 if (selinux_status == NULL) { in selinux_status_policyload()
178 if (selinux_status == MAP_FAILED) { in selinux_status_policyload()
187 seqno = read_sequence(selinux_status); in selinux_status_policyload()
189 policyload = selinux_status->policyload; in selinux_status_policyload()
191 } while (seqno != read_sequence(selinux_status)); in selinux_status_policyload()
208 if (selinux_status == NULL) { in selinux_status_deny_unknown()
213 if (selinux_status == MAP_FAILED) in selinux_status_deny_unknown()
218 seqno = read_sequence(selinux_status); in selinux_status_deny_unknown()
220 deny_unknown = selinux_status->deny_unknown; in selinux_status_deny_unknown()
222 } while (seqno != read_sequence(selinux_status)); in selinux_status_deny_unknown()
275 selinux_status = mmap(NULL, pagesize, PROT_READ, MAP_SHARED, fd, 0); in selinux_status_open()
276 if (selinux_status == MAP_FAILED) { in selinux_status_open()
302 selinux_status = MAP_FAILED; in selinux_status_open()
312 selinux_status = NULL; in selinux_status_open()
328 if (selinux_status == NULL) in selinux_status_close()
332 if (selinux_status == MAP_FAILED) in selinux_status_close()
336 selinux_status = NULL; in selinux_status_close()
343 munmap(selinux_status, pagesize); in selinux_status_close()
344 selinux_status = NULL; in selinux_status_close()