> signal: Support run fds in pidfd_send_signal() TL;DR: Nits only in runfd_send_signal(): the sig < 0 check is redundant with valid_signal(), and the any_other flag duplicates other_err. > diff --git a/kernel/runfd.c b/kernel/runfd.c > --- a/kernel/runfd.c > +++ b/kernel/runfd.c [ ... ] > +int runfd_send_signal(struct file *file, int sig, > + struct siginfo __user *info, unsigned int flags) > +{ > + struct run *run = file->private_data; > + struct pid_namespace *pid_ns = run->ns->pid_ns_for_children; > + bool any_success = false; > + bool any_other = false; > + bool any_perm = false; > + int other_err = 0; > + struct pid *pid; > + int nr; > + > + if (info || flags || sig < 0 || !valid_signal(sig)) > + return -EINVAL; This isn't a bug, but is the sig < 0 test needed here? valid_signal() takes an unsigned long, so it already rejects negative values. [ ... ] > + } else if (err != -ESRCH && !any_other) { > + any_other = true; > + other_err = err; > + } > + } > + read_unlock(&tasklist_lock); > + } > + > + if (any_success) > + return 0; > + if (any_other) > + return other_err; This isn't a bug, but could other_err stand on its own here (!other_err in the loop and if (other_err) return other_err;)? any_other is only set together with a non-zero other_err, so it carries the same information. --- AI reviewed your patch. Please fix the bug or email reply why it's not a bug. See: https://github.com/kernel-patches/vmtest/blob/master/ci/claude/README.md CI run summary: https://github.com/kernel-patches/bpf/actions/runs/47474652355