freebsd-dev/sys/i386/linux
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_linux.c Restored non-egregious casts so that this file compiles on i386's with 2003-09-07 13:23:45 +00:00
linux_dummy.c Use __FBSDID(). 2003-06-02 16:56:40 +00:00
linux_genassym.c Use __FBSDID(). 2003-06-02 16:56:40 +00:00
linux_ipc64.h - Add support for IPC_64 extensions into shmctl(2), semctl(2) and msgctl(2); 2002-10-11 11:43:09 +00:00
linux_locore.s Remove the leading underscore from all symbols defined in x86 asm 2001-02-25 06:29:04 +00:00
linux_machdep.c Use __FBSDID(). 2003-06-02 16:56:40 +00:00
linux_proto.h Regen from syscalls.master 1.50. 2003-02-20 13:34:15 +00:00
linux_ptrace.c Use __FBSDID(). 2003-06-02 16:56:40 +00:00
linux_syscall.h Regen from syscalls.master 1.50. 2003-02-20 13:34:15 +00:00
linux_sysent.c Use __FBSDID(). 2003-06-02 16:56:40 +00:00
linux_sysvec.c Add sysentvec->sv_fixlimits() hook so that we can catch cases on 64 bit 2003-09-25 01:10:26 +00:00
linux.h Correctly map SIGSYS signal to/from Linux. 2003-02-24 16:16:45 +00:00
Makefile Make the target a little bit more generic. 2000-11-01 08:47:34 +00:00
syscalls.conf
syscalls.master Mark linux_getpid(), linux_getuid() and linux_getgid() as MPSAFE. 2003-02-20 13:32:48 +00:00