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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171031175928.1d1d7a6b@gandalf.local.home>
Date:   Tue, 31 Oct 2017 17:59:28 -0400
From:   Steven Rostedt <rostedt@...dmis.org>
To:     Masami Hiramatsu <mhiramat@...nel.org>
Cc:     Zhou Chengming <zhouchengming1@...wei.com>,
        Ingo Molnar <mingo@...hat.com>, <ananth@...ux.vnet.ibm.com>,
        <anil.s.keshavamurthy@...el.com>, <davem@...emloft.net>,
        <hpa@...or.com>, <tglx@...utronix.de>, <bp@...e.de>,
        <peterz@...radead.org>, <jkosina@...e.cz>, <mjurczyk@...gle.com>,
        <x86@...nel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] kprobes, x86/alternatives: use text_mutex to protect
 smp_alt_modules

On Mon, 30 Oct 2017 17:03:23 +0900
Masami Hiramatsu <mhiramat@...nel.org> wrote:

> >  static LIST_HEAD(smp_alt_modules);
> > -static DEFINE_MUTEX(smp_alt);
> > -static bool uniproc_patched = false;	/* protected by smp_alt */
> > +static bool uniproc_patched = false;	/* protected by text_mutex */

We should also add a comment somewhere by the text_mutex that it is
protecting this on x86.

-- Steve

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ