Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp6194682rwl; Wed, 22 Mar 2023 07:40:03 -0700 (PDT) X-Google-Smtp-Source: AK7set+fd+EqHnhiMD5IiH8zCAvJcP14JVkGJAOcbz29X4T8wgEGsm7rKd63BNvWrhML2vj+Cu7I X-Received: by 2002:a05:6402:281:b0:4fa:e8f3:968b with SMTP id l1-20020a056402028100b004fae8f3968bmr7291603edv.19.1679496003427; Wed, 22 Mar 2023 07:40:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679496003; cv=none; d=google.com; s=arc-20160816; b=SHVoDNR0R/n/89gXbcxUFOMLcSNZ71WeBZHO1aPoGSUxKZvp/uMCiNSL35/4lKSjTd 30BhKELaMb4+e1/drkPqASiUyKuv5yQfbxi/IRvLjl43VpWx78gF5zHGXIMG/T9iCMSW 8xwFHnHKuaNMmWupwXKHVbyBsoch033STTZFiqthW8WgBRW4yyV+fr3Kf9ZCmsjEEpxF ji2cREQFEuQBLoqxhw7jei80vnC1U/vcjKgoj66/qid5ZvFJPkAWx6lRayE3RzhgyVi4 GbA5KgSp4HzU9jm2I0302usxOMq5Ww8MubXkmztLocSxLo5KtIm78OC3SBrzcE2OxV7M vDQQ== 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 :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Z497ruJqlVfegWF8NRtzXXhznR1xFw36jEr9lMNWtW8=; b=uxz/hY8yCtHwtZkkixJ8JVLeQI4bmisSaZrPbEWk//BofKggKbhsGsRvBo866Vlaso A+CMH9Xd+4lfNEn70kPYULrkVLW5aRmh8N6Bh0x4ap7zargrVG7wyq9vIuUKPKamu+yo QGrEtsBjGuPJjeKKDFTAhtoePCDvGipGe4z/lx/zIp9TUseV8zhZbthqBM5bomGFGICo 6+u3iquemTT+J10g3g4UaECr9L1SgcfHM1W37ZWJpgzKxM+Xf8MvHygboIhBF+kms2bN JYtk4MOMK78Sc1aZh2FAYCXs80JZGlV6bZAO0tabUm8wO4nKR7Ps2b+OG7874n1Mu6Cw gt8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=ZYK26V2g; 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 l26-20020a056402125a00b004fc9c1d2f07si15429201edw.554.2023.03.22.07.39.38; Wed, 22 Mar 2023 07:40:03 -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=ZYK26V2g; 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 S231199AbjCVOhg (ORCPT + 99 others); Wed, 22 Mar 2023 10:37:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229732AbjCVOhd (ORCPT ); Wed, 22 Mar 2023 10:37:33 -0400 Received: from mail-il1-x135.google.com (mail-il1-x135.google.com [IPv6:2607:f8b0:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4BA31113F2 for ; Wed, 22 Mar 2023 07:37:32 -0700 (PDT) Received: by mail-il1-x135.google.com with SMTP id u8so3292537ilb.2 for ; Wed, 22 Mar 2023 07:37:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1679495851; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Z497ruJqlVfegWF8NRtzXXhznR1xFw36jEr9lMNWtW8=; b=ZYK26V2g092icbcstQePXB1TRFPbPQZe1CBwJf7P9Teq6XfzVNhFnnBH7vjC27DghI Flp2kk3ZGV9n26FTjrkwHXGuPVJxjMw3X7k33h8nZHDZcl9JirgmckGzyOU79bP1IWG2 BtLGzrA+Zqqlag+cXqezUxGhi2O8weCKIweq0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679495851; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Z497ruJqlVfegWF8NRtzXXhznR1xFw36jEr9lMNWtW8=; b=I2SJCy5rjHuoW2S3EGETbDuRekyMGozasmwYYinYN5VUszq6x0DKDMghSCupVSsRYX 3fPxdHII50lBKEoOkpNpf7eaOkRnd+WxfNaK/1WJBho8AEySnAz8gLd+sQOxvwJQzhLW BBQy1VKiSOCYkvbRoQXJOSDOOghZr02F5axMIgHsWMDAcoYADjzuVY/q2DB8+4TYtWIh DVI773trEzu+lmgI3UlxALEF3okmebA/ILEVzGIfjOwy1jKTIOrwPvPfcjHGGPl4jFEm OEGmUsxL8wfHKbyf9EnPVujT5g5/qnhqDtkLmw/fcsqbRXdLZulIalFJ84BrepC24+SY pfwQ== X-Gm-Message-State: AO0yUKXP9CpZx8X8ixhF2TgVQ/eTsNp/KnZTcs4iQDNQ4HL7n8xNNaXI x1UKPw94KrfM+7W7pwbrI9ILig== X-Received: by 2002:a05:6e02:1354:b0:323:504:cff6 with SMTP id k20-20020a056e02135400b003230504cff6mr3702500ilr.3.1679495851552; Wed, 22 Mar 2023 07:37:31 -0700 (PDT) Received: from [192.168.1.128] ([38.15.45.1]) by smtp.gmail.com with ESMTPSA id f102-20020a0284ef000000b0040631e8bf89sm5063538jai.38.2023.03.22.07.37.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 22 Mar 2023 07:37:31 -0700 (PDT) Message-ID: Date: Wed, 22 Mar 2023 08:37:30 -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] docs: add system-state document to admin-guide To: Bagas Sanjaya , corbet@lwn.net Cc: kstewart@linuxfoundation.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Shuah Khan References: <20230321231816.31131-1-skhan@linuxfoundation.org> Content-Language: en-US From: Shuah Khan In-Reply-To: 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,URIBL_BLOCKED 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/22/23 03:29, Bagas Sanjaya wrote: > On Tue, Mar 21, 2023 at 05:18:16PM -0600, Shuah Khan wrote: >> +scripts/checksyscalls.sh can be used to check if current architecture is >> +missing any function calls compared to i386. > > i386 is the reference architecture for comparing syscalls, right? > Correct. If you are askig about "function calls" wording, this is coming right from the checksyscalls.sh >> +This scripts parses Documentation/features to find the support status >> +information. It can be used to validate the contents of the files under >> +Documentation/features or simply list.:: > > "... to validate contents of Documentation/features files or simply list > them::" > >> +Let's do one last sanity check on the system to see if the following two >> +command outputs match. If they don't examine your system closely. kernel >> +rootkits install their own ps, find, etc. utilities to mask their activity. >> +The outputs match on my system. Do they on yours? >> + >> +ps ax | wc -l >> +ls -d /proc/* | grep [0-9]|wc -l > Thanks for catching this. > The shell snippet above should be in a code block for consistency > with other snippets. > >> +Linux kernel supports several hardening options to make system secure. >> +kconfig-hardened-check tool sanity checks kernel configuration for >> +security. You can checkout the latest:: > > "... If you don't have the tool handy, you can clone the repository::" I can fix it to say "clone the latest" > >> + * https://docs.kernel.org/trace/index.html > > Shouldn't the last ref be internal link (Documentation/trace/index.rst)? > This docs.kernel.org link intentional and it is better to this rendered version. thanks, -- Shuah