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: <CAHk-=whZ8r85GhA=n8=NJCXOnpJ5KNqitV2FK2YnK73+Z7tzUg@mail.gmail.com>
Date:   Wed, 22 Mar 2023 14:08:54 -0700
From:   Linus Torvalds <torvalds@...ux-foundation.org>
To:     Sasha Levin <sashal@...nel.org>
Cc:     linux-kernel@...r.kernel.org, stable@...r.kernel.org,
        Ryan Roberts <ryan.roberts@....com>,
        Yury Norov <yury.norov@...il.com>, mingo@...hat.com,
        peterz@...radead.org, juri.lelli@...hat.com,
        vincent.guittot@...aro.org
Subject: Re: [PATCH AUTOSEL 4.19 5/9] sched_getaffinity: don't assume
 'cpumask_size()' is fully initialized

On Wed, Mar 22, 2023 at 1:09 PM Sasha Levin <sashal@...nel.org> wrote:
>
> The getaffinity() system call uses 'cpumask_size()' to decide how big
> the CPU mask is - so far so good.  It is indeed the allocation size of a
> cpumask. [...]

Same comment as about commit 8ca09d5fa354 - this is a fine cleanup /
fix and might be worth backporting just for that, but it didn't really
turn into an actual visible bug until commit 596ff4a09b89.

                Linus

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ