Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-04-30 | Use kassert in load_elf (#327) | Zixian Cai | 1 | -3/+3 | |
Signed-off-by: Zixian Cai <2891235+caizixian@users.noreply.github.com> | |||||
2024-04-17 | mprotect whole ELF segment, not just file portion | Andrew Waterman | 1 | -3/+3 | |
2024-04-17 | Don't mmap ELF segments with zero filesz | Andrew Waterman | 1 | -2/+4 | |
2024-04-17 | Add ELF header sanity check | Andrew Waterman | 1 | -0/+2 | |
2023-05-01 | pk: fix __do_brk when new addr is not feasible (#295) | xukl | 1 | -0/+1 | |
Linux kernel simply return current brk when request brk addr is not feasible. The pk should probably do the same. | |||||
2021-03-25 | pk: only access user memory through explicit accessors | Andrew Waterman | 1 | -1/+2 | |
Enforced with sstatus.SUM. | |||||
2019-10-01 | Only accept statically linked binaries (#176) | Luís Marques | 1 | -0/+3 | |
2019-03-24 | Fix build with newer newlib | Andrew Waterman | 1 | -2/+2 | |
2016-12-06 | avoid non-standard predefined macros | Andrew Waterman | 1 | -1/+1 | |
2016-11-13 | Fix ld.so load address at 4 KiB | Andrew Waterman | 1 | -6/+10 | |
2016-11-02 | Acquire write permissions before zeroing page in ELF loader | Andrew Waterman | 1 | -1/+4 | |
f81b722bf004177eadaf6f1b4b9e699e20257521 is a regression. If a read-only segment does not begin on a page boundary, it would cause the ELF loader to blow up. | |||||
2016-09-21 | make sure pages for ELF sections have correct protection (#40) | Howard Mao | 1 | -2/+16 | |
2016-08-09 | Disallow execution of RVC binaries on non-RVC pk | Andrew Waterman | 1 | -0/+4 | |
2016-04-06 | Use panic, not die, to terminate elf loader | Andrew Waterman | 1 | -1/+2 | |
2016-03-09 | Refactor pk, bbl, machine into separate libraries | Andrew Waterman | 1 | -91/+46 | |
Yuck. | |||||
2016-03-05 | Disentangle PK and BBL a bit | Andrew Waterman | 1 | -4/+5 | |
2016-02-19 | Remove incorrect code supporting ELF32 on RV64 and vice-versa | Andrew Waterman | 1 | -2/+7 | |
This is technically possible by running an RV32 supervisor on an RV64 machine, but the M-mode and S-mode code would need to be compiled and linked separately. | |||||
2015-04-19 | Fix loading of misaligned ELF segments | Andrew Waterman | 1 | -1/+1 | |
2015-03-12 | Update to new privileged spec | Andrew Waterman | 1 | -20/+53 | |
2014-12-11 | Relocate binaries that conflict with the pk's address space | Andrew Waterman | 1 | -3/+9 | |
Of course, this is only possible for PIEs, e.g. the dynamic linker. | |||||
2014-02-04 | Abandon MIPS convention for indicating syscall errors in register a3 | Andrew Waterman | 1 | -5/+4 | |
2013-11-25 | Update to new privileged ISA | Andrew Waterman | 1 | -1/+0 | |
2013-07-13 | Support Linux ABI and (optionally) virtual memory | Andrew Waterman | 1 | -38/+40 | |
2013-03-25 | add BSD license | Andrew Waterman | 1 | -0/+2 | |
2013-03-25 | add clean-room elf.h to avoid GPL entanglement | Andrew Waterman | 1 | -4/+4 | |
2011-06-19 | temporary undoing of renaming | Andrew Waterman | 1 | -0/+71 | |
2011-06-19 | Renamed packages | Andrew Waterman | 1 | -71/+0 | |
2011-05-20 | [pk] fixed elf loader | Andrew Waterman | 1 | -4/+11 | |
2011-05-19 | [pk] made PK smaller | Andrew Waterman | 1 | -7/+14 | |
2011-04-12 | [sim,pk] fixed minor pk bugs and trap codes | Andrew Waterman | 1 | -1/+1 | |
2011-04-08 | [pk,fesvr] pk now loads elfs itself | Andrew Waterman | 1 | -0/+57 | |
this allows it to detect 32b binaries |