[OpenAFS] Re: OpenAFS on Linux 2.5.x - bug in setgroups()

Christopher Allen Wing wingc@engin.umich.edu
Thu, 17 Apr 2003 15:39:03 -0400 (EDT)


On a related note, there is a bug in the setgroups() wrapper for Linux in
OpenAFS: it returns improper values when an error occurs.


Here's a patch:

	http://www-personal.engin.umich.edu/~wingc/patches/openafs-200030410-errno.patch



Thanks,

Chris Wing
wingc@engin.umich.edu


On Thu, 17 Apr 2003, Chaskiel M Grundman wrote:

> No kernel hacking required. if you setgroups a list that includes magic pag
> groups at the end, you can join any pag you want (setgroups is root only,
> of course)