Message ID | 20220124232342.3113350-1-keescook@chromium.org (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-hardening-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 77972C433F5 for <linux-hardening@archiver.kernel.org>; Tue, 25 Jan 2022 03:54:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S247815AbiAYDyg (ORCPT <rfc822;linux-hardening@archiver.kernel.org>); Mon, 24 Jan 2022 22:54:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1320718AbiAYDOB (ORCPT <rfc822;linux-hardening@vger.kernel.org>); Mon, 24 Jan 2022 22:14:01 -0500 Received: from mail-pg1-x534.google.com (mail-pg1-x534.google.com [IPv6:2607:f8b0:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0ACFAC0604D0 for <linux-hardening@vger.kernel.org>; Mon, 24 Jan 2022 15:23:45 -0800 (PST) Received: by mail-pg1-x534.google.com with SMTP id z131so5727226pgz.12 for <linux-hardening@vger.kernel.org>; Mon, 24 Jan 2022 15:23:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=cd0cSzbqlGWMFGtUrHF/qt14iy77UQsuXoGWHNi86Ms=; b=iXzmxOcGE9j3Wc5NbiYRAm13F2IIUE3mn+buzoErc0JQmRa5Yp0xnR51eiYjcqIDtw wpo4bMu1RmCWVPVmv8+Kc1ggJtB1TWLM3VMJnhIhm/pB/HUpK5ysLKehT0p5x7pzk2Fe J4Y1+03lCGo60qbL3l86x8B5GSlF1AEZsVQBY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=cd0cSzbqlGWMFGtUrHF/qt14iy77UQsuXoGWHNi86Ms=; b=1gCuBMkoMt7QHYQuJ7h7uSzbT0br7YXqWwibVQ/5B5hDjpL2zTTzVqtbhrBhrbqr4b EM6k0eV6WJRj5Tjrr2+DQGC8dSzJzGVxPQDep+07cf7Yd927vGrfwHuRHse8iX7lxQxR SSM585oTqMWzNJr/OM/GvQHH/vxwHuyFjuk31m0654rQCYatpzY2xdc8qBMPQ5S59Bxq q/WyAToBpx4pgKWMfN+XFZuejCt4PoLs9vLTmjjicvnS2VEQAJNbJ846PGE0dMWWHi2X M6b2iWr/4E31owmmhpTwePPyXhHm6nQx2i7kUSPh2qX2xrDphOdmvuJBAdmIvfS+hkGK 6M4A== X-Gm-Message-State: AOAM533udw4x2Wbba4PGzzfO2JBOLbIDL10jHAnWg5NKBh5jIcT1VZzI SMHTFehH5JUarZWU5b4otjzaSg== X-Google-Smtp-Source: ABdhPJw4fFZbTHJcKxFlrtgLXJyzrkucrW8728E5WGYpmNw4hkQ8hgTnDIBdZpw0gUd/vvwXPQVEBQ== X-Received: by 2002:aa7:92c5:0:b0:4bd:9f44:9562 with SMTP id k5-20020aa792c5000000b004bd9f449562mr16161166pfa.80.1643066624431; Mon, 24 Jan 2022 15:23:44 -0800 (PST) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id f13sm17888522pfc.70.2022.01.24.15.23.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Jan 2022 15:23:44 -0800 (PST) From: Kees Cook <keescook@chromium.org> To: Rasmus Villemoes <linux@rasmusvillemoes.dk> Cc: Kees Cook <keescook@chromium.org>, Nick Desaulniers <ndesaulniers@google.com>, "Gustavo A. R. Silva" <gustavoars@kernel.org>, Nathan Chancellor <nathan@kernel.org>, Jason Gunthorpe <jgg@ziepe.ca>, Leon Romanovsky <leon@kernel.org>, Keith Busch <kbusch@kernel.org>, Len Baker <len.baker@gmx.com>, Jonathan Corbet <corbet@lwn.net>, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-hardening@vger.kernel.org Subject: [PATCH v2 0/2] overflow: Implement size_t saturating arithmetic helpers Date: Mon, 24 Jan 2022 15:23:40 -0800 Message-Id: <20220124232342.3113350-1-keescook@chromium.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1126; h=from:subject; bh=3g98AxTuMJo50x2uAnHNuJXT9s3Olm5uv7WW3MFAli4=; b=owEBbQKS/ZANAwAKAYly9N/cbcAmAcsmYgBh7zT98tWGoLQLp9kMHgyuIUDQVdNudI1AkfPnI0p0 /G9+4xOJAjMEAAEKAB0WIQSlw/aPIp3WD3I+bhOJcvTf3G3AJgUCYe80/QAKCRCJcvTf3G3AJvBpEA CfqRPP4L5Bp3r5ZTKtK+CpVvr8EwkcICcXyaYUGCVpWMytRO3dk3Kqzc4Vibs/IA9TK9WtC9nYd8oy 8jYkMi/WGjLsy6fOuVvm3nAuy1c7DPP8anXkPhw+haGKUhE3iHZ6kGC2Qrdb04ojMGklAMax+H4gMO 5ua1ZW6wBTll+OAD7XbhfIaKeCmk3EBzgnUKsKksV0J0dmzxfdaRpNa6mGwDAaaFcGuS9z/2LeHNzD X0DqkJ3OKMUazeEGpTAOjcz0D+op+nf7uK8LM21tRaznrV5t6ZK3k8rDZrUA291/Jbds3OZAG859gd kJUyZK2O8yjieqaB4Oiskec2uZMDu2oXktCGhOmKenkmEqAlAMK4b2jF3tL4zhMrB+pVA7VvrzTbJ/ AhgbO4amaPz3hPiWMVv0jECq6cOoLHRMs70jbt1HwGzXKUQQwoUSoZzujXu+5LvwdFb0fOIXSkS4iB AC1cn/fyc34xRFO29zyODL71srcfsSNFvnX4lE8DVwxv5jMqhyiKFCZ6dvW7+xTmd/zTXPooeI2vvi wIksZWjkd1EgepfFIPTL8nXy+HJRLzVZbTsrlzJ3BGjGBOMJNpsApkm8Nn8Dy/mXm7LREAaMHxkPvS pBuonMdJICA3H8Rf3sVDDJCXyV8B7F2vxzGzgJ1vph3F7BHF6vC2PPPBZydg== X-Developer-Key: i=keescook@chromium.org; a=openpgp; fpr=A5C3F68F229DD60F723E6E138972F4DFDC6DC026 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <linux-hardening.vger.kernel.org> X-Mailing-List: linux-hardening@vger.kernel.org |
Series |
overflow: Implement size_t saturating arithmetic helpers
|
expand
|