Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp168565imu; Thu, 20 Dec 2018 19:20:55 -0800 (PST) X-Google-Smtp-Source: ALg8bN5V55TQhT/Ume2wAeCXRhCIo4BZ4skaLEimZlDRXn4jNgTOlCataAyhIcfQW9Nj3WZnzPMu X-Received: by 2002:a17:902:e20b:: with SMTP id ce11mr785273plb.251.1545362455509; Thu, 20 Dec 2018 19:20:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545362455; cv=none; d=google.com; s=arc-20160816; b=nb/hsTo37yhzddmhR+xFYAnfuAIaVvXKYPGtZsSaQhDf5wsO3a4CjovkZjsc0K6X9P YHLH34L4BMaXroz6jPadMRuVCqSdPI7ncpaJGUS2+1YIJIxSSoUjDo1XxGd7145iZ+B1 84cWGSp0LeAgbjbdyqoG3gJASZcdaz2+sQgzw8LBZTOt6TwasBp6wwHZsy9R5bJ4+ExR TWxFnGakIuEkx5yeVX9dzKLplGZin53Nj1atEUvIPS7/KS6vycQ6Tcwn4RuuJA7ikleK YDDMiPhiTCmpUwAo5ekNj6Q6V14vfJMpET3Xk3cjI1lkc718eJ4vz1mnL6xsE/3tOSin /Hlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:subject:autocrypt:openpgp:from:references:cc:to; bh=HJBF4l6I03T47wVSAll6sti1TNqY5k1j/xfMlXe6EYg=; b=jrqLlCWF9jn4PQFZyl3ZGwIiJ+Exfpm6mvHttJ0MwoqF4i6qxlSy/6E42avDWx73dl w0LBQKb6GiNEUSRNqi7vWmDb4y8dlfjKDzdOWKk8Vt2LejgU8eq9nzsUPqCEsCm99pyM gkg6K6WUT9KwMahyuOHS7sCjvXQCHLMlKOXX/e24noeYDWfaDV9M+5QbkfaKhZwvJ9bC k5VZWAiunCfvUkKtP3CHs6M1/tiwy2JOjr9w5blocgoWbR3oUZlPwdy6Gh2HRjrwBmX/ TFUdO7TWPfRk/43PXhkzoDCcLCbgD1XBDI9csyfSxiQXcG458FfIn668pqAxzc4DgxCH SMxg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r18si20094340pgo.9.2018.12.20.19.20.39; Thu, 20 Dec 2018 19:20:55 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388808AbeLTSWD (ORCPT + 99 others); Thu, 20 Dec 2018 13:22:03 -0500 Received: from wp227.webpack.hosteurope.de ([80.237.132.234]:60366 "EHLO wp227.webpack.hosteurope.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730855AbeLTSWC (ORCPT ); Thu, 20 Dec 2018 13:22:02 -0500 Received: from ip4d142c80.dynamic.kabel-deutschland.de ([77.20.44.128] helo=[192.168.66.118]); authenticated by wp227.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1ga2xK-00078S-Gd; Thu, 20 Dec 2018 19:21:58 +0100 To: Randy Dunlap , Jonathan Corbet Cc: linux-doc@vger.kernel.org, Linux Kernel Mailing List References: <20181217152043.9989-1-linux@leemhuis.info> <20181217112437.5fe868eb@lwn.net> <8f67a8ca-bf64-c537-843a-b03bcfc3dace@infradead.org> <96fc8865-c54f-5c6c-f6c8-d7a5a12735e6@leemhuis.info> <20181220082819.69fc3e5c@lwn.net> From: Thorsten Leemhuis Openpgp: preference=signencrypt Autocrypt: addr=linux@leemhuis.info; prefer-encrypt=mutual; keydata= mQINBFJ4AQ0BEADCz16x4kl/YGBegAsYXJMjFRi3QOr2YMmcNuu1fdsi3XnM+xMRaukWby47 JcsZYLDKRHTQ/Lalw9L1HI3NRwK+9ayjg31wFdekgsuPbu4x5RGDIfyNpd378Upa8SUmvHik apCnzsxPTEE4Z2KUxBIwTvg+snEjgZ03EIQEi5cKmnlaUynNqv3xaGstx5jMCEnR2X54rH8j QPvo2l5/79Po58f6DhxV2RrOrOjQIQcPZ6kUqwLi6EQOi92NS9Uy6jbZcrMqPIRqJZ/tTKIR OLWsEjNrc3PMcve+NmORiEgLFclN8kHbPl1tLo4M5jN9xmsa0OZv3M0katqW8kC1hzR7mhz+ Rv4MgnbkPDDO086HjQBlS6Zzo49fQB2JErs5nZ0mwkqlETu6emhxneAMcc67+ZtTeUj54K2y Iu8kk6ghaUAfgMqkdIzeSfhO8eURMhvwzSpsqhUs7pIj4u0TPN8OFAvxE/3adoUwMaB+/plk sNe9RsHHPV+7LGADZ6OzOWWftk34QLTVTcz02bGyxLNIkhY+vIJpZWX9UrfGdHSiyYThHCIy /dLz95b9EG+1tbCIyNynr9TjIOmtLOk7ssB3kL3XQGgmdQ+rJ3zckJUQapLKP2YfBi+8P1iP rKkYtbWk0u/FmCbxcBA31KqXQZoR4cd1PJ1PDCe7/DxeoYMVuwARAQABtCdUaG9yc3RlbiBM ZWVtaHVpcyA8bGludXhAbGVlbWh1aXMuaW5mbz6JAj0EEwEKACcFAlJ4A3UCGwMFCQ0oaIAF CwkIBwMFFQoJCAsFFgIDAQACHgECF4AACgkQcrbm70xYPS0OOw/+OM+pakOz+MDn9vAgc5Xj dVqxjH1+cg7UWkW6UrkniT3i+THv535lGwwB93iQpG0eaLqIPcfFqWGHCJDY4ys8AdCiGA55 D8eX/A/94Dboz6hzxfu2M4KvpiV2FQrklIZXGiLfr0+ybBUu+PoiS4OA8UzNc/r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tWW7LT27gg cEsHtxEab6ZnSMx7SCuBvYhiEd0nqNKFjs0L5BZ/JtpOh9vw3pc/SHBxHn0nubtBoyANfG2R Le0dpPAjGfOL6cljnIYMFytgzVwDs6uM8FfFuE4mIhYiFV30o9fObwqbhO49LoKdABEBAAGJ AiUEGAEKAA8FAlJ4AQ0CGwwFCQ0oaIAACgkQcrbm70xYPS2OxxAAr8OqW+bEjQV2PLLAHIh6 fmhajXtSn9bzULofgyD4PsgMsG25di74GbegGyTIwt7cS7Z5ZR5KL7ZkN1GTDFGlWyiZ+6NC VsWR62+eujnYvtHsQPaTo8A/uFV+Too4v4ikS4ZD0ondWa1FimLouem9QwOSnyn4yErxUQcU yUXHLhUtYs7MO5R4G++Ev+9eK7rRqPeUOqTjQV6Eigi5Ny4536fKMJDNp+YhlRopWBA0fVjf tF0MJTV0ShFK1YWLOADJYo9NG+KOeyUqesOvRSxtpQcdcrwPFjkJ3JcknxZstvWid4goqMY7 l/vGoG7zQDSxUDpXcG9X70yHrmVK/w0dn/PHalfUnOsQpvQYTjGhZ4UnXAVaBsouYLGFo9AL lLNERHY4eRR4MEYvk6ABZ1AEaJwiwyZuPRt/iN1EIMM7fnQQcdBYHGJzaV8a3jwHeLAPY1e/ hS1OsrR9pqGvqQsagYkiZFOCjZxx0IQhokMSIxbFvNfLHTqXXpJzlCv9QGj3s2ZG6o36u42k yc+mP1ya8uxIFEwcp6C1h4TTisVFC2DXxDi7pqUd9oTuI4Hg19/i07cdYUHDiraDXSXW5zH9 5ZDV+rSqDU3ercoRd2qjGUOIXWOytHTeJhVOWqM0vOmXDUwwYHuEb0HFn3d/tz+idSrXUSXZ 5iv6NKaV29GWHbY= Subject: Re: [PATCH 0/1] RFC: Revamp admin-guide/tainted-kernels.rst to make it more comprehensible Message-ID: <0996ba55-e5e1-49e2-f0ed-82cb1619ee03@leemhuis.info> Date: Thu, 20 Dec 2018 19:21:57 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-MW Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;linux@leemhuis.info;1545330121;a92d69e3; X-HE-SMSGID: 1ga2xK-00078S-Gd Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 20.12.18 um 17:38 schrieb Randy Dunlap: > On 12/20/18 7:28 AM, Jonathan Corbet wrote: >> On Thu, 20 Dec 2018 16:23:38 +0100 >> Thorsten Leemhuis wrote: >> >>> While at it: Jonathan, you mentioned putting the script in scripts/, but >>> according to the Makefile in that directory it is "for various helper >>> programs used throughout the kernel for the build process". That's one >>> reason why it feels wrong to put it there. Another one: that script >>> targets users and thus we should try to make sure they can access it >>> easily. That's why I'm currently inclined to put it in tools/ somewhere. >> Yeah, tools/ is a better place. Maybe a tools/debugging directory or some >> such? > chktaint BTW, I renamed it to kernel-taintstatus, sounded more appropriate to me. Does anyone mind? > is similar (IMO) to scripts/decodecode though. Hmmm. Maybe it would be better to move this to tools/? Will take a quick look, guess sooner or later by current endeavours will lead me to the documentation that refers to this script anyway. > @Thorsten: > Signed-off-by: Randy Dunlap Thx. And thx for the feedback in the other reply. BTW, for those following this thread and my earlier quest for a simple cmd to decode /proc/sys/kernel/tainted: looks like @apexo on twitter (thx again!) found a trick to do what I want which should work on most systems out-of-the-box: $ for i in $(seq 18); do echo $i $(($(cat /proc/sys/kernel/tainted)>>($i-1)&1));done Ciao, Thorsten