[PATCH] audit: Convert to SPDX identifier

Paul Moore paul at paul-moore.com
Mon Sep 13 20:01:16 UTC 2021


On Sat, Aug 21, 2021 at 10:14 PM Cai Huoqing <caihuoqing at baidu.com> wrote:
>
> use SPDX-License-Identifier instead of a verbose license text
>
> Signed-off-by: Cai Huoqing <caihuoqing at baidu.com>
> ---
>  kernel/auditsc.c | 15 +--------------
>  1 file changed, 1 insertion(+), 14 deletions(-)
>
> diff --git a/kernel/auditsc.c b/kernel/auditsc.c
> index 8dd73a64f921..969c1613fed9 100644
> --- a/kernel/auditsc.c
> +++ b/kernel/auditsc.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0+

It appears the current recommended token is "GPL-2.0-or-later", please
update this patch to use the preferred license identifier.

* https://spdx.org/licenses

>  /* auditsc.c -- System-call auditing support
>   * Handles all system-call specific auditing features.
>   *
> @@ -6,20 +7,6 @@
>   * Copyright (C) 2005, 2006 IBM Corporation
>   * All Rights Reserved.
>   *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
> - *
>   * Written by Rickard E. (Rik) Faith <faith at redhat.com>
>   *
>   * Many of the ideas implemented here are from Stephen C. Tweedie,
> --
> 2.25.1

-- 
paul moore
www.paul-moore.com




More information about the Linux-audit mailing list