Searched defs:fcon (Results 1 - 2 of 2) sorted by relevance

/systemd/src/core/
H A Dselinux-access.c191 security_context_t fcon = NULL; local
228 r = getfilecon_raw(path, &fcon);
236 r = getcon_raw(&fcon);
252 r = selinux_check_access(scon, fcon, tclass, permission, &audit_info);
256 log_debug("SELinux access check scon=%s tcon=%s tclass=%s perm=%s path=%s cmdline=%s: %i", scon, fcon, tclass, permission, path, cl, r);
259 freecon(fcon);
/systemd/src/basic/
H A Dselinux-util.c154 _cleanup_security_context_free_ security_context_t fcon = NULL; local
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; local
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; local
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 local
[all...]

Completed in 1460 milliseconds