Searched refs:curcon (Results 1 – 1 of 1) sorted by relevance
547 static int compare_types(char *curcon, char *newcon, char **newtypecon) in compare_types() argument554 cona = context_new(curcon); in compare_types()591 char *curcon = NULL; in restorecon_sb() local660 if (lgetfilecon_raw(pathname, &curcon) < 0) { in restorecon_sb()664 curcon = NULL; in restorecon_sb()667 if (curcon == NULL || strcmp(curcon, newcon) != 0) { in restorecon_sb()668 if (!flags->set_specctx && curcon && in restorecon_sb()669 (is_context_customizable(curcon) > 0)) { in restorecon_sb()673 pathname, curcon); in restorecon_sb()678 if (!flags->set_specctx && curcon) { in restorecon_sb()[all …]