aboutsummaryrefslogtreecommitdiffstats
path: root/ports/common
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-15 22:24:58 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-15 22:33:00 +0100
commit996bead0d8503b9abd40b49e23cc308fc645e1ff (patch)
treef95ca358524007ab5b57fdbd49dcc82beb3d09ea /ports/common
parent3fa7c853e0bcd6fe23f7524c2a3c9e3af90901c3 (diff)
downloadpseudo-996bead0d8503b9abd40b49e23cc308fc645e1ff.tar.gz
pseudo-996bead0d8503b9abd40b49e23cc308fc645e1ff.tar.bz2
pseudo-996bead0d8503b9abd40b49e23cc308fc645e1ff.zip
Add SPDX-License-Identifier: LGPL-2.1-only to files
This adds SPDX license headers to all source files in pseudo so license identification models current best practise. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'ports/common')
-rw-r--r--ports/common/guts/execl.c2
-rw-r--r--ports/common/guts/execle.c2
-rw-r--r--ports/common/guts/execlp.c2
-rw-r--r--ports/common/guts/execv.c2
-rw-r--r--ports/common/guts/execve.c2
-rw-r--r--ports/common/guts/execvp.c2
-rw-r--r--ports/common/guts/fork.c2
-rw-r--r--ports/common/pseudo_wrappers.c5
-rwxr-xr-xports/common/subports4
9 files changed, 23 insertions, 0 deletions
diff --git a/ports/common/guts/execl.c b/ports/common/guts/execl.c
index be86b49..21a18cc 100644
--- a/ports/common/guts/execl.c
+++ b/ports/common/guts/execl.c
@@ -2,6 +2,8 @@
* Copyright (c) 2011 Wind River Systems; see
* guts/COPYRIGHT for information.
*
+ * SPDX-License-Identifier: LGPL-2.1-only
+ *
* int execl(const char *file, const char *arg, va_list ap)
* int rc = -1;
*/
diff --git a/ports/common/guts/execle.c b/ports/common/guts/execle.c
index a3bc3ca..0b15e91 100644
--- a/ports/common/guts/execle.c
+++ b/ports/common/guts/execle.c
@@ -2,6 +2,8 @@
* Copyright (c) 2011 Wind River Systems; see
* guts/COPYRIGHT for information.
*
+ * SPDX-License-Identifier: LGPL-2.1-only
+ *
* int execle(const char *file, const char *arg, va_list ap)
* int rc = -1;
*/
diff --git a/ports/common/guts/execlp.c b/ports/common/guts/execlp.c
index 3cf2889..93f85d0 100644
--- a/ports/common/guts/execlp.c
+++ b/ports/common/guts/execlp.c
@@ -2,6 +2,8 @@
* Copyright (c) 2011 Wind River Systems; see
* guts/COPYRIGHT for information.
*
+ * SPDX-License-Identifier: LGPL-2.1-only
+ *
* int execlp(const char *file, const char *arg, va_list ap)
* int rc = -1;
*/
diff --git a/ports/common/guts/execv.c b/ports/common/guts/execv.c
index c071626..7819911 100644
--- a/ports/common/guts/execv.c
+++ b/ports/common/guts/execv.c
@@ -2,6 +2,8 @@
* Copyright (c) 2010 Wind River Systems; see
* guts/COPYRIGHT for information.
*
+ * SPDX-License-Identifier: LGPL-2.1-only
+ *
* static int
* wrap_execv(const char *file, char *const *argv) {
* int rc = -1;
diff --git a/ports/common/guts/execve.c b/ports/common/guts/execve.c
index 24cc177..1144f7c 100644
--- a/ports/common/guts/execve.c
+++ b/ports/common/guts/execve.c
@@ -2,6 +2,8 @@
* Copyright (c) 2008-2010 Wind River Systems; see
* guts/COPYRIGHT for information.
*
+ * SPDX-License-Identifier: LGPL-2.1-only
+ *
* static int
* wrap_execve(const char *file, char *const *argv, char *const *envp) {
* int rc = -1;
diff --git a/ports/common/guts/execvp.c b/ports/common/guts/execvp.c
index e6bf09f..acc9fdc 100644
--- a/ports/common/guts/execvp.c
+++ b/ports/common/guts/execvp.c
@@ -2,6 +2,8 @@
* Copyright (c) 2008-2010 Wind River Systems; see
* guts/COPYRIGHT for information.
*
+ * SPDX-License-Identifier: LGPL-2.1-only
+ *
* static int
* wrap_execvp(const char *file, char *const *argv) {
* int rc = -1;
diff --git a/ports/common/guts/fork.c b/ports/common/guts/fork.c
index bebe3b0..4f5f4e4 100644
--- a/ports/common/guts/fork.c
+++ b/ports/common/guts/fork.c
@@ -2,6 +2,8 @@
* Copyright (c) 2008-2010 Wind River Systems; see
* guts/COPYRIGHT for information.
*
+ * SPDX-License-Identifier: LGPL-2.1-only
+ *
* static int
* wrap_fork(void) {
* int rc = -1;
diff --git a/ports/common/pseudo_wrappers.c b/ports/common/pseudo_wrappers.c
index 81be635..92dfaa8 100644
--- a/ports/common/pseudo_wrappers.c
+++ b/ports/common/pseudo_wrappers.c
@@ -1,3 +1,8 @@
+/*
+ * SPDX-License-Identifier: LGPL-2.1-only
+ *
+ */
+
/* these aren't used, but the wrapper table isn't happy unless they
* exist
*/
diff --git a/ports/common/subports b/ports/common/subports
index e2aac56..4a47252 100755
--- a/ports/common/subports
+++ b/ports/common/subports
@@ -1,4 +1,8 @@
#!/bin/sh
+#
+# SPDX-License-Identifier: LGPL-2.1-only
+#
+
case $(uname -s) in
Linux) echo "linux";;
Darwin) echo "darwin";;