Re: [PATCH v2 01/18] nitro_enclaves: Add ioctl interface definition

Greg KH
2020-05-22T07:00:24Z

On Fri, May 22, 2020 at 09:29:29AM +0300, Andra Paraschiv wrote:
> --- /dev/null
> +++ b/include/uapi/linux/nitro_enclaves.h
> @@ -0,0 +1,77 @@
> +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
> +/*
> + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
> + *
> + * This program is free software; you can redistribute it and/or modify it
> + * under the terms and conditions of the GNU General Public License,
> + * version 2, as published by the Free Software Foundation.
> + *
> + * 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, see <http://www.gnu.org/licenses/>.
> + */

Note, if you have the SPDX line, you can get rid of all of the
boilerplate "GPL text" as well. We have been doing that for lots of
kernel files, no need to add more to increase our workload.

thanks,

greg k-h