*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: LWP_CACHE_CREDS | Section: 9 | Source: NetBSD | File: LWP_CACHE_CREDS.9
LWP_CACHE_CREDS(9) FreeBSD Kernel Developer's Manual LWP_CACHE_CREDS(9) NAME LWP_CACHE_CREDS - synchronize LWP credential with process credential SYNOPSIS #include <sys/lwp.h> void LWP_CACHE_CREDS(lwp_t *l, struct proc *p); DESCRIPTION LWP_CACHE_CREDS() updates the LWP's cached credential to match with the process' credential if the latter has been changed after the last synchronization. Each LWPs have its cached credential so that it can be used without worrying about potential of other LWP changing the process' credential. kauth_cred_get() returns the cached credential. LWP_CACHE_CREDS() is called by MD entry code for system call and various traps. LWPs which can live in kernel for long period should call LWP_CACHE_CREDS() by itself to refresh its credential. LWP_CACHE_CREDS() takes the following arguments. l The calling lwp. p The process which the lwp l belongs to. LWP_CACHE_CREDS() might be implemented as a macro. SEE ALSO intro(9), kauth(9) FreeBSD 14.1-RELEASE-p8 December 9, 2007 FreeBSD 14.1-RELEASE-p8

Navigation Options