Re: [PATCH] seccomp: Add missing return in non-void function

2021-01-11 Thread Paul Cercueil
Le lun. 11 janv. 2021 à 12:04, Kees Cook a écrit : On Mon, Jan 11, 2021 at 05:28:39PM +, Paul Cercueil wrote: We don't actually care about the value, since the kernel will panic before that; but a value should nonetheless be returned, otherwise the compiler will complain. Fixes:

Re: [PATCH] seccomp: Add missing return in non-void function

2021-01-11 Thread Kees Cook
On Mon, 11 Jan 2021 17:28:39 +, Paul Cercueil wrote: > We don't actually care about the value, since the kernel will panic > before that; but a value should nonetheless be returned, otherwise the > compiler will complain. Applied to for-linus/seccomp, thanks! [1/1] seccomp: Add missing

Re: [PATCH] seccomp: Add missing return in non-void function

2021-01-11 Thread Kees Cook
On Mon, Jan 11, 2021 at 05:28:39PM +, Paul Cercueil wrote: > We don't actually care about the value, since the kernel will panic > before that; but a value should nonetheless be returned, otherwise the > compiler will complain. > > Fixes: 8112c4f140fa ("seccomp: remove 2-phase API") > Cc:

[PATCH] seccomp: Add missing return in non-void function

2021-01-11 Thread Paul Cercueil
We don't actually care about the value, since the kernel will panic before that; but a value should nonetheless be returned, otherwise the compiler will complain. Fixes: 8112c4f140fa ("seccomp: remove 2-phase API") Cc: sta...@vger.kernel.org # 4.7+ Signed-off-by: Paul Cercueil ---