Searched refs:sehandle (Results 1 – 2 of 2) sorted by relevance
127 struct selabel_handle* sehandle; in initialize_backend() local129 sehandle = selabel_open(backend, opts, nopts); in initialize_backend()131 if (!sehandle) { in initialize_backend()141 return sehandle; in initialize_backend()
94 struct selabel_handle *sehandle = NULL; in restorecon_init() local97 sehandle = selinux_restorecon_default_handle(); in restorecon_init()98 selinux_restorecon_set_sehandle(sehandle); in restorecon_init()1388 struct selabel_handle *sehandle; in selinux_restorecon_default_handle() local1394 sehandle = selabel_open(SELABEL_CTX_FILE, fc_opts, 1); in selinux_restorecon_default_handle()1396 if (!sehandle) { in selinux_restorecon_default_handle()1403 return sehandle; in selinux_restorecon_default_handle()