Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1577478pxp; Thu, 10 Mar 2022 08:06:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJwl2lIxPgO3ENv5FqaqC//nggG1DFlmN/NAslKEXPGF+2tkK93Mq9X4ROq90NeEyp+cKpuL X-Received: by 2002:a65:604a:0:b0:375:5cc8:7458 with SMTP id a10-20020a65604a000000b003755cc87458mr4710370pgp.205.1646928385814; Thu, 10 Mar 2022 08:06:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646928385; cv=none; d=google.com; s=arc-20160816; b=P+Zy7zbqa2pRr5fh2PYZE+3PDCp6u0wAwaDSHUGZJZ3g7eZR/oL55VSHzS92kwUoD/ mtBWTl8dwJUrXIzFwh31d5xOgiJmDI2Bje6CjdktKueREFZ7XjjTNta0lteWP4BqX3+n SElixVkMxUVkQM1l50deJKhhL/3NGP4McCYPw4WnQjD87Wow95kIw0OC/8wLVqNL0HrD PQEqr/v1pSVgp5T5h4RZwbnlSlZJDKGopUxZoLCdaN9GELt59vUH3ail2jG3H2g2Pbm0 3cD6rXNIvRVw9i+DBgjmxQT2/7s1XHFJWcAKcohwTKwDo+eJbLRRjVfu9MmQzXjPK5/e enCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=qPulFl9nhnnxBesMXec7Lkd6SHxDuJG6b9QC9Z6RVLo=; b=d87AFzdXUrimbfzM63TyVIuUR+vJCV3PPyb8LzdksPwmWRJThlQVw7HmJI2D3xqCMd 0vDAqrHIoo6Cwaw5i6wxYa2ZeSoS1TwbggDTsoW3OnT4fKNvgYmrpJJhDz81MObArL42 NzOa9fVqJ2IQZqZvHxVYAdINMcacPAnT0idk+GbTIqS80obzjHkfI9MAW8c48GyXHiP5 wvLYbxWYrCuPWceAhEdel9b/lFcDx6gi3qu2ZuONDkvMAzm8AES9kGCnBIw3phKMjcmD NQ8g4anTHwkQ5ELLqZ8e1SeW72KKKeIaXaqntu3dkMI3xcSspJ1MtflL99URoJ5Gblb9 uudg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="a99/adhs"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e14-20020a170902ef4e00b0014ab712bbb3si5404130plx.581.2022.03.10.08.06.07; Thu, 10 Mar 2022 08:06:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="a99/adhs"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238771AbiCIWkK (ORCPT + 99 others); Wed, 9 Mar 2022 17:40:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232562AbiCIWkJ (ORCPT ); Wed, 9 Mar 2022 17:40:09 -0500 Received: from mail-pg1-x52a.google.com (mail-pg1-x52a.google.com [IPv6:2607:f8b0:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0B38119F06 for ; Wed, 9 Mar 2022 14:39:09 -0800 (PST) Received: by mail-pg1-x52a.google.com with SMTP id o23so3120048pgk.13 for ; Wed, 09 Mar 2022 14:39:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=qPulFl9nhnnxBesMXec7Lkd6SHxDuJG6b9QC9Z6RVLo=; b=a99/adhsSslenJCyW+OxS6N1+x1TiBVomEqesa1k+FQaoGcwtEhZw741FqvNuWKtuy r647NGwGN5/RPizlR+UDAQFQeA7HIayrpXdAlXMjG2uNNR9BQQm+Zg7ZmkMXlRs0neTx /AG29sai3C5P3xtxpB39wD/x/viVc1b0snFpQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=qPulFl9nhnnxBesMXec7Lkd6SHxDuJG6b9QC9Z6RVLo=; b=4SeQEwYuipkvegA89NOlInZNX5FRLVNz5zyg/3ucUqrTIJ4swxSyQEqaHmFsBZLd72 JKAwYbjHICiNP9A41VHawfYpTgUrudq4Vhz0wa/mL8LlFiQK1TFTICbpgK1kredyCQsF Qz+d6AFqPYMkc3JmsXOMSfwb0fnwKriRgR4LRrcRd32Y0cgGtIsi9KQ5uMLYxlyWn8rr s5inuKXR6yw/2NnuN2+flabXscWIWQtdAc0Ul1G+Njlje1oEeOLLKA/+e/S46xp1Z+tF VzIYxvilkRCuyKOsjGL+wXn+D6Ln5YbkwOa1Y2UMFVygcZS+7y9DZGhSwCdJubqoACAO Dacw== X-Gm-Message-State: AOAM5302pgdUMKn+TuYPeM2/lkXp5M3pZtDYCS2YXe8vLY0M8iyROAnF DwQOVR+NbKc6ZLVgGvwblA/ajg== X-Received: by 2002:a05:6a00:1248:b0:4f7:db0:4204 with SMTP id u8-20020a056a00124800b004f70db04204mr1717656pfi.27.1646865549219; Wed, 09 Mar 2022 14:39:09 -0800 (PST) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id l17-20020a056a0016d100b004c34686e322sm4397990pfc.182.2022.03.09.14.39.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Mar 2022 14:39:08 -0800 (PST) Date: Wed, 9 Mar 2022 14:39:08 -0800 From: Kees Cook To: "Eric W. Biederman" Cc: linux-kernel@vger.kernel.org, Linus Torvalds , Alexey Gladkov , Kyle Huey , Oleg Nesterov , Al Viro , Jens Axboe Subject: Re: [PATCH 11/13] resume_user_mode: Remove #ifdef TIF_NOTIFY_RESUME in set_notify_resume Message-ID: <202203091439.99A02455B@keescook> References: <87o82gdlu9.fsf_-_@email.froward.int.ebiederm.org> <20220309162454.123006-11-ebiederm@xmission.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220309162454.123006-11-ebiederm@xmission.com> X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 09, 2022 at 10:24:52AM -0600, Eric W. Biederman wrote: > Every architecture defines TIF_NOTIFY_RESUME so remove the unnecessary > ifdef. > > Signed-off-by: "Eric W. Biederman" Reviewed-by: Kees Cook -- Kees Cook