After the previous changes 'sd' is always NULL.
Showing the changes to kernel/entry (1 of 4 files). Show all
Unified · Split
| @@ -49,7 +49,7 @@ long syscall_trace_enter(struct pt_regs *regs, long syscall, · 48 unmodified lines | ||
| 49 | 49 | |
| 50 | 50 | /* Do seccomp after ptrace, to catch any tracer changes. */ |
| 51 | 51 | if (work & SYSCALL_WORK_SECCOMP) { |
| 52 | − ret = __secure_computing(NULL); | |
| 52 | + ret = __secure_computing(); | |
| 53 | 53 | if (ret == -1L) |
| 54 | 54 | return ret; |
| 55 | 55 | } |