diff options
author | Alex Auvolat <alex@adnab.me> | 2015-03-11 11:51:01 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2015-03-11 11:51:01 +0100 |
commit | bde334e6393b142d9953328e9ea2881ce88a1a7b (patch) | |
tree | f3ed7bbc6c8a534fccbd2cf653e7ecb1f24b9fd4 /src/kernel/user/process.c | |
parent | aa5e2760711c092e1235105ebf097ac594512370 (diff) | |
download | kogata-bde334e6393b142d9953328e9ea2881ce88a1a7b.tar.gz kogata-bde334e6393b142d9953328e9ea2881ce88a1a7b.zip |
Begin work on GIP (Graphics Initiation Protocol)
Diffstat (limited to 'src/kernel/user/process.c')
-rw-r--r-- | src/kernel/user/process.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/user/process.c b/src/kernel/user/process.c index e46fde8..542c294 100644 --- a/src/kernel/user/process.c +++ b/src/kernel/user/process.c @@ -726,7 +726,7 @@ void probe_for_read(const void* addr, size_t len) { process_t *proc = current_process(); user_region_t *r = find_user_region(proc, addr); if (r == 0 || addr + len > r->addr + r->size || !(r->mode & MM_READ)) { - dbg_printf("Access violation on read at 0x%p len 0x%p in process %d : exiting.\n", + dbg_printf("Access violation (kernel reading user data) at 0x%p len 0x%p in process %d : exiting.\n", addr, len, proc->pid); current_process_exit(PS_FAILURE, FAIL_SC_SEGFAULT); } @@ -736,7 +736,7 @@ void probe_for_write(const void* addr, size_t len) { process_t *proc = current_process(); user_region_t *r = find_user_region(proc, addr); if (r == 0 || addr + len > r->addr + r->size || !(r->mode & MM_WRITE)) { - dbg_printf("Access violation on write at 0x%p len 0x%p in process %d : exiting.\n", + dbg_printf("Access violation (kernel writing user data) at 0x%p len 0x%p in process %d : exiting.\n", addr, len, proc->pid); current_process_exit(PS_FAILURE, FAIL_SC_SEGFAULT); } |