Lines Matching refs:fcon
154 _cleanup_security_context_free_ security_context_t fcon = NULL;
156 r = selabel_lookup_raw(label_hnd, &fcon, path, st.st_mode);
163 r = lsetfilecon(path, fcon);
210 _cleanup_security_context_free_ security_context_t mycon = NULL, fcon = NULL;
223 r = getfilecon_raw(exe, &fcon);
228 r = security_compute_create(mycon, fcon, sclass, (security_context_t *) label);
257 _cleanup_security_context_free_ security_context_t mycon = NULL, peercon = NULL, fcon = NULL;
280 r = getfilecon_raw(exe, &fcon);
307 r = security_compute_create(mycon, fcon, sclass, (security_context_t *) label);
422 _cleanup_security_context_free_ security_context_t fcon = NULL;
451 r = selabel_lookup_raw(label_hnd, &fcon, path, S_IFSOCK);
459 r = selabel_lookup_raw(label_hnd, &fcon, newpath, S_IFSOCK);
472 if (setfscreatecon(fcon) < 0) {
473 log_enforcing("Failed to set SELinux security context %s for %s: %m", fcon, path);