Home
last modified time | relevance | path

Searched refs:subs_file (Results 1 – 2 of 2) sorted by relevance

/external/selinux/libselinux/src/
Dlabel_file.c620 char subs_file[PATH_MAX + 1]; in init() local
633 snprintf(subs_file, sizeof(subs_file), "%s.subs_dist", rec->spec_files[i]); in init()
634 rec->dist_subs = selabel_subs_init(subs_file, rec->dist_subs, rec->digest); in init()
635 snprintf(subs_file, sizeof(subs_file), "%s.subs", rec->spec_files[i]); in init()
636 rec->subs = selabel_subs_init(subs_file, rec->subs, rec->digest); in init()
/external/selinux/python/semanage/
Dseobject.py1786 subs_file = selinux.selinux_file_context_subs_path()
1787 tmpfile = "%s.tmp" % subs_file
1793 os.chmod(tmpfile, os.stat(subs_file)[stat.ST_MODE])
1796 os.rename(tmpfile, subs_file)