Re: bugs in sys_set/get_groups and in_group_p

Nicholas J. Leon (
Fri, 29 Nov 1996 20:32:47 -0500 (EST)

Claus Heine was overheard whispering ...

# Now, the functions sys_get/setgroups() were changed (2.1.10 -> 2.1.11)
# to use copy_from/to_user() to get the entire list of supplementory groups
# in one step instead of copying the group ids one by one. It is easy to
# see that this breaks the functions.

I just discovered that this also exists in 2.0.23. I attempted to
apply the patch that Claus posted, but it didn't do any good. Just
messed up the output from "id": > id
uid=100(nicholas) gid=0(root)

Any help anyone?

Nicholas J. Leon
"Elegance through Simplicity"

SF/F Reading Suggestion #2: Black Sun Rising