Searched refs:curcon (Results 1 – 1 of 1) sorted by relevance
557 static int compare_types(char *curcon, char *newcon, char **newtypecon) in compare_types() argument564 cona = context_new(curcon); in compare_types()601 char *curcon = NULL; in restorecon_sb() local670 if (lgetfilecon_raw(pathname, &curcon) < 0) { in restorecon_sb()674 curcon = NULL; in restorecon_sb()677 if (curcon == NULL || strcmp(curcon, newcon) != 0) { in restorecon_sb()678 if (!flags->set_specctx && curcon && in restorecon_sb()679 (is_context_customizable(curcon) > 0)) { in restorecon_sb()683 pathname, curcon); in restorecon_sb()688 if (!flags->set_specctx && curcon) { in restorecon_sb()[all …]