Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jul 2006 21:32:20 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_prot.c src/sys/sys syscallsubr.h src/sys/i386/ibcs2 ibcs2_misc.c syscalls.xenix
Message-ID:  <200607062132.k66LWK6B050010@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2006-07-06 21:32:20 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_prot.c 
    sys/sys              syscallsubr.h 
    sys/i386/ibcs2       ibcs2_misc.c syscalls.xenix 
  Log:
  Add kern_setgroups() and kern_getgroups() and use them to implement
  ibcs2_[gs]etgroups() rather than using the stackgap.  This also makes
  ibcs2_[gs]etgroups() MPSAFE.  Also, it cleans up one bit of weirdness in
  the old setgroups() where it allocated an entire credential just so it had
  a place to copy the group list into.  Now setgroups just allocates a
  NGROUPS_MAX array on the stack that it copies into and then passes to
  kern_setgroups().
  
  Revision  Changes    Path
  1.63      +25 -42    src/sys/i386/ibcs2/ibcs2_misc.c
  1.12      +2 -2      src/sys/i386/ibcs2/syscalls.xenix
  1.203     +43 -26    src/sys/kern/kern_prot.c
  1.39      +2 -0      src/sys/sys/syscallsubr.h



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