syscall.h (3b8a1f45e1b3886593a7cbb0aca09d4d0a9e23df) | syscall.h (2f7932b011e7fb9f98732f95a68f6017d4d8c542) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2 3#ifndef __ASM_SYSCALL_H 4#define __ASM_SYSCALL_H 5 6#include <linux/sched.h> 7#include <linux/err.h> 8#include <abi/regdef.h> 9#include <uapi/linux/audit.h> 10 | 1/* SPDX-License-Identifier: GPL-2.0 */ 2 3#ifndef __ASM_SYSCALL_H 4#define __ASM_SYSCALL_H 5 6#include <linux/sched.h> 7#include <linux/err.h> 8#include <abi/regdef.h> 9#include <uapi/linux/audit.h> 10 |
11extern void *sys_call_table[]; 12 |
|
11static inline int 12syscall_get_nr(struct task_struct *task, struct pt_regs *regs) 13{ 14 return regs_syscallid(regs); 15} 16 17static inline void 18syscall_rollback(struct task_struct *task, struct pt_regs *regs) --- 50 unchanged lines hidden --- | 13static inline int 14syscall_get_nr(struct task_struct *task, struct pt_regs *regs) 15{ 16 return regs_syscallid(regs); 17} 18 19static inline void 20syscall_rollback(struct task_struct *task, struct pt_regs *regs) --- 50 unchanged lines hidden --- |