From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Stancek Date: Fri, 29 May 2020 06:28:02 -0400 (EDT) Subject: [LTP] [PATCH 1/1] tst_taint.h Add taint for randstruct In-Reply-To: <20200528111504.12638-1-pvorel@suse.cz> References: <20200528111504.12638-1-pvorel@suse.cz> Message-ID: <1187623618.14050931.1590748082097.JavaMail.zimbra@redhat.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it ----- Original Message ----- > Added in kernel 4.17. > > Signed-off-by: Petr Vorel > --- > include/tst_taint.h | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/include/tst_taint.h b/include/tst_taint.h > index 0acc1140c..cfa84dded 100644 > --- a/include/tst_taint.h > +++ b/include/tst_taint.h > @@ -60,7 +60,8 @@ > #define TST_TAINT_E (1 << 13) /* unsigned module was loaded */ > #define TST_TAINT_L (1 << 14) /* A soft lock-up has previously occurred > */ > #define TST_TAINT_K (1 << 15) /* kernel has been live-patched */ > -#define TST_TAINT_X (1 << 16) /* auxiliary taint, for distro's use */ > +#define TST_TAINT_X (1 << 16) /* auxiliary taint, for distro's use */ > +#define TST_TAINT_T (1 << 17) /* kernel was built with the struct > randomization plugin */ ack, this is trivial enough to push directly