Lines Matching refs:thread

36  * Kernel Authorization framework: Management of process/thread credentials
88 * Note: Does *NOT* currently include per-thread credential changes
329 * which is serviced by an external resolver thread calling
331 * cancellation, or an external resolver thread calls in with
380 * the resolver will it to the submitted thread when appropriate.
395 * Wake up an external resolver thread to deal with the new work; one
397 * when a resolver thread comes back into the kernel to request new
681 thread_t thread;
691 * If we lost a race with another thread/memberd restarting, then we
693 * restarting, then the msleep0() will error out here, as our thread
701 * If this is a wakeup from another thread in the resolver
702 * deregistering it, error out the request-for-work thread
710 thread = current_thread();
711 ut = get_bsdthread_info(thread);
732 * a request. This is specifically used so that our per thread
836 thread_t thread = current_thread();
837 struct uthread *ut = get_bsdthread_info(thread);
843 * If this is a wakeup from another thread in the resolver
844 * deregistering it, error out the request-for-work thread
3135 * per process, one per thread, one per vnode cache entry, and
3175 * Description: Get the current thread's effective UID.
3180 * current thread
3192 * Description: Get the current thread's real UID.
3197 * thread
3209 * Description: Get the current thread's effective GID.
3214 * current thread
3226 * Description: Get the current thread's real GID.
3231 * thread
3243 * Description: Returns a pointer to the current thread's credential
3247 * Returns: (kauth_cred_t) Pointer to the current thread's
3251 * caller MUST NOT do anything that would let the thread's
3271 panic("thread wants credential but has no BSD thread info");
3281 panic("thread wants credential but has no BSD process");
3311 * in the case that the process thread may have been changed
3312 * since the last time the thread entered the kernel. It is
3332 * Description: Takes a reference on the current thread's credential, and then
3337 * Returns: (kauth_cred_t) Pointer to the current thread's
3362 panic("%s - thread wants credential but has no BSD thread info", __FUNCTION__);
3364 panic("%s - thread wants credential but has no BSD process", __FUNCTION__);
3374 /* take reference for new cred in thread */
3925 * This code is only ever called from the per-thread credential
3926 * code path in the "set per thread credential" case; and in
4228 * We need to protect for a race where another thread
4306 * We need to protect for a race where another thread