freebsd-dev/sys/compat/svr4
Peter Wemm c460ac3a00 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
..
imgact_svr4.c Use __FBSDID(). 2003-06-10 21:44:29 +00:00
Makefile
svr4_acl.h
svr4_dirent.h
svr4_errno.h
svr4_exec.h
svr4_fcntl.c Add a f_vnode field to struct file. 2003-06-22 08:41:43 +00:00
svr4_fcntl.h
svr4_filio.c Use __FBSDID(). 2003-06-10 21:44:29 +00:00
svr4_filio.h
svr4_fuser.h
svr4_hrt.h
svr4_ioctl.c Use __FBSDID(). 2003-06-10 21:44:29 +00:00
svr4_ioctl.h
svr4_ipc.c Use __FBSDID(). 2003-06-10 21:44:29 +00:00
svr4_ipc.h
svr4_misc.c Remove dangling extern reference to swap_pager_full 2003-08-06 18:40:49 +00:00
svr4_mman.h
svr4_proto.h
svr4_resource.c Use __FBSDID(). 2003-06-10 21:44:29 +00:00
svr4_resource.h
svr4_siginfo.h
svr4_signal.c Use __FBSDID(). 2003-06-10 21:44:29 +00:00
svr4_signal.h
svr4_socket.c Use __FBSDID(). 2003-06-10 21:44:29 +00:00
svr4_socket.h Put definition of struct svr4_sockcache_entry in a .h file rather than 2003-05-31 20:33:18 +00:00
svr4_sockio.c Use __FBSDID(). 2003-06-10 21:44:29 +00:00
svr4_sockio.h
svr4_sockmod.h
svr4_stat.c Use __FBSDID(). 2003-06-10 21:44:29 +00:00
svr4_stat.h
svr4_statvfs.h
svr4_stream.c Use __FBSDID(). 2003-06-10 21:44:29 +00:00
svr4_stropts.h
svr4_syscall.h
svr4_syscallnames.c
svr4_sysconfig.h
svr4_sysent.c
svr4_systeminfo.h
svr4_sysvec.c Add sysentvec->sv_fixlimits() hook so that we can catch cases on 64 bit 2003-09-25 01:10:26 +00:00
svr4_termios.c Use __FBSDID(). 2003-06-10 21:44:29 +00:00
svr4_termios.h
svr4_time.h
svr4_timod.h
svr4_ttold.c Use __FBSDID(). 2003-06-10 21:44:29 +00:00
svr4_ttold.h
svr4_types.h
svr4_ucontext.h
svr4_ulimit.h
svr4_ustat.h
svr4_util.h
svr4_utsname.h
svr4_wait.h
svr4.h Don't #define memset() to bzero(), it is far too prone to bite somebody. 2003-05-12 05:08:38 +00:00
syscalls.conf
syscalls.master