Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: [elad-kernelauth] src/sys/compat/hpux



David Laight wrote:
> On Tue, Apr 18, 2006 at 12:07:59PM +0000, Elad Efrat wrote:
> 
>>Module Name:  src
>>Committed By: elad
>>Date:         Tue Apr 18 12:07:59 UTC 2006
>>
>>Modified Files:
>>      src/sys/compat/hpux [elad-kernelauth]: hpux_compat.c
>>
>>Log Message:
>>adapt to kauth, pointed out by yamt@, thanks!
>>
>>the logic i used here is that hp-ux presumably takes cr_groups[0] as the
>>euid - see the diff. this should be tested (do people use it anyway?)
> 
> 
> Presumably you meant egid ?

Yes of course.

> How does the generic code that sorts cr_groups[] affect this?
> (Or has that code been deleted?)

It was deprecated. Now you kauth_cred_setgroups() and it just memcpy()'s
the array.

Note: we're still sorting the groups in sys_setgroups() on HEAD (this
has nothing to do with kauth).

-e.

-- 
Elad Efrat



Home | Main Index | Thread Index | Old Index