• [$] An API for handling arithmetic overflow

    From LWN.net@1337:1/100 to All on Wed Apr 8 16:00:06 2026
    [$] An API for handling arithmetic overflow

    Date:
    Wed, 08 Apr 2026 14:53:18 +0000

    Description:
    On March 31, Kees Cook shared a patch set that represents the culmination of more than a year of work
    toward eliminating the possibility of silent, unintentional integer overflow in
    the kernel. Linus Torvalds was not pleased with the approach, leading to a detailed discussion about the
    meaning of "safe" integer operations and the design of APIs for handling integer
    overflows. Eventually, the developers involved reached a consensus for a different API that should make handling overflow errors in the kernel much less
    of a hassle.

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


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