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

/netgear-R7000-V1.0.7.12_1.2.5/src/router/udev/
H A Dudev_selinux.c34 static security_context_t prev_scontext = NULL; variable
145 if (setfscreatecon(prev_scontext) < 0)
160 if (getfscreatecon(&prev_scontext) < 0) {
162 prev_scontext = NULL;
169 if (is_selinux_running() && prev_scontext) {
170 freecon(prev_scontext);
171 prev_scontext = NULL;

Completed in 153 milliseconds