Searched refs:from_context (Results 1 – 1 of 1) sorted by relevance
2883 char *from_context = NULL; in mch_copy_sec() local2886 if (getfilecon((char *)from_file, &from_context) < 0) in mch_copy_sec()2904 freecon (from_context); in mch_copy_sec()2907 if (strcmp(from_context, to_context) != 0) in mch_copy_sec()2909 if (setfilecon((char *)to_file, from_context) < 0) in mch_copy_sec()2917 freecon(from_context); in mch_copy_sec()