lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-16214312df6d5aaa5324864d032ce565e97f8890@git.kernel.org>
Date:   Mon, 10 Sep 2018 05:38:00 -0700
From:   tip-bot for Sasha Levin <tipbot@...or.com>
To:     linux-tip-commits@...r.kernel.org
Cc:     peterz@...radead.org, tglx@...utronix.de,
        torvalds@...ux-foundation.org, alexander.levin@...rosoft.com,
        hpa@...or.com, mingo@...nel.org, linux-kernel@...r.kernel.org,
        Alexander.Levin@...rosoft.com
Subject: [tip:locking/urgent] tools/lib/lockdep: Add dummy task_struct state
 member

Commit-ID:  16214312df6d5aaa5324864d032ce565e97f8890
Gitweb:     https://git.kernel.org/tip/16214312df6d5aaa5324864d032ce565e97f8890
Author:     Sasha Levin <Alexander.Levin@...rosoft.com>
AuthorDate: Mon, 13 Aug 2018 19:05:39 +0000
Committer:  Ingo Molnar <mingo@...nel.org>
CommitDate: Mon, 10 Sep 2018 13:48:24 +0200

tools/lib/lockdep: Add dummy task_struct state member

Commit:

  8cc05c71ba5f ("locking/lockdep: Move sanity check to inside lockdep_print_held_locks()")

added accesses to the task_struct's state member. Add dummy userspace declaration.

Signed-off-by: Sasha Levin <alexander.levin@...rosoft.com>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Sasha Levin <Alexander.Levin@...rosoft.com>
Cc: Thomas Gleixner <tglx@...utronix.de>
Link: http://lkml.kernel.org/r/20180813190527.16853-4-alexander.levin@microsoft.com
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
 tools/include/linux/lockdep.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tools/include/linux/lockdep.h b/tools/include/linux/lockdep.h
index 6b0c36a58fcb..e56997288f2b 100644
--- a/tools/include/linux/lockdep.h
+++ b/tools/include/linux/lockdep.h
@@ -30,9 +30,12 @@ struct task_struct {
 	struct held_lock held_locks[MAX_LOCK_DEPTH];
 	gfp_t lockdep_reclaim_gfp;
 	int pid;
+	int state;
 	char comm[17];
 };
 
+#define TASK_RUNNING 0
+
 extern struct task_struct *__curr(void);
 
 #define current (__curr())

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ