wok-4.x view linux/stuff/linux-2.6-syscall-ptrace.patch @ rev 12477
Up openssl 1.1.1n (bump packages curl, git, wget, python), up cherokee 1.2.104 and bdeps (automake, openldap, cyrus-sasl)
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Apr 02 14:34:44 2023 +0000 (19 months ago) |
parents | |
children |
line source
1 --- linux-2.6.32.59/arch/x86/include/asm/ptrace.h
2 +++ fix_ptrace.o_compile_error/arch/x86/include/asm/ptrace.h
3 @@ -131,6 +131,7 @@
4 #ifdef __KERNEL__
6 #include <linux/init.h>
7 +#include <linux/linkage.h>
9 struct cpuinfo_x86;
10 struct task_struct;
11 @@ -143,8 +144,8 @@
12 int error_code, int si_code);
13 void signal_fault(struct pt_regs *regs, void __user *frame, char *where);
15 -extern long syscall_trace_enter(struct pt_regs *);
16 -extern void syscall_trace_leave(struct pt_regs *);
17 +extern asmregparm long syscall_trace_enter(struct pt_regs *);
18 +extern asmregparm void syscall_trace_leave(struct pt_regs *);
20 static inline unsigned long regs_return_value(struct pt_regs *regs)
21 {