1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-25 16:13:17 +00:00
freebsd/sys/amd64/amd64
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
..
amd64_mem.c AMD64 mtrr driver. 2003-08-23 00:27:58 +00:00
amd64-gdbstub.c Use __FBSDID(). 2003-07-25 21:19:19 +00:00
apic_vector.S unifdef -DLAZY_SWITCH and start to tidy up the associated glue. 2003-07-10 01:02:59 +00:00
atomic.c Use __FBSDID(). 2003-07-25 21:19:19 +00:00
autoconf.c Use __FBSDID(). 2003-07-25 21:19:19 +00:00
bios.c Fix copyright comment & FBSDID style nits. 2003-08-25 09:48:48 +00:00
busdma_machdep.c MFi386 rev 1.51 by scottl: make dflt_lock() always panic. 2003-09-22 23:11:42 +00:00
cpu_switch.S Collect the nastiness for preserving the kernel MSR_GSBASE around the 2003-05-15 00:23:40 +00:00
critical.c Expand inline the relevant parts of src/COPYRIGHT for Matt Dillon's 2003-08-12 23:24:05 +00:00
db_disasm.c Use __FBSDID(). 2003-07-25 21:19:19 +00:00
db_interface.c Use __FBSDID(). 2003-07-25 21:19:19 +00:00
db_trace.c Use __FBSDID(). 2003-07-25 21:19:19 +00:00
dump_machdep.c Use __FBSDID(). 2003-07-25 21:19:19 +00:00
elf_machdep.c Add sysentvec->sv_fixlimits() hook so that we can catch cases on 64 bit 2003-09-25 01:10:26 +00:00
exception.S MFi386 rev 1.105 by jhb: fix comment typo 2003-09-22 22:54:14 +00:00
fpu.c Use __FBSDID(). 2003-07-25 21:19:19 +00:00
genassym.c Use __FBSDID(). 2003-07-25 21:19:19 +00:00
identcpu.c Use __FBSDID(). 2003-07-25 21:19:19 +00:00
in_cksum.c Use __FBSDID(). 2003-07-25 21:19:19 +00:00
initcpu.c Use __FBSDID(). 2003-07-25 21:19:19 +00:00
legacy.c Use __FBSDID(). 2003-07-25 21:19:19 +00:00
locore.S Have hammer_time() return the proc0 stack location, and have locore 2003-05-31 06:54:29 +00:00
machdep.c Fix patch transcription typo. s/IDT_BPT/IDT_BP/ 2003-09-23 00:45:55 +00:00
mem.c Use __FBSDID(). 2003-07-25 21:19:19 +00:00
mp_machdep.c Remove an XXX comment by using the per CPU mask added after this comment 2003-09-10 01:36:48 +00:00
mpboot.S - Add support for PAE and more than 4 gigs of ram on x86, dependent on the 2003-03-30 05:24:52 +00:00
mptable.c Remove an XXX comment by using the per CPU mask added after this comment 2003-09-10 01:36:48 +00:00
nexus.c Use __FBSDID(). 2003-07-25 21:19:19 +00:00
pmap.c Simplify (and micro-optimize) pmap_unuse_pt(): Only one caller, 2003-09-13 21:57:38 +00:00
prof_machdep.c Use __FBSDID(). 2003-06-02 16:32:55 +00:00
sigtramp.S Commit MD parts of a loosely functional AMD64 port. This is based on 2003-05-01 01:05:25 +00:00
support.S Add setjmp/longjmp for ddb 2003-05-30 00:58:48 +00:00
sys_machdep.c Use __FBSDID(). 2003-07-25 21:19:19 +00:00
trap.c MFi386 rev 1.256 by jhb: remove redundant #include <sys/sysctl.h> 2003-09-22 22:52:46 +00:00
tsc.c Sync with i386 version. The quality initialization was missing and some 2003-09-23 00:18:45 +00:00
vm_machdep.c Migrate the sf_buf allocator that is used by sendfile(2) and zero-copy 2003-08-29 20:04:10 +00:00