Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Aug 1999 07:11:01 -0700 (PDT)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/i386/linux linux_misc.c
Message-ID:  <199908251411.HAA94380@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
marcel      1999/08/25 07:11:01 PDT

  Modified files:
    sys/i386/linux       linux_misc.c 
  Log:
  Fix {g|s}etgroups semantics. We use cr_groups[0] to hold egid. This means that
  egid will be twice in the set and that setting cr_groups[0] will change egid.
  This is simply solved by ignoring cr_groups[0]. That is; linux_getgroups does
  not return cr_groups[0] and linux_setgroups does not touch it.
  
  Noticed by: bde
  Brought to my attention by: sheldonh
  
  Revision  Changes    Path
  1.67      +72 -55    src/sys/i386/linux/linux_misc.c



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908251411.HAA94380>