cregit-Linux how code gets into the kernel

Release 4.7 include/asm-generic/mm_hooks.h

/*
 * Define generic no-op hooks for arch_dup_mmap, arch_exit_mmap
 * and arch_unmap to be included in asm-FOO/mmu_context.h for any
 * arch FOO which doesn't need to hook these.
 */
#ifndef _ASM_GENERIC_MM_HOOKS_H

#define _ASM_GENERIC_MM_HOOKS_H


static inline void arch_dup_mmap(struct mm_struct *oldmm, struct mm_struct *mm) { }

Contributors

PersonTokensPropCommitsCommitProp
jeremy fitzhardingejeremy fitzhardinge16100.00%1100.00%
Total16100.00%1100.00%


static inline void arch_exit_mmap(struct mm_struct *mm) { }

Contributors

PersonTokensPropCommitsCommitProp
jeremy fitzhardingejeremy fitzhardinge11100.00%1100.00%
Total11100.00%1100.00%


static inline void arch_unmap(struct mm_struct *mm, struct vm_area_struct *vma, unsigned long start, unsigned long end) { }

Contributors

PersonTokensPropCommitsCommitProp
dave hansendave hansen24100.00%1100.00%
Total24100.00%1100.00%


static inline void arch_bprm_mm_init(struct mm_struct *mm, struct vm_area_struct *vma) { }

Contributors

PersonTokensPropCommitsCommitProp
dave hansendave hansen16100.00%1100.00%
Total16100.00%1100.00%


static inline bool arch_vma_access_permitted(struct vm_area_struct *vma, bool write, bool execute, bool foreign) { /* by default, allow everything */ return true; }

Contributors

PersonTokensPropCommitsCommitProp
dave hansendave hansen25100.00%3100.00%
Total25100.00%3100.00%


static inline bool arch_pte_access_permitted(pte_t pte, bool write) { /* by default, allow everything */ return true; }

Contributors

PersonTokensPropCommitsCommitProp
dave hansendave hansen17100.00%1100.00%
Total17100.00%1100.00%

#endif /* _ASM_GENERIC_MM_HOOKS_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
dave hansendave hansen8369.75%480.00%
jeremy fitzhardingejeremy fitzhardinge3630.25%120.00%
Total119100.00%5100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
{% endraw %}