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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170206220308.GA7481@gmail.com>
Date:   Mon, 6 Feb 2017 23:03:08 +0100
From:   Ingo Molnar <mingo@...nel.org>
To:     Peter Zijlstra <peterz@...radead.org>
Cc:     linux-kernel@...r.kernel.org,
        Andrew Morton <akpm@...ux-foundation.org>,
        Linus Torvalds <torvalds@...ux-foundation.org>,
        Mike Galbraith <efault@....de>,
        Oleg Nesterov <oleg@...hat.com>,
        Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [PATCH 78/89] sched/core: Remove the tsk_cpus_allowed() wrapper


* Peter Zijlstra <peterz@...radead.org> wrote:

> > +++ b/arch/powerpc/kernel/smp.c
> > +++ b/arch/sparc/kernel/sysfs.c
> > +++ b/drivers/cpufreq/sparc-us2e-cpufreq.c
> > +++ b/drivers/cpufreq/sparc-us3-cpufreq.c

> > -	cpumask_copy(&cpus_allowed, tsk_cpus_allowed(current));
> > +	cpumask_copy(&cpus_allowed, &current->cpus_allowed);
> 
> Note that all those, and this is where I stopped looking, appear broken vs 
> userspace changing the mask right after.

But these are pre-existing bugs in code twidding ->cpus_allowed, not caused by my 
patch, right?

I.e. my changes made you notice pre-existing bugs.

Thanks,

	Ingo

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ