History

seccomp: remove the 'sd' argument from __secure_computing()

After the previous changes 'sd' is always NULL.

Oleg Nesterov committed 1 year ago

Commit 1027cd81 parent b37778b4 files · +10 −12Browse files

Showing the changes to kernel/entry (1 of 4 files). Show all

Unified · Split

kernel/entry/common.c+1−1
@@ -49,7 +49,7 @@ long syscall_trace_enter(struct pt_regs *regs, long syscall, · 48 unmodified lines
4949
5050 /* Do seccomp after ptrace, to catch any tracer changes. */
5151 if (work & SYSCALL_WORK_SECCOMP) {
52− ret = __secure_computing(NULL);
52+ ret = __secure_computing();
5353 if (ret == -1L)
5454 return ret;
5555 }