* [LTP] [PATCH 1/1] nfslock01: Add GPL-2.0-or-later license
@ 2023-04-24 17:59 Petr Vorel
2023-04-24 18:39 ` Petr Vorel
2023-04-28 16:29 ` Petr Vorel
0 siblings, 2 replies; 5+ messages in thread
From: Petr Vorel @ 2023-04-24 17:59 UTC (permalink / raw)
To: ltp
C sources and headers in nfslock01 directory don't have a license.
Add GPL 2+.
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>
--
2.40.0
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [LTP] [PATCH 1/1] nfslock01: Add GPL-2.0-or-later license
2023-04-24 17:59 [LTP] [PATCH 1/1] nfslock01: Add GPL-2.0-or-later license Petr Vorel
@ 2023-04-24 18:39 ` Petr Vorel
2023-04-25 11:20 ` Cyril Hrubis
2023-04-28 16:29 ` Petr Vorel
1 sibling, 1 reply; 5+ messages in thread
From: Petr Vorel @ 2023-04-24 18:39 UTC (permalink / raw)
To: ltp
> 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>
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LTP] [PATCH 1/1] nfslock01: Add GPL-2.0-or-later license
2023-04-24 18:39 ` Petr Vorel
@ 2023-04-25 11:20 ` Cyril Hrubis
2023-04-25 12:15 ` Petr Vorel
0 siblings, 1 reply; 5+ messages in thread
From: Cyril Hrubis @ 2023-04-25 11:20 UTC (permalink / raw)
To: Petr Vorel; +Cc: ltp
Hi!
> > C sources and headers in nfslock01 directory don't have a license.
> > Add GPL 2+.
>
> Hm, there should probably be copyright added as well.
As these were added as part of the nfslock01.sh I would just add IBM
copyright and the same license GPL-2.0-or-later to these as well.
--
Cyril Hrubis
chrubis@suse.cz
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LTP] [PATCH 1/1] nfslock01: Add GPL-2.0-or-later license
2023-04-25 11:20 ` Cyril Hrubis
@ 2023-04-25 12:15 ` Petr Vorel
0 siblings, 0 replies; 5+ messages in thread
From: Petr Vorel @ 2023-04-25 12:15 UTC (permalink / raw)
To: Cyril Hrubis; +Cc: ltp
> Hi!
> > > C sources and headers in nfslock01 directory don't have a license.
> > > Add GPL 2+.
> > Hm, there should probably be copyright added as well.
> As these were added as part of the nfslock01.sh I would just add IBM
> copyright and the same license GPL-2.0-or-later to these as well.
I guess you mean:
Copyright (c) International Business Machines Corp., 2001
I'll can modify first commit of v2:
https://patchwork.ozlabs.org/project/ltp/patch/20230424184658.2858634-1-pvorel@suse.cz/
https://lore.kernel.org/ltp/20230424184658.2858634-1-pvorel@suse.cz/
Kind regards,
Petr
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LTP] [PATCH 1/1] nfslock01: Add GPL-2.0-or-later license
2023-04-24 17:59 [LTP] [PATCH 1/1] nfslock01: Add GPL-2.0-or-later license Petr Vorel
2023-04-24 18:39 ` Petr Vorel
@ 2023-04-28 16:29 ` Petr Vorel
1 sibling, 0 replies; 5+ messages in thread
From: Petr Vorel @ 2023-04-28 16:29 UTC (permalink / raw)
To: ltp
Hi,
added IBM license and docparse and merged.
Thanks!
Kind regards,
Petr
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-04-28 16:29 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-24 17:59 [LTP] [PATCH 1/1] nfslock01: Add GPL-2.0-or-later license Petr Vorel
2023-04-24 18:39 ` Petr Vorel
2023-04-25 11:20 ` Cyril Hrubis
2023-04-25 12:15 ` Petr Vorel
2023-04-28 16:29 ` Petr Vorel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox