• [$] A safer kmalloc() for 7.0

    From LWN.net@1337:1/100 to All on Monday, March 16, 2026 14:30:08
    [$] A safer kmalloc() for 7.0

    Date:
    Mon, 16 Mar 2026 14:22:59 +0000

    Description:
    A pull request that touches over 8,000 files, changing over 20,000 lines of code in the process, is (fortunately) not something that happens every day.
    It did happen at the end of the 7.0 merge window, though, when Linus
    Torvalds merged an extensive set of changes by Kees Cook to the venerable kmalloc() API (and
    its users). As a result of that work, though, the kernel has a new set of type-safe memory-allocation functions, with a last-minute bonus change to
    make the API a little easier to use.

    ======================================================================
    Link to news story:
    https://lwn.net/Articles/1062856/


    --- Mystic BBS v1.12 A49 (Linux/64)
    * Origin: tqwNet UK HUB @ hub.uk.erb.pw (1337:1/100)