From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 632AB1F4CBB; Fri, 28 Feb 2025 17:27:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740763621; cv=none; b=kiGoMcCcWoArE1FvZI4pI6Pq6sqTzbK2TJeM6JnRxP8xdhIgH+XD+dKMZunW0M/B5mC8DKD6+axznFbJDnEObYuMvXokispTlHlRkihl5GWrOgBz74tThW38Kl+DKC36gvwB5hZoTy4LuYWufOww+6XiW0zpl6MeeKdFYMpzy3o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740763621; c=relaxed/simple; bh=CW4N1E2K5tm4NvI/q3SQKXvlT5joaCote94ik/M3ROM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=VZbZOwFNwi96cPlQROzC08xH9kse4eYHEDts5G9ZnETbQlcPWH7hoEoixYrQBpFrpfoMutpOYR5/NrFkjMtKwGalp5Woj7QXK4gsAL439mp7LDaNcoWF39VeuDr3TfMVgkn++1TTwsiRnHMl6RTOjBqG1y9tkfdnq7GrkS7dSuc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id CBA27150C; Fri, 28 Feb 2025 09:27:14 -0800 (PST) Received: from [10.163.40.175] (unknown [10.163.40.175]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 8E4E03F6A8; Fri, 28 Feb 2025 09:26:55 -0800 (PST) Message-ID: Date: Fri, 28 Feb 2025 22:56:45 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 09/10] selftests/mm: Drop unnecessary sudo usage To: Brendan Jackman , Lorenzo Stoakes , Andrew Morton , Shuah Khan Cc: linux-mm@kvack.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org References: <20250228-mm-selftests-v3-0-958e3b6f0203@google.com> <20250228-mm-selftests-v3-9-958e3b6f0203@google.com> Content-Language: en-US From: Dev Jain In-Reply-To: <20250228-mm-selftests-v3-9-958e3b6f0203@google.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 28/02/25 10:24 pm, Brendan Jackman wrote: > This script must be run as root anyway (see all the writing to > privileged files in /proc etc). > > Remove the unnecessary use of sudo to avoid breaking on single-user > systems that don't have sudo. This also avoids confusing readers. > > Signed-off-by: Brendan Jackman Reviewed-by: Dev Jain