Lines Matching defs:imgp
95 * @param imgp image params to display
99 * @return String form of the information stored in @p imgp
102 identify_error (struct image_params *imgp, struct thread *td, const char *msg)
107 parent = imgp->proc->p_pptr;
114 (imgp->args != NULL) ? imgp->args->fname : "",
115 (uintmax_t)imgp->attr->va_fsid, (uintmax_t)imgp->attr->va_fileid,
116 imgp->attr->va_gen, td->td_ucred->cr_ruid, imgp->proc->p_pid,
246 * @param imgp parameters for the image to check
251 * @note Called with imgp->vp locked.
256 mac_veriexec_fingerprint_check_image(struct image_params *imgp,
259 struct vnode *vp = imgp->vp;
266 error = mac_veriexec_metadata_fetch_fingerprint_status(vp, imgp->attr,
277 identify_error(imgp, td, "got unexpected FINGERPRINT_INVALID");
295 if (!imgp->interpreted) {
296 identify_error(imgp, td, "attempted direct execution");
304 identify_error(imgp, td,
312 identify_error(imgp, td, "no fingerprint");
319 identify_error(imgp, td, "no signatures for device");
326 identify_error(imgp, td, "invalid status field for vnode");