Re: Possible bug kernel/seccomp.c

2021-03-04 Thread Hsuan-Chi Kuo
cc mailing list. On 3/4/21 1:10 PM, Hsuan-Chi Kuo wrote: Hello, Should this line be atomic_read(>seccomp.filter_count)); https://elixir.bootlin.com/linux/latest/source/kernel/seccomp.c#L600 I think the desired behavior is to synchronize the filter count. Thank you

Re: Possible bug kernel/seccomp.c

2021-03-04 Thread Kees Cook
On Thu, Mar 04, 2021 at 01:14:16PM -0600, Hsuan-Chi Kuo wrote: > cc mailing list. > > On 3/4/21 1:10 PM, Hsuan-Chi Kuo wrote: > > Hello, > > > > Should this line be atomic_read(>seccomp.filter_count)); > > > > https://elixir.bootlin.com/linux/latest/source/kernel/seccomp.c#L600 > > > > I think