Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp633lqm; Tue, 30 Apr 2024 10:50:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUa7r1IwA3nUBOQSPCRvsIWe4t7U+yNGXtr00JQ6AhD4jhTGm+IhO4S+BUJ970rGbfLoLUGNNPYQGLUk+06PBv4a6S64aL7jv+P/SjPPQ== X-Google-Smtp-Source: AGHT+IEfolSVx58vVXxNFjWFgcSgJ8UUWhPv1XXfzh1kxCSIMElV63urqknxfbupdxavBzM8Fko1 X-Received: by 2002:a05:6a20:a107:b0:1aa:a6dc:38ca with SMTP id q7-20020a056a20a10700b001aaa6dc38camr108965pzk.16.1714499446966; Tue, 30 Apr 2024 10:50:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714499446; cv=pass; d=google.com; s=arc-20160816; b=fb5Md6DcaYPHdhHuvAMzHxuWStP/EMg1bqYj3eAanh7MN29DeAwWTB7B0OFD2zfD7K VGLNmSNdo2Nnqn4QPaWe7c/5N94AO0XzHKYQjMefY7WHdPI8ek0iu18VzXBppulIjp53 FC6JcE8drdMpJeH/4NlkFENW5JZHpjrk3+t7IHHwhbgSV0c8W3HzVru/xGWdU6/rhNMx U3svj2aO4vfp5N3sjTACr5q93Db402UhSDU1HL6ABigIIlaZQ0XAJQrxQVuoTcBo8fmx C6fP8BIlY/H77B+rPcgVOaGFrcuVNYhlkk/m+Y0r9E4iilAKxpL1mAQbTWQu5n1EGtwq 7rrA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date:dkim-signature; bh=pjanLQAoH5caJfTTxRxXaXQWVwYkN7FUId8LqRmIVpc=; fh=8WWaxBeYUB0nI0XKUJQzwntrww2SbvsbROO1VFNx+4k=; b=sHVdo8vHBFLOo+4XZ8RJdZ5x698NxYBTg+8g+xYrDSH6jL5uNrCzI36C50JHkm1eNl iTryZ3vtq8Zf4SNuxmF6i22GRKrf7f5LTO4eY86xa5Rz8rcP8p8ROEvisXKzn3mMRCqd WyHQ6rNtBRJaygm9xDAFhGeYN9yWVfQzmaCcv9ZVRVixL43bzIzJbsbH9rRY2jYMplHK hSvlTuKIxlZZNp5BkNyrQf+d8P4mnVy4mGkHgmp1nSC0gHoAodoHlT9Lu6NTtgKd0igA HpZQK3WX5pxP250Ykj84xkiZ0UrT9nKZM+c29tbGLAJyKykjvNPjwogjCWzWc+dWQaKm oHsg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="aNOhx/Da"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-164550-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164550-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id q14-20020a17090a68ce00b002a7f5fa1732si24212739pjj.111.2024.04.30.10.50.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 10:50:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-164550-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="aNOhx/Da"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-164550-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164550-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 7EB1F281891 for ; Tue, 30 Apr 2024 17:48:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 21234171671; Tue, 30 Apr 2024 17:48:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="aNOhx/Da" Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C5CA61802DA; Tue, 30 Apr 2024 17:48:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714499284; cv=none; b=tobsWvpcMAqRlxpM3opMyZMqA0tAQ7wq7aezX9rkW6WlyxY2/AlsEXPCnfRjDNPYw0LucNAkk76tNu2MEHA9D4EN6HC05AH9hcVkLGlXHfDgbNMwwqTYA5ss7KkwKFV8/ZIFWpy9saZzdzW9FWUjb90rRHMxtHgAvsv8/6MvCpI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714499284; c=relaxed/simple; bh=hguz9e/uXlmV27IbGTzkIbjpFTvfznvOvHxVvt66hJI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=jm9xPUaezlDho1hdrYhqM7UJPd2/o2fKWSSAE67FThjhZ1qjbUw6+DoZW+y6T5HtwxHxS2gmRnwfGjzLHWrTku+BEcDnhySx2Bcou7X5ByMS3FxXnyzIBEWmEDzPOVX2l8kD4OIf4c9nXpFwc7eCUNp+iz5XIbd1/FOIM44IybA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=aNOhx/Da; arc=none smtp.client-ip=209.85.167.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lf1-f44.google.com with SMTP id 2adb3069b0e04-516d4d80d00so7621844e87.0; Tue, 30 Apr 2024 10:48:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714499281; x=1715104081; darn=vger.kernel.org; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=pjanLQAoH5caJfTTxRxXaXQWVwYkN7FUId8LqRmIVpc=; b=aNOhx/DavZB6CaB7pIwVImORiSjBL/8JJo/hiSex3ViIFFtNUZaptvV4ULshAHG6gV cEYwbyL0IMsHa51rhx9AufJhNi+JAfxCSylSf63yO7uzEcDophDFg8T50QF4yt+sqNbX pHjQ+bRsP7GtUXKVfTGYhCBgX+j0d6VwTqZPslaDgEMYUYN5R4jsmHLaVpPI5vskZtc8 GDnjQX7I44rvVU/OUgN63CWIr1s5PyKmp67R21A5d+PwTs8H5Bugw44w/frHVrzb6NKJ NTBb8gdfwA2PjOopcaGwUlrGWMuGdV+ulnsHFxbXbQ+/NUwg1+M1LfREvq0Pf0BKyqQN mSbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714499281; x=1715104081; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pjanLQAoH5caJfTTxRxXaXQWVwYkN7FUId8LqRmIVpc=; b=NpL3SDG2Z18uFatIaxAcvw+HXShNvaM1wxtouYxmk1vG+nAGqoK36CLuHRblC/n10+ /LXLV3c2MB3d3lgkPXnHi9ghHRJzcXMb1RRKDggEB++LgGDjv3+LXJYG6Rpa4tb3174D 9ZBgdUSvj1Chjg2EEHTJKTKxV1wlHu1EcewmgF/IomrKv59MqK6DVplIRMJKclvWQA1w DZ8528+G3V16OJ4pDuobVhIToJjLEDgIRNIdEgCqghUwWwSsFzFRkuKnRlXXk2t+mi5T 8fmTtyXqs2aGQ1+OejnYiAA5kBX8HTTvmnvbk5d5pjWDCCdevmwour3i/mh/Cl1fFCBi QhGw== X-Forwarded-Encrypted: i=1; AJvYcCVflpsMjgUbNP5QyUwxh+rNjdlEe67Mh6tj2i8a4oKgsZWEMuSXBQkrXGjJEcSrrUkbbSfhnMri8X3bQlDRP5oD6iOAcWaO4UGLsv+gg0wJ X-Gm-Message-State: AOJu0Yxt4RqHiO8i82FQWwTT484W3jp/j4O3Ez1B77ttGNoac7jolmXf 3PovQOdJHoRt/cPfuvHFxYtsbcePN7C/lFkT//B73dl0PaCZSY9e X-Received: by 2002:ac2:4ec8:0:b0:519:4f54:1ad4 with SMTP id p8-20020ac24ec8000000b005194f541ad4mr123491lfr.27.1714499280390; Tue, 30 Apr 2024 10:48:00 -0700 (PDT) Received: from grain.localdomain ([5.18.255.97]) by smtp.gmail.com with ESMTPSA id er25-20020a05651248d900b0051d416e8437sm1200382lfb.68.2024.04.30.10.47.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 10:48:00 -0700 (PDT) Received: by grain.localdomain (Postfix, from userid 1000) id DFB775A018C; Tue, 30 Apr 2024 20:47:58 +0300 (MSK) Date: Tue, 30 Apr 2024 20:47:58 +0300 From: Cyrill Gorcunov To: Edward Liaw Cc: linux-kernel@vger.kernel.org, Shuah Khan , "Eric W. Biederman" , Andrew Morton , linux-kselftest@vger.kernel.org, kernel-team@android.com Subject: Re: [PATCH] selftests/kcmp: Remove unused open mode Message-ID: References: <20240429234610.191144-1-edliaw@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240429234610.191144-1-edliaw@google.com> User-Agent: Mutt/2.2.12 (2023-09-09) On Mon, Apr 29, 2024 at 11:46:09PM +0000, Edward Liaw wrote: > Android bionic warns that open modes are ignored if O_CREAT or O_TMPFILE > aren't specified. The permissions for the file are set above: > > fd1 = open(kpath, O_RDWR | O_CREAT | O_TRUNC, 0644); > > Fixes: d97b46a64674 ("syscalls, x86: add __NR_kcmp syscall") > Signed-off-by: Edward Liaw Thanks! Reviewed-by: Cyrill Gorcunov