Lines Matching refs:fcon
152 _cleanup_security_context_free_ security_context_t fcon = NULL;
154 r = selabel_lookup_raw(label_hnd, &fcon, path, st.st_mode);
161 r = lsetfilecon(path, fcon);
208 _cleanup_security_context_free_ security_context_t mycon = NULL, fcon = NULL;
221 r = getfilecon(exe, &fcon);
226 r = security_compute_create(mycon, fcon, sclass, (security_context_t *) label);
255 _cleanup_security_context_free_ security_context_t mycon = NULL, peercon = NULL, fcon = NULL;
278 r = getfilecon(exe, &fcon);
305 r = security_compute_create(mycon, fcon, sclass, (security_context_t *) label);
415 _cleanup_security_context_free_ security_context_t fcon = NULL;
424 r = selabel_lookup_raw(label_hnd, &fcon, path, S_IFDIR);
432 r = selabel_lookup_raw(label_hnd, &fcon, newpath, S_IFDIR);
436 r = setfscreatecon(fcon);
439 log_enforcing("Failed to set SELinux security context %s for %s: %m", fcon, path);
465 _cleanup_security_context_free_ security_context_t fcon = NULL;
493 r = selabel_lookup_raw(label_hnd, &fcon, path, S_IFSOCK);
501 r = selabel_lookup_raw(label_hnd, &fcon, newpath, S_IFSOCK);
505 r = setfscreatecon(fcon);
508 log_enforcing("Failed to set SELinux security context %s for %s: %m", fcon, path);