summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-07-24- don't need mmio or io registers mapped for console useJason Wright
- can't map expansion rom this way, remove it until we find a safe way - use less magic constants
2002-07-24 remove the CHANGE undo record type, use a combination of delete and insertVincent Labrecque
to have the same behavior in a simpler way. ok art@
2002-07-24don't use the TAILQ before it is initialised. makes pmdb not crash onVincent Labrecque
exit if called with an non{existent,executable} file. ok art@
2002-07-24spacesTheo de Raadt
2002-07-24Convert to ANSI function headers and make 'ch' argument int, not char.Todd C. Miller
Noticed by deraadt@
2002-07-24use real clones of the libc functionsTheo de Raadt
2002-07-24ok i found itTheo de Raadt
2002-07-24back out broken stuff until it is fixedTheo de Raadt
2002-07-24clean up docs a bitTheo de Raadt
2002-07-24- change pte_spill_X() to take an extra parameter to determine ifDale Rahn
the fault is a EXE fault or R/W fault. - mask/or the SR_NOEXEC bit into the segment register value when the number of executable pages becomes 0/non-zero. - create segments with SR_NOEXEC set, will be cleared when first exec mapping in the segment is created. - allow pte_spill_X() to deal with a new type of fault, page mapped but non executable, when execute was requested. Adds up to - non-exec stack support. [keep mvmeppc in sync]
2002-07-24- change pte_spill_X() to take an extra parameter to determine ifDale Rahn
the fault is a EXE fault or R/W fault. - mask/or the SR_NOEXEC bit into the segment register value when the number of executable pages becomes 0/non-zero. - create segments with SR_NOEXEC set, will be cleared when first exec mapping in the segment is created. - allow pte_spill_X() to deal with a new type of fault, page mapped but non executable, when execute was requested. Adds up to - non-exec stack support for powerpc.
2002-07-24have _THREAD_PRIVATE_MUTEX for DNS/YP/hosts lookup.Jun-ichiro itojun Hagino
2002-07-24limit user code up to below the user stack, making stack addresses, ↵Michael Shalayeff
effectively, unexecutable. signal trampoline is mapped elesewhere now, 10x to art@
2002-07-24ELF_TOOLCHAIN instead of listing all ELF archs.Artur Grabowski
2002-07-24spacingTheo de Raadt
2002-07-24Support for non-exec mappings on sun4m.Artur Grabowski
- support exec traps and deal with them correctly. - Instead of pretending that the pte permissions are a bit-mask, just make two stupid 8-entry tables (one for kernel, one for userland) that provides translation between VM_PROT* masks and pte permissions. This gives sun4m a non-exec stack.
2002-07-24Support for non-exec page mappings.Artur Grabowski
- split the one TSB into two - one for dmmu, one for immu. - don't load pages without PG_EXEC into the immu TSB. - support for setting correct permissions on exec faults.
2002-07-24Pretty nasty hack to make non-exec mappings work.Artur Grabowski
Instead of using FOE for just emulating references, we also keep track of a pages executability and don't remove the FOE bit if the page is not executable. This is implmented with horrible hacks. Maybe when I have time, I'll reimplment the whole pmap to allow this without ugly hacks (read: probably not this decade). The stack on alpha is now non-exec.
2002-07-24and add the things that are missing?Theo de Raadt
2002-07-24why do i always have to mop upTheo de Raadt
2002-07-24make more _dl_*() func params like real ones in libcTheo de Raadt
2002-07-24cope with _dl_mmap() returning void *Theo de Raadt
2002-07-24make _dl_mmap() return void * like othersTheo de Raadt
2002-07-24syncTheo de Raadt
2002-07-23match _dl_ syscall prototypes w/ the real syscalls prototypes, including ↵Michael Shalayeff
args and return values; art@ ok
2002-07-23Do not use bcopy() when you mean ovbcopy(); found the hard way by aaron@Miod Vallat
2002-07-23Remove unused files now that powerpc archs use link_elf.hDale Rahn
2002-07-23Allow 'boot hd:,ofwboot bsd' previously it required '/bsd' instead ofDale Rahn
just 'bsd'.
2002-07-23from reading sam@errno.com's code:Jason Wright
- TRDY and RETRY register definitions were backwards - move TRDY/RETRY setup into its own function
2002-07-23check account expiration time as well; from hamajima@nagoya.ydc.co.jp pr2835Peter Valchev
2002-07-23prevent double free in some error conditions; from xs@kittenz.orgNiels Provos
2002-07-23timeout_list/_spec and limit_list/_spec don't return anything -> no %type.Henning Brauer
ok theo
2002-07-23Don't use a magic constantJason Wright
2002-07-23Typos (ok jason@)Ian Darwin
2002-07-23Cardbus/pcmcia support for macppc. parts borrowed from NetBSD, and otherDale Rahn
portions of the tree.
2002-07-23Turn READ/WRITE into function calls (driver was getting too bloated withJason Wright
inline macro's; if hifn wanted to make it possible to write a very efficient driver they would have fixed the bugs in the chips). Also, invalidate the burst write checks when a read is executed.
2002-07-23Use the proper cardbus_conf_read() rather than pci (in a cardbus driver).Dale Rahn
ok fgsch@
2002-07-23only break in ddb if the kernel has been mappedMichael Shalayeff
2002-07-23print page protection w/ bits in dump_tableMichael Shalayeff
2002-07-23utmp_len is unsigned; display error consistent with other options.Kevin Steves
ok markus@
2002-07-23Now that sparc64 implements reverse splassert, it make senseArtur Grabowski
to add splassert(IPL_NONE) in a few strategic places.
2002-07-23Fix yet another braino.Artur Grabowski
Just because the pool allocates from intrsafe memory doesn't mean that the pool has to be protected by splvm. We can have an intrsafe pools at splbio or splsoftnet. pool_page_alloc and pool_page_free must du their own splvm protection.
2002-07-23Please tell me what crack I've been smoking when I did that.Artur Grabowski
When trying the drain hook just in pool_allocator_alloc, don't leak memory when the drain succeeds and don't avoid draining other pools if this pool doesn't have a drain hook.
2002-07-23Define __HAVE_SPLASSERT on architectures that support splassert.Artur Grabowski
2002-07-23IPL_NONE, not IPL_0Artur Grabowski
2002-07-23Define IPL_NONEArtur Grabowski
2002-07-23When handling an interrupt record the interrupt level we're handlingArtur Grabowski
in a global variable (not mp safe!). Use that value for the reverse splassert check.
2002-07-23Add pshufw insn so ogle compiles without the need for a recent gas.Federico G. Schwindt
2002-07-23Partial update, only track the name changes and mirror removals yet.Miod Vallat
Reminded by jufi@
2002-07-22check argc after getopt(), otherwise we may go ahead even if we only gotFederico G. Schwindt
flags; from Jean-Francois Brousseau <krapht@secureops.com>.