diff options
author | Matthew Dempsky <matthew@cvs.openbsd.org> | 2014-07-07 19:59:01 +0000 |
---|---|---|
committer | Matthew Dempsky <matthew@cvs.openbsd.org> | 2014-07-07 19:59:01 +0000 |
commit | 94d675840e060f96b84fd584db1de03636c9acf6 (patch) | |
tree | 73b670b8390ed4529781c649f1cacb9b33d6694a /sys/dev/usb/ucom.c | |
parent | 54887a6441971bcef7b90de45898d5ad4a94a45f (diff) |
Mark get{,e,res}{u,g}id() and getgroups() as NOLOCK
A little while back, guenther moved user credentials to a per-process
property, but also kept a per-thread cache that would remain stable
for the duration of a thread's system call. These system calls now
only access the thread's cached credentials, so they're safe to run
without the kernel lock.
ok kettenis, guenther
Diffstat (limited to 'sys/dev/usb/ucom.c')
0 files changed, 0 insertions, 0 deletions