Searched refs:label_hnd (Results 1 – 1 of 1) sorted by relevance
| /OK3568_Linux_fs/external/xserver/Xext/ |
| H A D | xselinux_label.c | 42 static struct selabel_handle *label_hnd; variable 106 if (selabel_lookup_raw(label_hnd, &ctx, name, map) == 0) { in SELinuxAtomToSIDLookup() 113 else if (selabel_lookup_raw(label_hnd, &ctx, name, polymap) < 0) { in SELinuxAtomToSIDLookup() 265 if (selabel_lookup_raw(label_hnd, &ctx, name, SELABEL_X_EVENT) < 0) { in SELinuxEventToSID() 297 if (selabel_lookup_raw(label_hnd, &ctx, name, SELABEL_X_EXT) < 0) { in SELinuxExtensionToSID() 355 if (selabel_lookup_raw(label_hnd, &ctx, "remote", SELABEL_X_CLIENT) < 0) in SELinuxDefaultClientLabel() 366 label_hnd = selabel_open(SELABEL_CTX_X, &selabel_option, 1); in SELinuxLabelInit() 367 if (!label_hnd) in SELinuxLabelInit() 374 selabel_close(label_hnd); in SELinuxLabelReset() 375 label_hnd = NULL; in SELinuxLabelReset()
|