Re: [PATCH v3 3/7] seccomp: keep track of seccomp filters with closed listeners

From: Aleksa Sarai

Date: Wed Jan 21 2026 - 07:26:53 EST


On 2025-12-11, Alexander Mikhalitsyn <aleksandr.mikhalitsyn@xxxxxxxxxxxxx> wrote:
> Let's distinguish seccomp filters with closed listener
> vs seccomp filters which never had listener.
>
> We can easily do this by using the same ->notif pointer
> field with help of IS_ERR_OR_NULL().
>
> No functional change intended.

The discussion we had at LPC made me think this would result in a
(justifiable) functional change to fix this bug, but you're quite right
that this only matters once you enable nested listeners.

In either case, feel free to take my

Reviewed-by: Aleksa Sarai <cyphar@xxxxxxxxxx>

Thanks!

--
Aleksa Sarai
https://www.cyphar.com/

Attachment: signature.asc
Description: PGP signature