Mark get*[ug]id() as NOLOCK

2014-07-07 Thread Matthew Dempsky
Recently guenther changed user credentials to be a per-process resource, but kept a per-thread cache of credentials that get refreshed at each system call entry. All of the get*[ug]id() system calls simply access the thread cached credentials, and possibly copyout() them if necessary, so they're

Re: Mark get*[ug]id() as NOLOCK

2014-07-07 Thread Mark Kettenis
Date: Mon, 7 Jul 2014 11:18:53 -0700 From: Matthew Dempsky matt...@dempsky.org Recently guenther changed user credentials to be a per-process resource, but kept a per-thread cache of credentials that get refreshed at each system call entry. All of the get*[ug]id() system calls simply

Re: Mark get*[ug]id() as NOLOCK

2014-07-07 Thread Ted Unangst
On Mon, Jul 07, 2014 at 11:18, Matthew Dempsky wrote: Recently guenther changed user credentials to be a per-process resource, but kept a per-thread cache of credentials that get refreshed at each system call entry. All of the get*[ug]id() system calls simply access the thread cached

Re: Mark get*[ug]id() as NOLOCK

2014-07-07 Thread Mark Kettenis
Date: Mon, 07 Jul 2014 15:06:47 -0400 From: Ted Unangst t...@tedunangst.com On Mon, Jul 07, 2014 at 11:18, Matthew Dempsky wrote: Recently guenther changed user credentials to be a per-process resource, but kept a per-thread cache of credentials that get refreshed at each system call

Re: Mark get*[ug]id() as NOLOCK

2014-07-07 Thread Philip Guenther
On Mon, Jul 7, 2014 at 11:18 AM, Matthew Dempsky matt...@dempsky.org wrote: Recently guenther changed user credentials to be a per-process resource, but kept a per-thread cache of credentials that get refreshed at each system call entry. All of the get*[ug]id() system calls simply access the