Home | History | Annotate | Download | only in utils

Lines Matching refs:backend

12 		"usage: %s -b backend [-v] [-r] -k key [-t type] [-f file]\n\n"
14 "-b The backend - \"file\", \"media\", \"x\", \"db\" or "
18 "-k Lookup key - Depends on backend.\n\t"
19 "-t Lookup type - Optional as depends on backend.\n\t"
25 " \"file\" backend for path \"/run\" with mode = 0\n\t"
27 " lookup_raw the \"X\" backend for type SELABEL_X_EVENT\n\t"
35 int raw = 0, type = 0, backend = 0, rc, opt;
51 backend = SELABEL_CTX_FILE;
53 backend = SELABEL_CTX_MEDIA;
55 backend = SELABEL_CTX_X;
57 backend = SELABEL_CTX_DB;
59 backend = SELABEL_CTX_ANDROID_PROP;
61 fprintf(stderr, "Unknown backend: %s\n",
89 hnd = selabel_open(backend, selabel_option, 2);