cregit-Linux how code gets into the kernel

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

/* SPDX-License-Identifier: GPL-2.0 */
#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);
extern void set_vsyscall_pgtable_user_bits(pgd_t *root);

/*
 * 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 Lutomirski5871.60%333.33%
Ingo Molnar78.64%111.11%
Andi Kleen67.41%111.11%
David Woodhouse33.70%111.11%
David Howells33.70%111.11%
H. Peter Anvin33.70%111.11%
Greg Kroah-Hartman11.23%111.11%
Total81100.00%9100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.