Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Check for bad address range or size in lookup_bad_addr. | Dave Brolley | 2009-09-04 | 1 | -0/+4 |
| | |||||
* | Disallow kernel space memory access when unprivileged. | Dave Brolley | 2009-09-03 | 1 | -10/+35 |
| | | | | | | | | | | | | | | | | | 2009-09-03 Dave Brolley <brolley@redhat.com> * runtime/addr-map.c (lookup_addr_aux): Now takes size argument. Consider the size when looking for overlapping range with the map entries. (lookup_bad_addr): Now takes size argument. Disallow kernel space access when STP_PRIVILEGED is not defined. Pass size to lookup_addr_aux. <asm/processor.h>: #include it when STP_PRIVILEGED is not defined. (add_bad_addr_entry): Supply a size of 1 to calls to lookup_addr_aux. * runtime/loc2c-runtime.h (kread): Pass sizeof (*(ptr)) to lookup_bad_addr. (kwrite): Likewise. (deref): Pass size to lookup_bad_addr. (store_deref): Likewise. | ||||
* | Use 'static' as much as possible | Josh Stone | 2009-01-28 | 1 | -4/+4 |
| | | | | | | | | | | This change just inserts 'static' on runtime, tapset, and generated C functions and globals, so the compiler can do a better job of optimizing. My tests with small scripts show ~10% reduction in compile time and ~20% reduction in module size. Larger scripts may show less benefit, but I expect purely positive results. | ||||
* | fix bugs in add_bad_addr_entry | Tim Moore | 2008-10-02 | 1 | -2/+3 |
| | |||||
* | Fix race condition in addr-map; simplify allocation logic | Tim Moore | 2008-09-30 | 1 | -46/+53 |
| | |||||
* | PR1288: runtime functions for avoiding certain addresses | Tim Moore | 2008-09-08 | 1 | -0/+181 |