Home | History | Annotate | Download | only in src

Lines Matching defs:hnd

68 static __thread struct selabel_handle *hnd;
350 hnd = selabel_open(SELABEL_CTX_FILE, options, SELABEL_NOPT);
351 return hnd ? 0 : -1;
365 if (hnd) {
366 selabel_close(hnd);
367 hnd = NULL;
435 if (!hnd && (matchpathcon_init_prefix(NULL, NULL) < 0))
448 selabel_lookup_raw(hnd, con, path, mode) :
449 selabel_lookup(hnd, con, path, mode);
464 selabel_stats(hnd);
515 if (!hnd && (matchpathcon_init_prefix(NULL, NULL) < 0))
518 if (selabel_lookup_raw(hnd, &fcontext, path, mode) != 0) {
546 if (!hnd && (matchpathcon_init_prefix(NULL, NULL) < 0))
551 if (selabel_lookup_raw(hnd, &scontext, path, st.st_mode)) {