Home
last modified time | relevance | path

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

/systemd-251/src/shared/
Dselinux-util.c473 _cleanup_freecon_ char *filecon = NULL; in selinux_create_file_prepare_abspath() local
484 r = selabel_lookup_raw(label_hnd, &filecon, abspath, mode); in selinux_create_file_prepare_abspath()
493 if (setfscreatecon_raw(filecon) < 0) in selinux_create_file_prepare_abspath()
494 …g_enforcing_errno(errno, "Failed to set SELinux security context %s for %s: %m", filecon, abspath); in selinux_create_file_prepare_abspath()