[PATCH]: Eliminate HAVE_CYGWIN (and _UWIN) around calls to setgroups() [was Re: openssh for UWIN]

Corinna Vinschen vinschen at redhat.com
Sun Jun 9 06:51:37 EST 2002


On Sat, Jun 08, 2002 at 08:59:11AM -0700, Kevin Steves wrote:
> On Sat, Jun 08, 2002 at 12:02:41AM +0200, Corinna Vinschen wrote:
> > ? openbsd-compat/fake-setgroups.c
> 
> bsd-misc.c is the best place for that i think.  there's a noop
> setlogin() wrapper there too for example.

AFAIK the bsd-XXXX files will be renamed, isn't it?  Will bsd-misc.c
be renamed to fake-misc.c then?

> is there a reason cygwin has initgroups but not setgroups?

It's not implemented so far.  It will be a fake as initgroups, though.
Anyway, even if we implement it in future, that won't help for older
Cygwin versions.

Corinna

-- 
Corinna Vinschen
Cygwin Developer
Red Hat, Inc.
mailto:vinschen at redhat.com



More information about the openssh-unix-dev mailing list