Messages in this thread |  | | Date | Thu, 29 Aug 2002 01:20:43 +0200 | Subject | Re: problems with changing UID/GID | From | Trond Myklebust <> |
| |
>>>>> " " == Dave McCracken <dmccr@us.ibm.com> writes:
> I looked through your patches. It looks like you're on the > right track, generally. I am a little concerned about some of > the current_get*/set* functions. I'm not entirely convinced > there aren't race conditions in them, but I need to think > harder on it.
Oh, in the current incarnation there are definitely races w.r.t. CLONE_CRED. The objective of these 3 patches is, however, just to introduce the basic ucred to the kernel, so that we can get on with work on the needed VFS changes. Once that process is completed, we will hopefully just be doing a single current_getucred() per syscall (and then passing the resulting ucred down to the filesystem layers).
Note: I just updated the original patches with fixed versions that eliminate a couple of stupid bugs (a couple of automatic search+replace cases that were screwed). With these fixes, the 2.5.32 kernel boots fine, and appears to be working normally.
Cheers, Trond - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |