• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/bsd/kern/

Lines Matching refs:uthread

777 static __inline__ struct uthread *
808 struct uthread *uthr;
1470 audit_new(int event, proc_t p, __unused struct uthread *uthread)
1699 audit_new_wait(int audit_event, proc_t proc, struct uthread *uthread)
1711 uthread->uu_ar = audit_new(audit_event, proc, uthread);
1720 struct uthread *uthread)
1730 assert(uthread->uu_ar == NULL);
1752 (void *) uthread->uu_arg);
1755 uthread->uu_ar = audit_new(audit_event, proc, uthread);
1756 uthread->uu_ar->k_ar.ar_forced_by_mac = 1;
1760 uthread->uu_ar = NULL;
1765 audit_new_wait(audit_event, proc, uthread);
1770 audit_new_wait(audit_event, proc, uthread);
1772 uthread->uu_ar = NULL;
1784 audit_syscall_exit(unsigned short code, int error, AUDIT_PRINTF_ONLY proc_t proc, struct uthread *uthread)
1787 audit_syscall_exit(int error, AUDIT_PRINTF_ONLY proc_t proc, struct uthread *uthread)
1803 retval = uthread->uu_rval[0];
1809 if (uthread->uu_ar == NULL) /* syscall wasn't audited */
1821 (void *) uthread->uu_arg, error, retval,
1822 uthread->uu_ar->k_ar.ar_forced_by_mac);
1825 uthread->uu_ar->k_ar_commit |= AR_COMMIT_KERNEL;
1827 audit_free(uthread->uu_ar);
1834 audit_commit(uthread->uu_ar, error, retval);
1835 if (uthread->uu_ar != NULL) {
1842 uthread->uu_ar = NULL;
1853 struct uthread *uthread;
1861 uthread = curuthread();
1862 if (uthread == NULL)
1869 assert(uthread->uu_ar == NULL);
1889 uthread->uu_ar = audit_new(audit_event, proc, uthread);
1891 uthread->uu_ar = NULL;
1896 audit_mach_syscall_exit(int retval, struct uthread *uthread)
1902 audit_commit(uthread->uu_ar, retval, retval);
1903 uthread->uu_ar = NULL;