Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4696707rwl; Tue, 28 Mar 2023 10:03:18 -0700 (PDT) X-Google-Smtp-Source: AKy350be06mnlaxEnei9mCnuCegsRXn1MZHEAx4i9pjR23k3fK41Y9ymQKDu8mQOnn4Mtj565XUi X-Received: by 2002:a17:906:7312:b0:91f:5f9c:5db6 with SMTP id di18-20020a170906731200b0091f5f9c5db6mr23625389ejc.52.1680022998215; Tue, 28 Mar 2023 10:03:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680022998; cv=none; d=google.com; s=arc-20160816; b=pRFUtvnieCnN0rI8M4kqqCqjqUqRdX2WZimYwZoJc9cL3lpNdO3YkxXipFyEJzm1lV 66S8w8YKO5v0p0x2gUGCNMOuHRNs9fiMwm7QCt3AGr1ZBNPeEO072Ql5d1BD2wHk+Dvs 2ihEZEE0IqSyE6ghx1tMa4e6QmtBRMh+kvoLoJYPyT3OBzxIi939GAZbFL7Sjkh2enzX +a25adYatwmvobE3eJnwTD4fOGPexHljG6QzAimPR2xdJrzpmMPKyTV7iROC7FvI/4rj v8hchof+kTUXLIPrSfzI/6NEmYlXWQWRWmAuuz9AHZ9WzPXEq8vACB+k9BCR66d8+E8Q l1+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=bUwFwipOno/fglymvApN977dbpW81hWLY7eREVlD5Pw=; b=RhsuswHoN2PO0NM+qSR8/x2OnE7p0G6JPD9OxhxsDR6M49VhOmc1bRy3H04t7NNPCr 3xYqByQofH1ySLfb9ZU617F0semdIDlJi1vORR0M25y+Q3A9qK2oHE9NnsRydIO1aW4a 9ZfDaGDCTM15e7AAKyzuWJE4WIBxETgFEjmBTmUVp+nUoNVK5Dso4D4U5d2YaggO/AlB Ru+OLW1Ecob8oOVJ32Tl8ccQ5ZFao4nb1AmXRfoqzu8BUJ68ip7CNlll1ogj4oouLIcC +9mMf2r+A7F7E2VXUeB8NBc0ChZypVUa876KEI/xr0e+nENco5eyHFQCEoIapEJmyyQq 0ICg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=X4Tf1nN8; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j18-20020a170906279200b00930371d2698si15058262ejc.894.2023.03.28.10.02.42; Tue, 28 Mar 2023 10:03:18 -0700 (PDT) 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=@linuxfoundation.org header.s=google header.b=X4Tf1nN8; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230052AbjC1QzX (ORCPT + 99 others); Tue, 28 Mar 2023 12:55:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42058 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230384AbjC1QzW (ORCPT ); Tue, 28 Mar 2023 12:55:22 -0400 Received: from mail-io1-xd2a.google.com (mail-io1-xd2a.google.com [IPv6:2607:f8b0:4864:20::d2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33719B746 for ; Tue, 28 Mar 2023 09:55:21 -0700 (PDT) Received: by mail-io1-xd2a.google.com with SMTP id p17so5622990ioj.10 for ; Tue, 28 Mar 2023 09:55:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1680022520; x=1682614520; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=bUwFwipOno/fglymvApN977dbpW81hWLY7eREVlD5Pw=; b=X4Tf1nN8HP4DeFF6EbvEkWREB1st50NkDS65kp+8R/cs7sKXVZc8Drmku3oRAX2RFw EntI3xB8VLzQn52gwj85snAZ5SeUAAL/2kIgNq3hpgbXH8LXfUNjZ2O1U6nxUf6uK7tB iQ7YOdgkCdEd+xOUzAft8fsTn4NokUSotJ2TI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680022520; x=1682614520; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=bUwFwipOno/fglymvApN977dbpW81hWLY7eREVlD5Pw=; b=YiWq41zHY4HO/UG54fWooCQuBCd8V59LvLxMuQL27M7B8P+koGdcNL9YVdUkeugQ9Y 3AocB3iDz5zpI4/ZxNxQCcw2I/Tg3OidUhscF5UsnDTPSDk1R4KdWgkJSk+xU5dXljK8 GL+UC1pfdpI2znIMDfN9yi+JfpXoVpoqnAcEafRYdvLCSrBk1HQGJugm+s/ZIXXiL1T0 4s4cARquHJiQI5J9o923ErQXMKdjCO2LPvVMnIwfHj/HCTJHAMBqHtxJJeeogDdgxPeQ c2ZllrpXSlTlk6f3TSOFpt9JXq8aGRHPqDNQvu2lgZsr3/z78qE/wLKf5c+TfPbYkS4B cBBg== X-Gm-Message-State: AO0yUKXjALlRtlvbc7C7iBwiy1oTsLXCzldYg/brxgzXXADMunCdaJFs /XK1Jlpl8qn8jkFUOPmsGCrXUw== X-Received: by 2002:a05:6602:2f04:b0:758:9dcb:5d1a with SMTP id q4-20020a0566022f0400b007589dcb5d1amr11663431iow.2.1680022520562; Tue, 28 Mar 2023 09:55:20 -0700 (PDT) Received: from [192.168.1.128] ([38.15.45.1]) by smtp.gmail.com with ESMTPSA id s19-20020a056638259300b003acde48bdc3sm9622622jat.111.2023.03.28.09.55.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 28 Mar 2023 09:55:20 -0700 (PDT) Message-ID: Date: Tue, 28 Mar 2023 10:55:19 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH v2] selftests: prctl: Add new prctl test for PR_SET_VMA action Content-Language: en-US To: Ivan Orlov , shuah@kernel.org, colin.i.king@gmail.com Cc: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org, himadrispandya@gmail.com, Shuah Khan References: <20230325205903.5550-1-ivan.orlov0322@gmail.com> From: Shuah Khan In-Reply-To: <20230325205903.5550-1-ivan.orlov0322@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 3/25/23 14:59, Ivan Orlov wrote: > This patch will add the new test, which covers the prctl call with > PR_SET_VMA command. The test tries to give a name to the anonymous > VMA within the process memory map, and then checks the result of > the operation by parsing 'maps' virtual file. > > Additionally, the test tries to call the prctl PR_SET_VMA command > with invalid arguments, and checks the error codes for correctness. > > At the moment anonymous VMA naming through prctl call functionality > is not covered with any tests, so I think implementing it makes sense. > > In version 2 of this patch I consider the selftest Makefile rule about > TARGETS entries order - I moved the 'prctl' entry in the Makefile to > follow the lexicographic order. In version 1 it was placed at the > end of the list. > > Signed-off-by: Ivan Orlov > --- Thank you. Applied to linux-kselftest next for Linux 6.4-rc1. thanks, -- Shuah