Re: [Qemu-devel] [PATCH] syscall getgroups() optimization

2007-06-29 Thread Kirill A. Shutemov
On [Tue, 26.06.2007 00:04], Kirill A. Shutemov wrote: > On success, getgroups() returns the number of supplementary group IDs. So, > we can swap real number group IDs. > > Patch in the attachment. It's trivial. Can anybody commit? -- Regards, Kirill A. Shutemov + Belarus, Minsk + Velesys LL

[Qemu-devel] [PATCH] syscall getgroups() optimization

2007-06-25 Thread Kirill A. Shutemov
On success, getgroups() returns the number of supplementary group IDs. So, we can swap real number group IDs. Patch in the attachment. -- Regards, Kirill A. Shutemov + Belarus, Minsk + Velesys LLC, http://www.velesys.com/ + ALT Linux Team, http://www.altlinux.com/ --- qemu/linux-user/syscal