/* * Copyright (C) 2011 Richard Weinberger <richrd@nod.at> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #include <linux/mm.h> #include <asm/elf.h> static struct vm_area_struct gate_vma;
static int __init gate_vma_init(void) { if (!FIXADDR_USER_START) return 0; gate_vma.vm_mm = NULL; gate_vma.vm_start = FIXADDR_USER_START; gate_vma.vm_end = FIXADDR_USER_END; gate_vma.vm_flags = VM_READ | VM_MAYREAD | VM_EXEC | VM_MAYEXEC; gate_vma.vm_page_prot = __P101; return 0; }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Richard Weinberger | 56 | 100.00% | 1 | 100.00% |
Total | 56 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Richard Weinberger | 20 | 100.00% | 1 | 100.00% |
Total | 20 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Richard Weinberger | 37 | 100.00% | 1 | 100.00% |
Total | 37 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Richard Weinberger | 49 | 100.00% | 1 | 100.00% |
Total | 49 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Richard Weinberger | 179 | 100.00% | 2 | 100.00% |
Total | 179 | 100.00% | 2 | 100.00% |