xv6-65oo2/kernel
Frans Kaashoek 899cc02660 Experiment with being more precise setting permissions for user pages.
Growing adds R|W pages (without X).  Exec() marks the stack only R|W.

Probably could setup permissions for text and data better if we call
ld with --no-omagic instead of -N.
2022-08-12 13:22:10 -04:00
..
bio.c mention LRU list a bit more in comments. 2019-10-29 04:32:55 -04:00
buf.h no buf->qnext 2019-09-24 14:41:51 -04:00
console.c Cosmetic change (thanks Harry Porter) 2022-08-12 12:59:33 -04:00
defs.h Experiment with being more precise setting permissions for user pages. 2022-08-12 13:22:10 -04:00
elf.h separate source into kernel/ user/ mkfs/ 2019-06-11 09:57:14 -04:00
entry.S comment nits 2022-08-09 14:17:46 -04:00
exec.c Experiment with being more precise setting permissions for user pages. 2022-08-12 13:22:10 -04:00
fcntl.h make "echo hello > x" truncate file x. 2020-08-10 11:19:10 -04:00
file.c hopefully make writei more correct 2020-11-05 06:56:51 -05:00
file.h Add major/minor/mkdev 2019-08-23 19:41:53 -04:00
fs.c tolerate running out of disk blocks 2022-08-10 06:13:52 -04:00
fs.h FD_DEVICE 2019-06-13 10:29:27 -04:00
kalloc.c fix 'kfree' comment in kalloc.c 2022-08-09 20:29:38 -04:00
kernel.ld Clean up linker script 2019-10-21 22:27:18 -04:00
kernelvec.S comment nits 2022-08-09 14:17:46 -04:00
log.c fix typos in user/usertest.c & kernel/log.c 2021-08-31 14:10:14 -04:00
main.c Change inode cache in main.c to inode table 2021-08-31 14:17:39 -04:00
memlayout.h Clarify CLINT and PLIC acronym 2020-10-03 16:36:20 -04:00
param.h separate source into kernel/ user/ mkfs/ 2019-06-11 09:57:14 -04:00
pipe.c test for closed pipe or killed on every char, not just if pipe full 2020-11-05 06:56:51 -05:00
plic.c cosmetic changes (thanks Harry Porter) 2022-08-12 10:57:16 -04:00
printf.c Added missing va_end(). 2022-08-09 20:20:32 -04:00
proc.c Experiment with being more precise setting permissions for user pages. 2022-08-12 13:22:10 -04:00
proc.h sscratch cleanup 2022-08-09 12:14:29 -04:00
ramdisk.c Update ramdisk.c 2020-01-16 15:05:27 +00:00
riscv.h comment nits 2022-08-09 14:17:46 -04:00
sleeplock.c Checkpoint switching to per-process locks, in attempt clarify xv6's 2019-07-02 09:14:47 -04:00
sleeplock.h separate source into kernel/ user/ mkfs/ 2019-06-11 09:57:14 -04:00
spinlock.c nits 2019-10-27 08:03:19 -04:00
spinlock.h nits 2019-07-10 14:54:34 -04:00
start.c comment nits 2022-08-09 14:17:46 -04:00
stat.h Make size in stat.h be a uint64 2019-07-04 08:57:23 -04:00
string.c memmove(dst, src, 0) leads to overflow in while(n-- > 0) as n is uint64 (thanks 2021-09-01 07:29:12 -04:00
swtch.S separate source into kernel/ user/ mkfs/ 2019-06-11 09:57:14 -04:00
syscall.c cosmetic changes (thanks Harry Porter) 2022-08-12 11:47:39 -04:00
syscall.h separate source into kernel/ user/ mkfs/ 2019-06-11 09:57:14 -04:00
sysfile.c usertest for exec() out of memory recovery 2020-08-21 11:00:45 -04:00
sysproc.c Delete rtcdate, which is a left-over from an old lab (thanks Harry Porter) 2022-08-12 09:43:18 -04:00
trampoline.S adopt github PR98 (No need to store TRAPFRAME in sscratch register) 2022-08-09 11:44:02 -04:00
trap.c adopt github PR98 (No need to store TRAPFRAME in sscratch register) 2022-08-09 11:44:02 -04:00
types.h separate source into kernel/ user/ mkfs/ 2019-06-11 09:57:14 -04:00
uart.c cosmetic changes (thanks Harry Porter) 2022-08-12 10:57:16 -04:00
virtio.h tweak virtio comments 2022-08-08 11:10:54 -04:00
virtio_disk.c tweak virtio comments 2022-08-08 11:10:54 -04:00
vm.c Experiment with being more precise setting permissions for user pages. 2022-08-12 13:22:10 -04:00