Home
last modified time | relevance | path

Searched refs:selabel_handle (Results 1 – 7 of 7) sorted by relevance

/coreutils/src/
Dselinux.h22 struct selabel_handle;
35 restorecon (struct selabel_handle *selabel_handle,
38 defaultcon (struct selabel_handle *selabel_handle,
44 restorecon (struct selabel_handle *selabel_handle, in restorecon() argument
49 defaultcon (struct selabel_handle *selabel_handle, in defaultcon() argument
Dselinux.c110 defaultcon (struct selabel_handle *selabel_handle, in defaultcon() argument
130 if (selabel_lookup (selabel_handle, &scon, path, mode) < 0) in defaultcon()
178 restorecon_private (struct selabel_handle *selabel_handle, char const *path) in restorecon_private() argument
189 if (!selabel_handle) in restorecon_private()
220 if (selabel_lookup (selabel_handle, &scon, path, sb.st_mode) < 0) in restorecon_private()
285 restorecon (struct selabel_handle *selabel_handle, in restorecon() argument
303 bool ok = restorecon_private (selabel_handle, path) != -1; in restorecon()
315 if (restorecon_private (selabel_handle, fts->fts_path) < 0) in restorecon()
Dcopy.h24 struct selabel_handle;
181 struct selabel_handle *set_security_context;
Dmkfifo.c82 struct selabel_handle *set_security_context = nullptr; in main()
Dmknod.c99 struct selabel_handle *set_security_context = nullptr; in main()
Dmkdir.c103 struct selabel_handle *set_security_context;
Dinstall.c303 static struct selabel_handle *
307 static struct selabel_handle *hnd; in get_labeling_handle()
336 struct selabel_handle *hnd = get_labeling_handle (); in setdefaultfilecon()