cregit-Linux how code gets into the kernel

Release 4.12 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 Fitzhardinge16100.00%1100.00%
Total16100.00%1100.00%


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

Contributors

PersonTokensPropCommitsCommitProp
Jeremy 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 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 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 Hansen25100.00%3100.00%
Total25100.00%3100.00%

#endif /* _ASM_GENERIC_MM_HOOKS_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
Dave Hansen6664.71%480.00%
Jeremy Fitzhardinge3635.29%120.00%
Total102100.00%5100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.