cregit-Linux how code gets into the kernel

Release 4.14 arch/x86/include/asm/kmemcheck.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef ASM_X86_KMEMCHECK_H

#define ASM_X86_KMEMCHECK_H

#include <linux/types.h>
#include <asm/ptrace.h>

#ifdef CONFIG_KMEMCHECK
bool kmemcheck_active(struct pt_regs *regs);

void kmemcheck_show(struct pt_regs *regs);
void kmemcheck_hide(struct pt_regs *regs);

bool kmemcheck_fault(struct pt_regs *regs,
	unsigned long address, unsigned long error_code);
bool kmemcheck_trap(struct pt_regs *regs);
#else

static inline bool kmemcheck_active(struct pt_regs *regs) { return false; }

Contributors

PersonTokensPropCommitsCommitProp
Vegard Nossum15100.00%1100.00%
Total15100.00%1100.00%


static inline void kmemcheck_show(struct pt_regs *regs) { }

Contributors

PersonTokensPropCommitsCommitProp
Vegard Nossum11100.00%1100.00%
Total11100.00%1100.00%


static inline void kmemcheck_hide(struct pt_regs *regs) { }

Contributors

PersonTokensPropCommitsCommitProp
Vegard Nossum11100.00%1100.00%
Total11100.00%1100.00%


static inline bool kmemcheck_fault(struct pt_regs *regs, unsigned long address, unsigned long error_code) { return false; }

Contributors

PersonTokensPropCommitsCommitProp
Vegard Nossum23100.00%1100.00%
Total23100.00%1100.00%


static inline bool kmemcheck_trap(struct pt_regs *regs) { return false; }

Contributors

PersonTokensPropCommitsCommitProp
Vegard Nossum15100.00%1100.00%
Total15100.00%1100.00%

#endif /* CONFIG_KMEMCHECK */ #endif

Overall Contributors

PersonTokensPropCommitsCommitProp
Vegard Nossum15099.34%150.00%
Greg Kroah-Hartman10.66%150.00%
Total151100.00%2100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.