Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3439959pxb; Mon, 9 Nov 2020 11:08:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJxEcTUMltknNLfYABWDsIaLM3mv8CNtZEXEW30sRIr4DN2JFj99Yn+Ea9YzcVqelpgQstY+ X-Received: by 2002:a50:a40f:: with SMTP id u15mr17436803edb.307.1604948921469; Mon, 09 Nov 2020 11:08:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604948921; cv=none; d=google.com; s=arc-20160816; b=jG6hmYaeeZ9fB7XA0IelpZ/uw3QRJMfThTQ4hOO79BJI8bO7AGnmqSLRp112cb9C1O NbAtlgqrIuCBHfQGB4ScBQreIfI0GMYrKq49R7yWTrUHjXPT7trFpQGgu4Epi92eB704 IiOcsHGIMCdbeZNXEZRNnB1zDh3bMB6fxR/gxvBuqvFKhQrhFNAU7Tz2u8C4icUlSQ5H 251xLWafpsuuG97TW2NyihS9Dokm+BAPOi6P9GmY629eEC99WtmuIlvc67wy7zGFvUOr AdknLNEXMovRVF2pO9uH8Nf9jnMw/9LYnfZ2sObnfdblhq8KPKhyTWUyqDiOwiuFx+gg Zw0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=LHzkmOmPkjnd4G3j6iZOSBoju4aalKTDiO1p/8nrAtk=; b=0uta1tOdja+emD31negWjRaT67mDI5cmLrLG7f5fNpQ0ieIz4n7Jr+9iX+MwIgimXq ZwbVOM3Hoz+L6lsNbdU5Jm2SvTaHDwcHQAdh0JOCMgGKeRDqCCL0sjNSNHX+34fWitf1 nKHeQWHNnpJwzw98iQB0l0jUZT1cF5w5DcIPalZvVbA97EODqpmXgX515rbVFifbyiGF 0NDZZdlf+yd1dpzxkVfm8ODe9lOVExp/e5dmkoKdtMfHjYCAvROAwlewljYKNuB5sCl5 agCI4X7Xr/c5CeIfh1SKqsmWzbO9iUaVIWJck+jnJxjxfcBTErlhFeQCvCADZcsUP8BZ /q0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="g4W/Esn0"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e13si7312565eja.305.2020.11.09.11.08.16; Mon, 09 Nov 2020 11:08:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="g4W/Esn0"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729897AbgKITGk (ORCPT + 99 others); Mon, 9 Nov 2020 14:06:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727303AbgKITGk (ORCPT ); Mon, 9 Nov 2020 14:06:40 -0500 Received: from mail-ua1-x941.google.com (mail-ua1-x941.google.com [IPv6:2607:f8b0:4864:20::941]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8BDCBC0613CF; Mon, 9 Nov 2020 11:06:38 -0800 (PST) Received: by mail-ua1-x941.google.com with SMTP id g3so1475231uae.7; Mon, 09 Nov 2020 11:06:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=LHzkmOmPkjnd4G3j6iZOSBoju4aalKTDiO1p/8nrAtk=; b=g4W/Esn0PCw1rNqZHCEy6aVXzNhdlt7xxIAfg11E/IlViUup+R6NwVIP7jvdL5c98W ESNR/zWn5Hw94oynRqdEPmrI7ZlE5NR/aDzubeh52GC+kWjE5C/XhOhymskqjAqzybKV cuUdvcE11NNU8rIyDobk1zW1gaw5B0ZGewl30b+r9NOAsbCVi0gOMtlZNm3weniT6Y4A 2AoG0lXC7hJ2I/+741o/FJvNA1YSAAWJbDhw0KyVxJ1XXQ5B1rBhVWDVMZSL5afa5Q7L 6DkyT+Z+wcrliguiPVPVv5BRfA/jA/Inf5bDB9lmnR92uO5p4HtFu5qsBfA3lxbIuqYG G7vA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=LHzkmOmPkjnd4G3j6iZOSBoju4aalKTDiO1p/8nrAtk=; b=F1fW9N0GBDsCCyxyaitc9HdM1U1ZDjarBTMxVMwbhBGz2Iep+ngNirPtQYannkKOs9 HbQ/16QLX5McfpK5RYCRGlF/Q9jKVfh0MnczlHd81mTd/5j5TWsiQGy3t/vUm2bltnUS 67R5CH1rd7ppxqET5WVJ7dsCPqakVAEAsD6H6ktWibbV57074IkhruKrxATIO+5JVXfG Dwg9dtl14v0Q6z50oUfWtL1gT9cERcsUr1I6NpBA35KScMcFW7YimKSaNigStb76CGYw k9zjpPxCeX712QYAJdNwVH/s3GVv80f2hbJJfdiAtHGWzZv8xy02bdYIlISYZoF2mT57 dyIQ== X-Gm-Message-State: AOAM532/DGoHc3VEUWap4aE0RDl7Fwg7X9iC9DLcRpoEaOEuQENnP5Z1 IB8Vt/R3Tw//5HYDeeXkiSooCF8qIswFB1jgAwo= X-Received: by 2002:ab0:549c:: with SMTP id p28mr8452414uaa.47.1604948797853; Mon, 09 Nov 2020 11:06:37 -0800 (PST) MIME-Version: 1.0 References: <20201029183526.2131776-1-aleksandrnogikh@gmail.com> In-Reply-To: <20201029183526.2131776-1-aleksandrnogikh@gmail.com> From: Aleksandr Nogikh Date: Mon, 9 Nov 2020 22:06:27 +0300 Message-ID: Subject: Re: [PATCH v3 0/2] security: add fault injection to LSM hooks To: jmorris@namei.org, serge@hallyn.com, akinobu.mita@gmail.com Cc: Andrey Konovalov , Dmitry Vyukov , Marco Elver , Alexander Potapenko , Kees Cook , casey@schaufler-ca.com, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, Aleksandr Nogikh , mortonm@chromium.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 29 Oct 2020 at 21:35, Aleksandr Nogikh wrote: > > From: Aleksandr Nogikh > > Fault injection capabilities[Documentation/fault-injection/fault-injection.rst] > facilitate testing of the stability of the Linux kernel by providing > means to force a number of kernel interfaces to return error > codes. This patch series proposes adding such fault injection > capability into LSM hooks. > > The intent is to make it possible to test whether the existing kernel > code properly handles negative return values of LSM hooks. Syzbot > [https://github.com/google/syzkaller/blob/master/docs/syzbot.md] will > automatically do that with the aid of instrumentation tools once these > changes are merged. > [...] What tree should these changes go to? Is there anyone else who is not on the recipient list but still might be interested in the series?