[LTP] [PATCH 1/1] nfslock01: Add GPL-2.0-or-later license
Petr Vorel
pvorel@suse.cz
Mon Apr 24 20:39:36 CEST 2023
> C sources and headers in nfslock01 directory don't have a license.
> Add GPL 2+.
Hm, there should probably be copyright added as well.
Kind regards,
Petr
> Signed-off-by: Petr Vorel <pvorel@suse.cz>
> ---
> testcases/network/nfs/nfslock01/nfs_flock.c | 1 +
> testcases/network/nfs/nfslock01/nfs_flock.h | 2 ++
> testcases/network/nfs/nfslock01/nfs_flock_dgen.c | 1 +
> testcases/network/nfs/nfslock01/nfs_flock_func.c | 2 ++
> 4 files changed, 6 insertions(+)
> diff --git a/testcases/network/nfs/nfslock01/nfs_flock.c b/testcases/network/nfs/nfslock01/nfs_flock.c
> index 92acceee9..5aba3340a 100644
> --- a/testcases/network/nfs/nfslock01/nfs_flock.c
> +++ b/testcases/network/nfs/nfslock01/nfs_flock.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Program for testing file locking. The original data file consists of
> * characters from 'A' to 'Z'. The data file after running this program
> diff --git a/testcases/network/nfs/nfslock01/nfs_flock.h b/testcases/network/nfs/nfslock01/nfs_flock.h
> index 09e3845f4..1cf7f45a3 100644
> --- a/testcases/network/nfs/nfslock01/nfs_flock.h
> +++ b/testcases/network/nfs/nfslock01/nfs_flock.h
> @@ -1,3 +1,5 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> +
> #include <stdio.h>
> #include <sys/stat.h>
> #include <errno.h>
> diff --git a/testcases/network/nfs/nfslock01/nfs_flock_dgen.c b/testcases/network/nfs/nfslock01/nfs_flock_dgen.c
> index 39abc549f..19acbd743 100644
> --- a/testcases/network/nfs/nfslock01/nfs_flock_dgen.c
> +++ b/testcases/network/nfs/nfslock01/nfs_flock_dgen.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * This program generates data for testing file locking
> */
> diff --git a/testcases/network/nfs/nfslock01/nfs_flock_func.c b/testcases/network/nfs/nfslock01/nfs_flock_func.c
> index 811136188..180338c57 100644
> --- a/testcases/network/nfs/nfslock01/nfs_flock_func.c
> +++ b/testcases/network/nfs/nfslock01/nfs_flock_func.c
> @@ -1,3 +1,5 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> +
> #include <stdlib.h>
> #include <unistd.h>
More information about the ltp
mailing list