Searched refs:curcon (Results 1 – 1 of 1) sorted by relevance
590 static int compare_types(const char *curcon, const char *newcon, char **newtypecon) in compare_types() argument597 cona = context_new(curcon); in compare_types()640 char *curcon = NULL; in restorecon_sb() local721 if (lgetfilecon_raw(pathname, &curcon) < 0) { in restorecon_sb()725 curcon = NULL; in restorecon_sb()728 if (curcon == NULL || strcmp(curcon, newcon) != 0) { in restorecon_sb()731 if (!flags->set_specctx && curcon && in restorecon_sb()732 (is_context_customizable(curcon) > 0)) { in restorecon_sb()736 pathname, curcon); in restorecon_sb()741 if (!flags->set_specctx && curcon) { in restorecon_sb()[all …]