aboutsummaryrefslogtreecommitdiffstats
path: root/ports/uids_generic
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/uids_generic
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/uids_generic')
-rw-r--r--ports/uids_generic/guts/COPYRIGHT13
-rw-r--r--ports/uids_generic/guts/endgrent.c2
-rw-r--r--ports/uids_generic/guts/endpwent.c2
-rw-r--r--ports/uids_generic/guts/getegid.c2
-rw-r--r--ports/uids_generic/guts/geteuid.c2
-rw-r--r--ports/uids_generic/guts/getgid.c2
-rw-r--r--ports/uids_generic/guts/getgrent.c2
-rw-r--r--ports/uids_generic/guts/getgrgid.c2
-rw-r--r--ports/uids_generic/guts/getgrgid_r.c2
-rw-r--r--ports/uids_generic/guts/getgrnam.c2
-rw-r--r--ports/uids_generic/guts/getgrnam_r.c2
-rw-r--r--ports/uids_generic/guts/getpwent.c2
-rw-r--r--ports/uids_generic/guts/getpwnam.c2
-rw-r--r--ports/uids_generic/guts/getpwnam_r.c2
-rw-r--r--ports/uids_generic/guts/getpwuid.c2
-rw-r--r--ports/uids_generic/guts/getpwuid_r.c2
-rw-r--r--ports/uids_generic/guts/getuid.c2
-rw-r--r--ports/uids_generic/guts/setegid.c2
-rw-r--r--ports/uids_generic/guts/seteuid.c2
-rw-r--r--ports/uids_generic/guts/setgid.c2
-rw-r--r--ports/uids_generic/guts/setgrent.c2
-rw-r--r--ports/uids_generic/guts/setpwent.c2
-rw-r--r--ports/uids_generic/guts/setregid.c2
-rw-r--r--ports/uids_generic/guts/setreuid.c2
-rw-r--r--ports/uids_generic/guts/setuid.c2
25 files changed, 49 insertions, 12 deletions
diff --git a/ports/uids_generic/guts/COPYRIGHT b/ports/uids_generic/guts/COPYRIGHT
index c96e1b1..b860a36 100644
--- a/ports/uids_generic/guts/COPYRIGHT
+++ b/ports/uids_generic/guts/COPYRIGHT
@@ -1,17 +1,6 @@
/*
* Copyright (c) 2008-2010 Wind River Systems, Inc.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the Lesser GNU General Public License version 2.1 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 Lesser GNU General Public License for more details.
- *
- * You should have received a copy of the Lesser GNU General Public License
- * version 2.1 along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * SPDX-License-Identifier: LGPL-2.1-only
*
*/
diff --git a/ports/uids_generic/guts/endgrent.c b/ports/uids_generic/guts/endgrent.c
index 843cad0..8ddbb99 100644
--- a/ports/uids_generic/guts/endgrent.c
+++ b/ports/uids_generic/guts/endgrent.c
@@ -2,6 +2,8 @@
* Copyright (c) 2010 Wind River Systems; see
* guts/COPYRIGHT for information.
*
+ * SPDX-License-Identifier: LGPL-2.1-only
+ *
* static void
* wrap_endgrent(void) {
*
diff --git a/ports/uids_generic/guts/endpwent.c b/ports/uids_generic/guts/endpwent.c
index f76cf10..92947ea 100644
--- a/ports/uids_generic/guts/endpwent.c
+++ b/ports/uids_generic/guts/endpwent.c
@@ -2,6 +2,8 @@
* Copyright (c) 2010 Wind River Systems; see
* guts/COPYRIGHT for information.
*
+ * SPDX-License-Identifier: LGPL-2.1-only
+ *
* static void
* wrap_endpwent(void) {
*
diff --git a/ports/uids_generic/guts/getegid.c b/ports/uids_generic/guts/getegid.c
index 7c14f48..56e9d44 100644
--- a/ports/uids_generic/guts/getegid.c
+++ b/ports/uids_generic/guts/getegid.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 gid_t
* wrap_getegid(void) {
* gid_t rc = 0;
diff --git a/ports/uids_generic/guts/geteuid.c b/ports/uids_generic/guts/geteuid.c
index 1745e13..276a51d 100644
--- a/ports/uids_generic/guts/geteuid.c
+++ b/ports/uids_generic/guts/geteuid.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 uid_t
* wrap_geteuid(void) {
* uid_t rc = 0;
diff --git a/ports/uids_generic/guts/getgid.c b/ports/uids_generic/guts/getgid.c
index ca8bad3..43e18d0 100644
--- a/ports/uids_generic/guts/getgid.c
+++ b/ports/uids_generic/guts/getgid.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 gid_t
* wrap_getgid(void) {
* gid_t rc = 0;
diff --git a/ports/uids_generic/guts/getgrent.c b/ports/uids_generic/guts/getgrent.c
index d6592e6..ff0051b 100644
--- a/ports/uids_generic/guts/getgrent.c
+++ b/ports/uids_generic/guts/getgrent.c
@@ -2,6 +2,8 @@
* Copyright (c) 2010 Wind River Systems; see
* guts/COPYRIGHT for information.
*
+ * SPDX-License-Identifier: LGPL-2.1-only
+ *
* static struct group *
* wrap_getgrent(void) {
* struct group * rc = NULL;
diff --git a/ports/uids_generic/guts/getgrgid.c b/ports/uids_generic/guts/getgrgid.c
index 0d3dafb..29af413 100644
--- a/ports/uids_generic/guts/getgrgid.c
+++ b/ports/uids_generic/guts/getgrgid.c
@@ -2,6 +2,8 @@
* Copyright (c) 2010 Wind River Systems; see
* guts/COPYRIGHT for information.
*
+ * SPDX-License-Identifier: LGPL-2.1-only
+ *
* static struct group *
* wrap_getgrgid(gid_t gid) {
* struct group * rc = NULL;
diff --git a/ports/uids_generic/guts/getgrgid_r.c b/ports/uids_generic/guts/getgrgid_r.c
index b043995..0c5ae44 100644
--- a/ports/uids_generic/guts/getgrgid_r.c
+++ b/ports/uids_generic/guts/getgrgid_r.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_getgrgid_r(gid_t gid, struct group *gbuf, char *buf, size_t buflen, struct group **gbufp) {
* int rc = -1;
diff --git a/ports/uids_generic/guts/getgrnam.c b/ports/uids_generic/guts/getgrnam.c
index 19006ad..7644e3a 100644
--- a/ports/uids_generic/guts/getgrnam.c
+++ b/ports/uids_generic/guts/getgrnam.c
@@ -2,6 +2,8 @@
* Copyright (c) 2010 Wind River Systems; see
* guts/COPYRIGHT for information.
*
+ * SPDX-License-Identifier: LGPL-2.1-only
+ *
* static struct group *
* wrap_getgrnam(const char *name) {
* struct group * rc = NULL;
diff --git a/ports/uids_generic/guts/getgrnam_r.c b/ports/uids_generic/guts/getgrnam_r.c
index 39de641..e2196ef 100644
--- a/ports/uids_generic/guts/getgrnam_r.c
+++ b/ports/uids_generic/guts/getgrnam_r.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_getgrnam_r(const char *name, struct group *gbuf, char *buf, size_t buflen, struct group **gbufp) {
* int rc = -1;
diff --git a/ports/uids_generic/guts/getpwent.c b/ports/uids_generic/guts/getpwent.c
index 3b1f837..a860e7e 100644
--- a/ports/uids_generic/guts/getpwent.c
+++ b/ports/uids_generic/guts/getpwent.c
@@ -2,6 +2,8 @@
* Copyright (c) 2010 Wind River Systems; see
* guts/COPYRIGHT for information.
*
+ * SPDX-License-Identifier: LGPL-2.1-only
+ *
* static struct passwd *
* wrap_getpwent(void) {
* struct passwd * rc = NULL;
diff --git a/ports/uids_generic/guts/getpwnam.c b/ports/uids_generic/guts/getpwnam.c
index 024b3d8..0f99038 100644
--- a/ports/uids_generic/guts/getpwnam.c
+++ b/ports/uids_generic/guts/getpwnam.c
@@ -2,6 +2,8 @@
* Copyright (c) 2010 Wind River Systems; see
* guts/COPYRIGHT for information.
*
+ * SPDX-License-Identifier: LGPL-2.1-only
+ *
* static struct passwd *
* wrap_getpwnam(const char *name) {
* struct passwd * rc = NULL;
diff --git a/ports/uids_generic/guts/getpwnam_r.c b/ports/uids_generic/guts/getpwnam_r.c
index 5d7a4ea..cb9f2c6 100644
--- a/ports/uids_generic/guts/getpwnam_r.c
+++ b/ports/uids_generic/guts/getpwnam_r.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_getpwnam_r(const char *name, struct passwd *pwbuf, char *buf, size_t buflen, struct passwd **pwbufp) {
* int rc = -1;
diff --git a/ports/uids_generic/guts/getpwuid.c b/ports/uids_generic/guts/getpwuid.c
index 11142de..315647c 100644
--- a/ports/uids_generic/guts/getpwuid.c
+++ b/ports/uids_generic/guts/getpwuid.c
@@ -2,6 +2,8 @@
* Copyright (c) 2010 Wind River Systems; see
* guts/COPYRIGHT for information.
*
+ * SPDX-License-Identifier: LGPL-2.1-only
+ *
* static struct passwd *
* wrap_getpwuid(uid_t uid) {
* struct passwd * rc = NULL;
diff --git a/ports/uids_generic/guts/getpwuid_r.c b/ports/uids_generic/guts/getpwuid_r.c
index 06b920e..bfeb649 100644
--- a/ports/uids_generic/guts/getpwuid_r.c
+++ b/ports/uids_generic/guts/getpwuid_r.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_getpwuid_r(uid_t uid, struct passwd *pwbuf, char *buf, size_t buflen, struct passwd **pwbufp) {
* int rc = -1;
diff --git a/ports/uids_generic/guts/getuid.c b/ports/uids_generic/guts/getuid.c
index e783cc8..3945836 100644
--- a/ports/uids_generic/guts/getuid.c
+++ b/ports/uids_generic/guts/getuid.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 uid_t
* wrap_getuid(void) {
* uid_t rc = 0;
diff --git a/ports/uids_generic/guts/setegid.c b/ports/uids_generic/guts/setegid.c
index ff777a0..d6ddca7 100644
--- a/ports/uids_generic/guts/setegid.c
+++ b/ports/uids_generic/guts/setegid.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_setegid(gid_t egid) {
* int rc = -1;
diff --git a/ports/uids_generic/guts/seteuid.c b/ports/uids_generic/guts/seteuid.c
index 430768f..032e5f1 100644
--- a/ports/uids_generic/guts/seteuid.c
+++ b/ports/uids_generic/guts/seteuid.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_seteuid(uid_t euid) {
* int rc = -1;
diff --git a/ports/uids_generic/guts/setgid.c b/ports/uids_generic/guts/setgid.c
index b94db1a..c5746f9 100644
--- a/ports/uids_generic/guts/setgid.c
+++ b/ports/uids_generic/guts/setgid.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_setgid(gid_t gid) {
* int rc = -1;
diff --git a/ports/uids_generic/guts/setgrent.c b/ports/uids_generic/guts/setgrent.c
index 75aab61..97faec0 100644
--- a/ports/uids_generic/guts/setgrent.c
+++ b/ports/uids_generic/guts/setgrent.c
@@ -2,6 +2,8 @@
* Copyright (c) 2010 Wind River Systems; see
* guts/COPYRIGHT for information.
*
+ * SPDX-License-Identifier: LGPL-2.1-only
+ *
* static void
* wrap_setgrent(void) {
*
diff --git a/ports/uids_generic/guts/setpwent.c b/ports/uids_generic/guts/setpwent.c
index fb35e07..53661fd 100644
--- a/ports/uids_generic/guts/setpwent.c
+++ b/ports/uids_generic/guts/setpwent.c
@@ -2,6 +2,8 @@
* Copyright (c) 2010 Wind River Systems; see
* guts/COPYRIGHT for information.
*
+ * SPDX-License-Identifier: LGPL-2.1-only
+ *
* static void
* wrap_setpwent(void) {
*
diff --git a/ports/uids_generic/guts/setregid.c b/ports/uids_generic/guts/setregid.c
index 78b2037..865553f 100644
--- a/ports/uids_generic/guts/setregid.c
+++ b/ports/uids_generic/guts/setregid.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_setregid(gid_t rgid, gid_t egid) {
* int rc = -1;
diff --git a/ports/uids_generic/guts/setreuid.c b/ports/uids_generic/guts/setreuid.c
index 3ff82ab..d189d65 100644
--- a/ports/uids_generic/guts/setreuid.c
+++ b/ports/uids_generic/guts/setreuid.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_setreuid(uid_t ruid, uid_t euid) {
* int rc = -1;
diff --git a/ports/uids_generic/guts/setuid.c b/ports/uids_generic/guts/setuid.c
index 6bfdf6c..831f8ff 100644
--- a/ports/uids_generic/guts/setuid.c
+++ b/ports/uids_generic/guts/setuid.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_setuid(uid_t uid) {
* int rc = -1;