[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150206223207.GA3829@altlinux.org>
Date: Sat, 7 Feb 2015 01:32:07 +0300
From: "Dmitry V. Levin" <ldv@...linux.org>
To: Kees Cook <keescook@...omium.org>
Cc: akpm@...ux-foundation.org, linux-kernel@...r.kernel.org,
Andy Lutomirski <luto@...capital.net>,
Will Drewry <wad@...omium.org>
Subject: Re: [PATCH] seccomp: cap SECCOMP_RET_ERRNO data to MAX_ERRNO
On Fri, Feb 06, 2015 at 01:03:09PM -0800, Kees Cook wrote:
> The value resulting from the SECCOMP_RET_DATA mask could exceed MAX_ERRNO
> when setting errno during a SECCOMP_RET_ERRNO filter action. This makes sure
> we have a reliable value being set, so that an invalid errno will not be
> ignored by userspace.
Acked-by: Dmitry V. Levin <ldv@...linux.org>
--
ldv
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists