Release 4.13 arch/arm/include/asm/set_memory.h
/*
* Copyright (C) 1999-2002 Russell King
*
* 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.
*/
#ifndef _ASMARM_SET_MEMORY_H
#define _ASMARM_SET_MEMORY_H
#ifdef CONFIG_MMU
int set_memory_ro(unsigned long addr, int numpages);
int set_memory_rw(unsigned long addr, int numpages);
int set_memory_x(unsigned long addr, int numpages);
int set_memory_nx(unsigned long addr, int numpages);
#else
static inline int set_memory_ro(unsigned long addr, int numpages) { return 0; }
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Laura Abbott | 17 | 100.00% | 1 | 100.00% |
Total | 17 | 100.00% | 1 | 100.00% |
static inline int set_memory_rw(unsigned long addr, int numpages) { return 0; }
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Laura Abbott | 17 | 100.00% | 1 | 100.00% |
Total | 17 | 100.00% | 1 | 100.00% |
static inline int set_memory_x(unsigned long addr, int numpages) { return 0; }
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Laura Abbott | 17 | 100.00% | 1 | 100.00% |
Total | 17 | 100.00% | 1 | 100.00% |
static inline int set_memory_nx(unsigned long addr, int numpages) { return 0; }
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Laura Abbott | 17 | 100.00% | 1 | 100.00% |
Total | 17 | 100.00% | 1 | 100.00% |
#endif
#ifdef CONFIG_STRICT_KERNEL_RWX
void set_kernel_text_rw(void);
void set_kernel_text_ro(void);
#else
static inline void set_kernel_text_rw(void) { }
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Laura Abbott | 8 | 100.00% | 1 | 100.00% |
Total | 8 | 100.00% | 1 | 100.00% |
static inline void set_kernel_text_ro(void) { }
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Laura Abbott | 8 | 100.00% | 1 | 100.00% |
Total | 8 | 100.00% | 1 | 100.00% |
#endif
#endif
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Laura Abbott | 163 | 100.00% | 1 | 100.00% |
Total | 163 | 100.00% | 1 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.