Re: [PATCH 2/2] Revert "pstore: Honor dmesg_restrict sysctl on dmesg dumps"

From: Steven Rostedt
Date: Tue Aug 15 2017 - 20:21:35 EST


On Thu, 10 Aug 2017 13:36:35 -0700
Kees Cook <keescook@xxxxxxxxxxxx> wrote:

> This reverts commit 68c4a4f8abc60c9440ede9cd123d48b78325f7a3, with
> various conflict clean-ups.
>
> With the default root directory mode set to 0750 now, the capability
> check was redundant.

What's wrong with redundancy?

-- Steve


>
> Suggested-by: Nick Kralevich <nnk@xxxxxxxxxx>
> Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>
> ---