[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHk-=whEb_vShPGCK80_tspsyw12G6mHLQkMDiSP0GWWHroqqA@mail.gmail.com>
Date: Mon, 17 Dec 2018 16:36:54 -0800
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: zohar@...ux.ibm.com
Cc: linux-integrity@...r.kernel.org,
James Morris James Morris <jmorris@...ei.org>,
Linux List Kernel Mailing <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] ima: cleanup the match_token policy code
On Mon, Dec 17, 2018 at 4:14 PM Mimi Zohar <zohar@...ux.ibm.com> wrote:
>
> Start the policy_tokens and the associated enumeration from zero,
> simplifying the pt macro.
I applied this directly, since I decided to just commit my own "don't
use negative Opt_err" patch for the test_and_set_bit() cases, and they
kind of go together.
There's still a -1 in security/keys/encrypted-keys/encrypted.c, and
there are also three cases of "Opt_error = -1" in the security layer.
All of which look pointless and wrong, but not actively buggy, so I'll
leave them alone.
Linus
Powered by blists - more mailing lists