diff --git a/README.md b/README.md index 17c63fa..069d0ae 100644 --- a/README.md +++ b/README.md @@ -153,7 +153,7 @@ user-level virtual memory mappings for APIC physical memory-mapped I/O registers and page table entries of interest. Recent Linux distributions typically enable the `CONFIG_STRICT_DEVMEM` option which prevents such use, however. Our `/dev/sgx-step` driver therefore includes an -[approach](https://www.libcrack.so/2012/09/02/bypassing-devmem_is_allowed-with-kprobes/) +[approach](https://www.libcrack.so/index.php/2012/09/02/bypassing-devmem_is_allowed-with-kprobes/) to bypass `devmem_is_allowed` checks, without having to recompile the kernel. ### 2. Patch and install SGX SDK diff --git a/kernel/sgxstep.c b/kernel/sgxstep.c index 54a86b4..6114006 100644 --- a/kernel/sgxstep.c +++ b/kernel/sgxstep.c @@ -232,7 +232,7 @@ static struct miscdevice step_dev = { .mode = S_IRUGO | S_IWUGO }; -/* Code from: */ +/* Code from: */ static int devmem_is_allowed_handler (struct kretprobe_instance *rp, struct pt_regs *regs) { if (regs->ax == 0) {