[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191229161126.xcrnzdqu5frrov6q@wittgenstein>
Date: Sun, 29 Dec 2019 17:11:28 +0100
From: Christian Brauner <christian.brauner@...ntu.com>
To: Sargun Dhillon <sargun@...gun.me>
Cc: linux-kernel@...r.kernel.org, linux-api@...r.kernel.org,
Jann Horn <jannh@...gle.com>,
Kees Cook <keescook@...omium.org>,
Aleksa Sarai <cyphar@...har.com>,
Tycho Andersen <tycho@...ho.ws>
Subject: Re: [PATCH v3 1/3] samples, selftests/seccomp: Zero out seccomp_notif
On Sat, Dec 28, 2019 at 10:24:49PM -0800, Sargun Dhillon wrote:
> The seccomp_notif structure should be zeroed out prior to calling the
> SECCOMP_IOCTL_NOTIF_RECV ioctl. Previously, the kernel did not check
> whether these structures were zeroed out or not, so these worked.
>
> This patch zeroes out the seccomp_notif data structure prior to calling
> the ioctl.
>
> Signed-off-by: Sargun Dhillon <sargun@...gun.me>
> Reviewed-by: Tycho Andersen <tycho@...ho.ws>
> Cc: Kees Cook <keescook@...omium.org>
> Cc: Christian Brauner <christian.brauner@...ntu.com>
Thanks!
Reviewed-by: Christian Brauner <christian.brauner@...ntu.com>
Powered by blists - more mailing lists