Re: [RFC PATCH v2 00/19] PKS write protected page tables

2024-03-15 Thread Boris Lukashev
IIRC shoot-downs are one of the reasons for using per-cpu PGDs, which can in-turn enable/underpin other hardening functions... presuming the churn of recent years has softened attitudes toward such core MM changes. https://forum.osdev.org/viewtopic.php?f=15=29661 -Boris On Mon, Aug 30, 2021 at

Re: [PATCH v3] checkpatch: add check for snprintf to scnprintf

2024-03-15 Thread Bill Wendling
On Fri, Mar 15, 2024 at 1:09 PM Justin Stitt wrote: > > I am going to quote Lee Jones who has been doing some snprintf -> > scnprintf refactorings: > > "There is a general misunderstanding amongst engineers that > {v}snprintf() returns the length of the data *actually* encoded into the >

[PATCH v3] checkpatch: add check for snprintf to scnprintf

2024-03-15 Thread Justin Stitt
I am going to quote Lee Jones who has been doing some snprintf -> scnprintf refactorings: "There is a general misunderstanding amongst engineers that {v}snprintf() returns the length of the data *actually* encoded into the destination array. However, as per the C99 standard {v}snprintf() really

Re: [PATCH v2 0/9] slab: Introduce dedicated bucket allocator

2024-03-15 Thread GONG, Ruiqi
On 2024/03/08 4:31, Kees Cook wrote: > On Wed, Mar 06, 2024 at 09:47:36AM +0800, GONG, Ruiqi wrote: >> >> >> On 2024/03/05 18:10, Kees Cook wrote: >>> Hi, >>> >>> Repeating the commit logs for patch 4 here: >>> >>> Dedicated caches are available For fixed size allocations via >>>