Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7154322ybi; Mon, 8 Jul 2019 15:44:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqwe+9+dxYpfNsyzasLnojsWQkvaUwN7xzqpC2pxBJyet53eqEUa9xSK/asHOedWqDe+sFUY X-Received: by 2002:a65:4045:: with SMTP id h5mr27341142pgp.247.1562625893466; Mon, 08 Jul 2019 15:44:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562625893; cv=none; d=google.com; s=arc-20160816; b=XxZUCXBl2l6dFoAqPyAatIcuoB9PT9Yp0ThFuhFcBl2OAC3i4K9hXotMQgRR3MQmyH uMYp63ndQYsrsQgYMYiFus9+ougufEP7XgbAyPSw/1cZh3r5b3jGiuYMyZxeYg1F2ZlF jm0c6tGEzrN8BL90lBBLAj9Y2w8oxxMiUax5mbY0jDnwjTcY/xBkjpU8zESDCsMHAKMe w7W8QdCp4vuwkug69wOYw6OBjYtSIPQfdzZ2DG5YpxXLdA6MUiLqzP0mDTCspkjaZrMo 12G/98Pun+uZALxqTYSWYJhY8m8w5AQmEUx/DL1/EKAlL/+2w5To6sDxdJ4j7aGaNVAN t+Og== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=7dDlUWXE3BDiYJAkGp7CGjzY68vf5TiBs2gkLxCROPg=; b=Egqm9ZYHakRc2vqYobK+QtSRVWwVUonSvG4Ndm5RbN0yubz07yw48BBgmp0z0Cb8cU qdALHwewsPbq2VfE1LoMjzYpZ7WT1yQn3nhJP4b64wa7tYtHvYhDKOk6IMmNov6xtX1k 8ujvAbFLBp4uV2RA0Y7ME0EC0DYVou27Aa6lR2o1f70BtV4D5PEpmG139OBOPdbaMs1l T8PC7MrK6Nlevh7XXkBHvFOHsYynBi013YjNDkqtS5Jw4uDeNTMkw5Ztk3rondYu3U9K UXBcNGoY9I3WNUe+oI7BwHY8GSuR8OB486MsPiPRLRZ9H+S1+iHmF7ktzGEaSBc4hM8z W8XA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=oTS27VBG; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e11si19359384plb.407.2019.07.08.15.44.39; Mon, 08 Jul 2019 15:44:53 -0700 (PDT) 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; dkim=pass header.i=@google.com header.s=20161025 header.b=oTS27VBG; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388160AbfGHRiB (ORCPT + 99 others); Mon, 8 Jul 2019 13:38:01 -0400 Received: from mail-oi1-f195.google.com ([209.85.167.195]:36968 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729329AbfGHRiB (ORCPT ); Mon, 8 Jul 2019 13:38:01 -0400 Received: by mail-oi1-f195.google.com with SMTP id t76so13275648oih.4 for ; Mon, 08 Jul 2019 10:38:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7dDlUWXE3BDiYJAkGp7CGjzY68vf5TiBs2gkLxCROPg=; b=oTS27VBGAXTGyWJrG+1bRf5KktV5vuIvxa8IWh1u4JAjBQEhi23d4SyczOUH26kY2R y//ajtI2TI29q75dcyp4FSN6kHo6UyR1wPu6Y62WtELMtJtY2Xkr824CBphlKwNvrFuO ieIrosIuDlKuPw3h2M3licdQ3No/OcsZmxHFpt3c0Kc+o5hSNDIzOkDfH9Z91ZQWyD9C grhZTvCUxZJhweX5ja9rWveALtoabLG30fihRzI/xTkp6fk/mdSPQab2R5qH1XoaWpiD o9GNdIcFxNYegyyTxVLrvQTgO8RvIuuA7e/Fsm1h2c1BcSOCqsarhQ/oMOQ4o/vR2/An BE2Q== 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=7dDlUWXE3BDiYJAkGp7CGjzY68vf5TiBs2gkLxCROPg=; b=uZ5po+O/Z3Pu4DXAkn8PhMNPns6WbnYiN9lXrKQBbspizRxEZ4IxtkJSpyGKaRqx4r MTXDvlr02jWNFeiDfXEvhMiNtZv7bZ/m9aWQpWVrog3IFfnpZVcqNir7X26fovVPo4RH lhxbV6aON8RXWrN7rmQQYDo4/egLL38Kub7VupdKYS0JSbIwWx0rkDsqjH9cXj/wIPLu +s+aJP0cDFOXswkCl/YBSG6w4L35hy/Xdnc25DZsaOowJbJzLqg9n7az6ZUfUCS8NlKY 7oCy710R/H5JUdqLozB21yMtbFKx/HaWplti+zH8QCH+jUz+ssKjFnouGVDvExf0R6CQ J42Q== X-Gm-Message-State: APjAAAUyrfZlVIiezsSjYt+K5uQg3LIgQqOBKVwQezG6hvXsoUQaLOzA VK2icoO4HVuMS8dNIJL5RRZ9eBBALJ+ICFL4SSvjEQ== X-Received: by 2002:aca:b06:: with SMTP id 6mr10585303oil.175.1562607480451; Mon, 08 Jul 2019 10:38:00 -0700 (PDT) MIME-Version: 1.0 References: <1562410493-8661-1-git-send-email-s.mesoraca16@gmail.com> <1562410493-8661-5-git-send-email-s.mesoraca16@gmail.com> In-Reply-To: From: Jann Horn Date: Mon, 8 Jul 2019 19:37:33 +0200 Message-ID: Subject: Re: [PATCH v5 04/12] S.A.R.A.: generic DFA for string matching To: Salvatore Mesoraca Cc: kernel list , Kernel Hardening , Linux-MM , linux-security-module , Alexander Viro , Brad Spengler , Casey Schaufler , Christoph Hellwig , Kees Cook , PaX Team , "Serge E. Hallyn" , Thomas Gleixner , James Morris , John Johansen Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jul 7, 2019 at 6:01 PM Salvatore Mesoraca wrote: > Jann Horn wrote: > > Throughout the series, you are adding files that both add an SPDX > > identifier and have a description of the license in the comment block > > at the top. The SPDX identifier already identifies the license. > > I added the license description because I thought it was required anyway. > IANAL, if you tell me that SPDX it's enough I'll remove the description. IANAL too, but Documentation/process/license-rules.rst says: ==== The common way of expressing the license of a source file is to add the matching boilerplate text into the top comment of the file. Due to formatting, typos etc. these "boilerplates" are hard to validate for tools which are used in the context of license compliance. An alternative to boilerplate text is the use of Software Package Data Exchange (SPDX) license identifiers in each source file. SPDX license identifiers are machine parsable and precise shorthands for the license under which the content of the file is contributed. SPDX license identifiers are managed by the SPDX Workgroup at the Linux Foundation and have been agreed on by partners throughout the industry, tool vendors, and legal teams. For further information see https://spdx.org/ The Linux kernel requires the precise SPDX identifier in all source files. The valid identifiers used in the kernel are explained in the section `License identifiers`_ and have been retrieved from the official SPDX license list at https://spdx.org/licenses/ along with the license texts. ==== and there have been lots of conversion patches to replace license boilerplate headers with SPDX identifiers, see e.g. all the "treewide: Replace GPLv2 boilerplate/reference with SPDX" patches.