Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3692428pxb; Mon, 9 Nov 2020 19:17:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJwv63B5w5ivD4K5PVwh45Uem1lndCAfjGMHg0ovyDwq9KIkRz5nE+tN63NP9wM8N2WEpi9a X-Received: by 2002:a17:906:5f8d:: with SMTP id a13mr18070266eju.194.1604978221767; Mon, 09 Nov 2020 19:17:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604978221; cv=none; d=google.com; s=arc-20160816; b=gSs01wDqJhKAyo98SYxn0q8z23XB9wbbkaj2a8xyBGFm1HAYLmPRs1AoLaYbIgsYcH SjlcuB6aYpYpym+OIT8GjGn7FuzI4KhfnIuZ8R6aA4jCILsCZ2h8RrGcXUnFfPRjnqpL jGnr3JDRnvjkC9X2K9DyXz2d0z/ipP4cmh6AZIEVHKlSk2e6/NKVKLXqeZXqK8Po41bv jxUSEkAL1/ub7wlHns8hBPrA3RInnuG1a9wGUuqaW9j/2KXT+ZBN7Z7p6JYsPb6Den8b Q++8Mh3gzvEUp9DMw0y4Rv3w5j3ZnuBI62mj1AXW3YK3V74uxNXVLtxTKRJCp7SDPL+r tPjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date; bh=c9QhAQBzvctFUQNMi90AqTCcUANXvni3N1HqyHVgn44=; b=bFduyD9Mni9loROJSXuagEdfohxs4Ia3W/Pkg/LlFr6b5bNxWuEpTvn1LHh9Gnbroz +L0cjEo3KGNbCxlyWNNyk7lmSsCEZPKrFzj3pFhrv19uUC83J4waCPtQgKfOp/evduTO 0AjcYpJhgcOxh/OBjMly9/CvZbqBBQHVvglf0ip7ym/wzGq/IbPhozjx56u319Ag+FSY gyTXGjAqYr9iSiYUA3juRujvei5LrKpcUT6EKjNi22wG3RcMdN8Rx6Tw3wivRgt0IfTd tvZ/0bOHMCSgS0whgVZlCIiqc4DzCCaqyEe/wDW3O+thQ5fmUWvYP0dKsM3EQzzzO19S nHyg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d22si8084385ejz.82.2020.11.09.19.16.38; Mon, 09 Nov 2020 19:17:01 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729706AbgKJDPR (ORCPT + 99 others); Mon, 9 Nov 2020 22:15:17 -0500 Received: from namei.org ([65.99.196.166]:39792 "EHLO namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729243AbgKJDPR (ORCPT ); Mon, 9 Nov 2020 22:15:17 -0500 Received: from localhost (localhost [127.0.0.1]) by namei.org (8.14.4/8.14.4) with ESMTP id 0AA3Et8b032521; Tue, 10 Nov 2020 03:14:55 GMT Date: Tue, 10 Nov 2020 14:14:55 +1100 (AEDT) From: James Morris To: Aleksandr Nogikh cc: serge@hallyn.com, akinobu.mita@gmail.com, 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 Subject: Re: [PATCH v3 0/2] security: add fault injection to LSM hooks In-Reply-To: Message-ID: References: <20201029183526.2131776-1-aleksandrnogikh@gmail.com> User-Agent: Alpine 2.21 (LRH 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 9 Nov 2020, Aleksandr Nogikh wrote: > 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? > Mine, but more signoffs/acks are required. > Is there anyone else who is not on the recipient list but still might > be interested in the series? > -- James Morris