Lines Matching defs:trailer
741 mach_msg_max_trailer_t *trailer;
764 * I reserve for the trailer the largest space (MAX_TRAILER_SIZE)
765 * However, the internal size field of the trailer (msgh_trailer_size)
769 trailer = (mach_msg_max_trailer_t *) ((vm_offset_t)kmsg->ikm_header + size);
770 trailer->msgh_sender = current_thread()->task->sec_token;
771 trailer->msgh_audit = current_thread()->task->audit_token;
772 trailer->msgh_trailer_type = MACH_MSG_TRAILER_FORMAT_0;
773 trailer->msgh_trailer_size = MACH_MSG_TRAILER_MINIMUM_SIZE;
788 trailer->msgh_labels.sender = 0;
790 trailer->msgh_labels.sender = 0;
821 mach_msg_max_trailer_t *trailer;
866 * I reserve for the trailer the largest space (MAX_TRAILER_SIZE)
867 * However, the internal size field of the trailer (msgh_trailer_size)
871 trailer = (mach_msg_max_trailer_t *)
873 trailer->msgh_sender = KERNEL_SECURITY_TOKEN;
874 trailer->msgh_audit = KERNEL_AUDIT_TOKEN;
875 trailer->msgh_trailer_type = MACH_MSG_TRAILER_FORMAT_0;
876 trailer->msgh_trailer_size = MACH_MSG_TRAILER_MINIMUM_SIZE;
878 trailer->msgh_labels.sender = 0;