cregit-Linux how code gets into the kernel

Release 4.11 arch/x86/include/asm/vsyscall.h

#ifndef _ASM_X86_VSYSCALL_H

#define _ASM_X86_VSYSCALL_H

#include <linux/seqlock.h>
#include <uapi/asm/vsyscall.h>

#ifdef CONFIG_X86_VSYSCALL_EMULATION
extern void map_vsyscall(void);

/*
 * Called on instruction fetch fault in vsyscall page.
 * Returns true if handled.
 */
extern bool emulate_vsyscall(struct pt_regs *regs, unsigned long address);
#else

static inline void map_vsyscall(void) {}

Contributors

PersonTokensPropCommitsCommitProp
Andrew Lutomirski8100.00%1100.00%
Total8100.00%1100.00%


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

Contributors

PersonTokensPropCommitsCommitProp
Andrew Lutomirski19100.00%1100.00%
Total19100.00%1100.00%

#endif #endif /* _ASM_X86_VSYSCALL_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
Andrew Lutomirski4969.01%228.57%
Ingo Molnar79.86%114.29%
Andi Kleen68.45%114.29%
H. Peter Anvin34.23%114.29%
David Woodhouse34.23%114.29%
David Howells34.23%114.29%
Total71100.00%7100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.