freebsd-dev/sys/compat
John Baldwin 59d8f3ff08 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)
2007-07-12 18:01:31 +00:00
..
freebsd32 Add compat6 wrapper code for mmap/lseek/pread/pwrite/truncate/ftruncate. 2007-07-04 23:04:41 +00:00
ia32 Fix a couple of issues with the stack limit for 32-bit processes on 64-bit 2007-07-12 18:01:31 +00:00
linprocfs Commit 14/14 of sched_lock decomposition. 2007-06-05 00:00:57 +00:00
linsysfs Add a pn_destroy field to pfs_node. This field points to a destructor 2007-03-12 12:16:52 +00:00
linux Don't add the 'pad' argument to the mmap/truncate/etc syscalls. 2007-07-04 23:06:43 +00:00
ndis Quiesce warnings by initializing irql values to zero. 2007-06-10 04:40:13 +00:00
netbsd Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
opensolaris Eliminate now-unused SUSER_ALLOWJAIL arguments to priv_check_cred(); in 2007-06-12 00:12:01 +00:00
pecoff Quiet warnings. I believe gcc is incorrect about these. 2007-07-05 07:38:17 +00:00
svr4 Eliminate now-unused SUSER_ALLOWJAIL arguments to priv_check_cred(); in 2007-06-12 00:12:01 +00:00