syscall.h (03ab8e6297acd1bc0eedaa050e2a1635c576fd11) | syscall.h (f34f0d3c10eb4d3160fc6fe7a2482cb78d3b0c12) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * Access to user system call parameters and results 4 * 5 * Copyright (C) 2008-2009 Red Hat, Inc. All rights reserved. 6 * 7 * See asm-generic/syscall.h for descriptions of what we must do here. 8 */ --- 113 unchanged lines hidden (view full) --- 122{ 123 /* x32 tasks should be considered AUDIT_ARCH_X86_64. */ 124 return (IS_ENABLED(CONFIG_IA32_EMULATION) && 125 task->thread_info.status & TS_COMPAT) 126 ? AUDIT_ARCH_I386 : AUDIT_ARCH_X86_64; 127} 128 129void do_syscall_64(struct pt_regs *regs, int nr); | 1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * Access to user system call parameters and results 4 * 5 * Copyright (C) 2008-2009 Red Hat, Inc. All rights reserved. 6 * 7 * See asm-generic/syscall.h for descriptions of what we must do here. 8 */ --- 113 unchanged lines hidden (view full) --- 122{ 123 /* x32 tasks should be considered AUDIT_ARCH_X86_64. */ 124 return (IS_ENABLED(CONFIG_IA32_EMULATION) && 125 task->thread_info.status & TS_COMPAT) 126 ? AUDIT_ARCH_I386 : AUDIT_ARCH_X86_64; 127} 128 129void do_syscall_64(struct pt_regs *regs, int nr); |
130void do_int80_syscall_32(struct pt_regs *regs); 131long do_fast_syscall_32(struct pt_regs *regs); | |
132 133#endif /* CONFIG_X86_32 */ 134 | 130 131#endif /* CONFIG_X86_32 */ 132 |
133void do_int80_syscall_32(struct pt_regs *regs); 134long do_fast_syscall_32(struct pt_regs *regs); 135long do_SYSENTER_32(struct pt_regs *regs); 136 |
|
135#endif /* _ASM_X86_SYSCALL_H */ | 137#endif /* _ASM_X86_SYSCALL_H */ |