cregit-Linux how code gets into the kernel

Release 4.14 arch/mips/include/asm/seccomp.h

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

#include <linux/unistd.h>

#ifdef CONFIG_COMPAT

static inline const int *get_compat_mode1_syscalls(void) { static const int syscalls_O32[] = { __NR_O32_Linux + 3, __NR_O32_Linux + 4, __NR_O32_Linux + 1, __NR_O32_Linux + 193, 0, /* null terminated */ }; static const int syscalls_N32[] = { __NR_N32_Linux + 0, __NR_N32_Linux + 1, __NR_N32_Linux + 58, __NR_N32_Linux + 211, 0, /* null terminated */ }; if (IS_ENABLED(CONFIG_MIPS32_O32) && test_thread_flag(TIF_32BIT_REGS)) return syscalls_O32; if (IS_ENABLED(CONFIG_MIPS32_N32)) return syscalls_N32; BUG(); }

Contributors

PersonTokensPropCommitsCommitProp
Matt Redfearn9094.74%133.33%
Ralf Bächle33.16%133.33%
Masahiro Yamada22.11%133.33%
Total95100.00%3100.00%

#define get_compat_mode1_syscalls get_compat_mode1_syscalls #endif /* CONFIG_COMPAT */ #include <asm-generic/seccomp.h> #endif /* __ASM_SECCOMP_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
Matt Redfearn9479.66%120.00%
Ralf Bächle1815.25%120.00%
Kees Cook32.54%120.00%
Masahiro Yamada21.69%120.00%
Greg Kroah-Hartman10.85%120.00%
Total118100.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.