freebsd-dev/sys/i386/ibcs2
peter 420ccff7be Add sysentvec->sv_fixlimits() hook so that we can catch cases on 64 bit
systems where the data/stack/etc limits are too big for a 32 bit process.

Move the 5 or so identical instances of ELF_RTLD_ADDR() into imgact_elf.c.

Supply an ia32_fixlimits function.  Export the clip/default values to
sysctl under the compat.ia32 heirarchy.

Have mmap(0, ...) respect the current p->p_limits[RLIMIT_DATA].rlim_max
value rather than the sysctl tweakable variable.  This allows mmap to
place mappings at sensible locations when limits have been reduced.

Have the imgact_elf.c ld-elf.so.1 placement algorithm use the same
method as mmap(0, ...) now does.

Note that we cannot remove all references to the sysctl tweakable
maxdsiz etc variables because /etc/login.conf specifies a datasize
of 'unlimited'.  And that causes exec etc to fail since it can no
longer find space to mmap things.
2003-09-25 01:10:26 +00:00
..
coff.h
ibcs2_dirent.h
ibcs2_errno.c Use __FBSDID(). 2003-06-02 06:48:51 +00:00
ibcs2_errno.h
ibcs2_fcntl.c Use __FBSDID(). 2003-06-02 06:48:51 +00:00
ibcs2_fcntl.h
ibcs2_ioctl.c Use __FBSDID(). 2003-06-02 06:48:51 +00:00
ibcs2_ioctl.h
ibcs2_ipc.c Use __FBSDID(). 2003-06-02 06:48:51 +00:00
ibcs2_ipc.h Remove a few ushorts I missed in my earlier pass. 2003-08-15 14:55:50 +00:00
ibcs2_isc_syscall.h
ibcs2_isc_sysent.c Use __FBSDID(). 2003-06-02 06:48:51 +00:00
ibcs2_isc.c Use __FBSDID(). 2003-06-02 06:48:51 +00:00
ibcs2_misc.c Add a f_vnode field to struct file. 2003-06-22 08:41:43 +00:00
ibcs2_mount.h
ibcs2_msg.c Use __FBSDID(). 2003-06-02 06:48:51 +00:00
ibcs2_other.c Use __FBSDID(). 2003-06-02 06:48:51 +00:00
ibcs2_poll.h
ibcs2_proto.h Remove __P. 2002-03-20 05:48:58 +00:00
ibcs2_signal.c Use __FBSDID(). 2003-06-02 06:48:51 +00:00
ibcs2_signal.h Remove __P. 2002-03-20 05:48:58 +00:00
ibcs2_socksys.c Use __FBSDID(). 2003-06-02 06:48:51 +00:00
ibcs2_socksys.h Remove __P. 2002-03-20 05:48:58 +00:00
ibcs2_stat.c The iBCS2 system call translator for statfs(2) did not check the 2003-08-10 23:26:16 +00:00
ibcs2_stat.h
ibcs2_statfs.h
ibcs2_stropts.h
ibcs2_syscall.h
ibcs2_sysent.c Use __FBSDID(). 2003-06-02 06:48:51 +00:00
ibcs2_sysi86.c Use __FBSDID(). 2003-06-02 06:48:51 +00:00
ibcs2_sysvec.c Add sysentvec->sv_fixlimits() hook so that we can catch cases on 64 bit 2003-09-25 01:10:26 +00:00
ibcs2_termios.h
ibcs2_time.h
ibcs2_types.h
ibcs2_unistd.h
ibcs2_ustat.h
ibcs2_util.c Use __FBSDID(). 2003-06-02 06:48:51 +00:00
ibcs2_util.h SCARGS removal take II. 2002-12-14 01:56:26 +00:00
ibcs2_utime.h
ibcs2_utsname.h
ibcs2_xenix_syscall.h
ibcs2_xenix_sysent.c Use __FBSDID(). 2003-06-02 06:48:51 +00:00
ibcs2_xenix.c Use __FBSDID(). 2003-06-02 06:48:51 +00:00
ibcs2_xenix.h Remove __P. 2002-03-20 05:48:58 +00:00
imgact_coff.c Add a "int fd" argument to VOP_OPEN() which in the future will 2003-07-26 07:32:23 +00:00
Makefile
syscalls.conf
syscalls.isc
syscalls.isc.conf
syscalls.master
syscalls.xenix
syscalls.xenix.conf