Messages in this thread |  | | From | "Nicholas J. Leon" <> | Subject | Re: bugs in sys_set/get_groups and in_group_p | Date | 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":
nicholas@madi:...homes/nicholas > id uid=100(nicholas) gid=0(root) groups=0(root),65535,0(root),0(root),0(root),0(root),0(root),0(root),0(root),0(root),0(root),0(root),0(root),0(root),0(root),0(root),0(root),0(root),0(root),0(root),0(root),0(root),0(root),0(root),0(root),0(root),0(root),0(root),0(root),0(root),0(root),0(root)
Any help anyone? N! ------------------------------------------------------------------------------ Nicholas J. Leon nicholas@binary9.net "Elegance through Simplicity" http://www.binary9.net/nicholas SF/F Reading Suggestion #2: Black Sun Rising
|  |