Re: [PATCH] seccomp: Add SECCOMP_CLONE_FILTER operation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 3, 2025 at 1:38 PM Tom Hromatka <tom.hromatka@xxxxxxxxxx> wrote:
>
> +
> +       spin_lock_irq(&current->sighand->siglock);
> +       spin_lock_irq(&task->sighand->siglock);
> +
> +       if (atomic_read(&task->seccomp.filter_count) == 0) {
> +               spin_unlock_irq(&task->sighand->siglock);
> +               spin_unlock_irq(&current->sighand->siglock);

did you copy this pattern from somewhere ?
It's obviously buggy.





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux