Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jul 2007 18:01:31 +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/amd64/linux32 linux32_sysvec.c src/sys/compat/ia32 ia32_sysvec.c src/sys/kern kern_exec.c kern_resource.c src/sys/sys sysent.h
Message-ID:  <200707121801.l6CI1Vr6080572@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2007-07-12 18:01:31 UTC

  FreeBSD src repository

  Modified files:
    sys/amd64/linux32    linux32_sysvec.c 
    sys/compat/ia32      ia32_sysvec.c 
    sys/kern             kern_exec.c kern_resource.c 
    sys/sys              sysent.h 
  Log:
  Fix a couple of issues with the stack limit for 32-bit processes on 64-bit
  kernels exposed by the recent fixes to resource limits for 32-bit processes
  on 64-bit kernels:
  - Let ABIs expose their maximum stack size via a new pointer in sysentvec
    and use that in preference to maxssiz during exec() rather than always
    using maxssiz for all processses.
  - Apply the ABI's limit fixup to the previous stack size when adjusting
    RLIMIT_STACK to determine if the existing mapping for the stack needs to
    be grown or shrunk (as well as how much it should be grown or shrunk).
  
  Approved by:    re (kensmith)
  
  Revision  Changes    Path
  1.30      +2 -1      src/sys/amd64/linux32/linux32_sysvec.c
  1.26      +9 -8      src/sys/compat/ia32/ia32_sysvec.c
  1.307     +9 -4      src/sys/kern/kern_exec.c
  1.179     +12 -8     src/sys/kern/kern_resource.c
  1.55      +1 -0      src/sys/sys/sysent.h



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