Home
last modified time | relevance | path

Searched refs:g_fcHandle (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/base/security/selinux_adapter/interfaces/policycoreutils/src/
H A Dselinux_restorecon.c28 static struct selabel_handle *g_fcHandle = NULL; variable
37 if (g_fcHandle != NULL) { in SetFileContextsHandle()
58 g_fcHandle = selabel_open(SELABEL_CTX_FILE, options, index); in SetFileContextsHandle()
59 if (g_fcHandle == NULL) { in SetFileContextsHandle()
64 selinux_restorecon_set_sehandle(g_fcHandle); in SetFileContextsHandle()
70 if (g_fcHandle == NULL) { in RestoreconCommon()