Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Feb 2010 22:16:16 +0000 (UTC)
From:      Brooks Davis <brooks@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/boot/forth loader.conf src/sys/compat/linux linux_misc.c linux_uid16.c src/sys/compat/svr4 svr4_misc.c src/sys/i386/ibcs2 ibcs2_misc.c src/sys/kern kern_mib.c kern_prot.c subr_param.c src/sys/rpc authunix_prot.c ...
Message-ID:  <201002242217.o1OMHDxi046620@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
brooks      2010-02-24 22:16:16 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_8)
    sys/boot/forth       loader.conf 
    sys/compat/linux     linux_misc.c linux_uid16.c 
    sys/compat/svr4      svr4_misc.c 
    sys/i386/ibcs2       ibcs2_misc.c 
    sys/kern             kern_mib.c kern_prot.c subr_param.c 
    sys/rpc              authunix_prot.c 
    sys/security/audit   audit_arg.c 
    sys/sys              systm.h 
  Log:
  SVN rev 204293 on 2010-02-24 22:16:16Z by brooks
  
  MFC r202143,202163,202341,202342,204278
  
    Replace the static NGROUPS=NGROUPS_MAX+1=1024 with a dynamic
    kern.ngroups+1.  kern.ngroups can range from NGROUPS_MAX=1023 to
    somewhere in the neighborhood of INT_MAX/4 one a system with sufficent
    RAM and memory bandwidth.  Given that the Windows group limit is
    1024, this range should be sufficient for most applications
  
  r202342:
    Only allocate the space we need before calling kern_getgroups instead
    of allocating what ever the user asks for up to "ngroups_max + 1".  On
    systems with large values of kern.ngroups this will be more efficient.
  
    The now redundant check that the array is large enough in
    kern_getgroups() is deliberate to allow this change to be merged to
    stable/8 without breaking potential third party consumers of the API.
  
  Revision   Changes    Path
  1.143.2.3  +1 -0      src/sys/boot/forth/loader.conf
  1.240.2.3  +1 -1      src/sys/compat/linux/linux_misc.c
  1.24.2.2   +1 -1      src/sys/compat/linux/linux_uid16.c
  1.109.2.2  +1 -1      src/sys/compat/svr4/svr4_misc.c
  1.75.2.2   +8 -4      src/sys/i386/ibcs2/ibcs2_misc.c
  1.98.2.4   +2 -2      src/sys/kern/kern_mib.c
  1.226.2.2  +12 -6     src/sys/kern/kern_prot.c
  1.90.2.2   +12 -0     src/sys/kern/subr_param.c
  1.7.2.2    +3 -3      src/sys/rpc/authunix_prot.c
  1.32.2.2   +2 -2      src/sys/security/audit/audit_arg.c
  1.276.2.5  +1 -0      src/sys/sys/systm.h



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