From 6af4b637bda5010c1c1b59f6cf9583d394aa4438 Mon Sep 17 00:00:00 2001 From: Bradley Morgan Date: Mon, 5 Oct 2026 20:03:13 +0000 Subject: tashaboot: SPDX GPL-2.0+ everywhere, add LICENSE Stamp every source file with SPDX-License-Identifier: GPL-2.0+ and carry the full GPL-2 text as LICENSE. Same convention coreboot settled on (Ron Minnich): the SPDX line on the first line of each file, no license boilerplate blocks. Signed-off-by: Bradley Morgan --- lib/itoa.c | 14 ++++++++++++++ lib/printf.c | 13 +++++++++++++ lib/string/bcopy.c | 13 +++++++++++++ lib/string/bzero.c | 13 +++++++++++++ lib/string/memchr.c | 13 +++++++++++++ lib/string/memcmp.c | 13 +++++++++++++ lib/string/memcpy.c | 13 +++++++++++++ lib/string/memmove.c | 13 +++++++++++++ lib/string/memset.c | 13 +++++++++++++ lib/string/strchr.c | 13 +++++++++++++ lib/string/strcmp.c | 13 +++++++++++++ lib/string/strcpy.c | 13 +++++++++++++ lib/string/strlcat.c | 14 ++++++++++++++ lib/string/strlcpy.c | 14 ++++++++++++++ lib/string/strlen.c | 13 +++++++++++++ lib/string/strncmp.c | 13 +++++++++++++ lib/string/strnlen.c | 13 +++++++++++++ lib/string/strrchr.c | 13 +++++++++++++ lib/string/strrev.c | 14 ++++++++++++++ lib/string/strstr.c | 13 +++++++++++++ 20 files changed, 264 insertions(+) (limited to 'lib') diff --git a/lib/itoa.c b/lib/itoa.c index 4fc2db6..9c61dfc 100644 --- a/lib/itoa.c +++ b/lib/itoa.c @@ -1,3 +1,17 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright (C) 2026 Bradley Morgan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms 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. + */ + /* Copyright (c) 2012, The Linux Foundation. All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/lib/printf.c b/lib/printf.c index 14fa452..1fc6bf9 100644 --- a/lib/printf.c +++ b/lib/printf.c @@ -1,3 +1,16 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright (C) 2026 Bradley Morgan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms 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. + */ /* * Copyright (c) 2008-2013 Travis Geiselbrecht * diff --git a/lib/string/bcopy.c b/lib/string/bcopy.c index e9d5462..ad43537 100644 --- a/lib/string/bcopy.c +++ b/lib/string/bcopy.c @@ -1,3 +1,16 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright (C) 2026 Bradley Morgan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms 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. + */ /* ** Copyright 2001, Travis Geiselbrecht. All rights reserved. ** Distributed under the terms of the NewOS License. diff --git a/lib/string/bzero.c b/lib/string/bzero.c index 32b43bb..0059fa5 100644 --- a/lib/string/bzero.c +++ b/lib/string/bzero.c @@ -1,3 +1,16 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright (C) 2026 Bradley Morgan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms 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. + */ /* ** Copyright 2001, Travis Geiselbrecht. All rights reserved. ** Distributed under the terms of the NewOS License. diff --git a/lib/string/memchr.c b/lib/string/memchr.c index 094c2a1..3147727 100644 --- a/lib/string/memchr.c +++ b/lib/string/memchr.c @@ -1,3 +1,16 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright (C) 2026 Bradley Morgan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms 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. + */ /* ** Copyright 2001, Manuel J. Petit. All rights reserved. ** Distributed under the terms of the NewOS License. diff --git a/lib/string/memcmp.c b/lib/string/memcmp.c index a050bc7..e49ea87 100644 --- a/lib/string/memcmp.c +++ b/lib/string/memcmp.c @@ -1,3 +1,16 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright (C) 2026 Bradley Morgan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms 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. + */ /* ** Copyright 2001, Travis Geiselbrecht. All rights reserved. ** Distributed under the terms of the NewOS License. diff --git a/lib/string/memcpy.c b/lib/string/memcpy.c index 00e547e..9c60088 100644 --- a/lib/string/memcpy.c +++ b/lib/string/memcpy.c @@ -1,3 +1,16 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright (C) 2026 Bradley Morgan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms 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. + */ /* ** Copyright 2001, Travis Geiselbrecht. All rights reserved. ** Distributed under the terms of the NewOS License. diff --git a/lib/string/memmove.c b/lib/string/memmove.c index cb08a6c..f3e12fe 100644 --- a/lib/string/memmove.c +++ b/lib/string/memmove.c @@ -1,3 +1,16 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright (C) 2026 Bradley Morgan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms 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. + */ /* ** Copyright 2001, Travis Geiselbrecht. All rights reserved. ** Distributed under the terms of the NewOS License. diff --git a/lib/string/memset.c b/lib/string/memset.c index 1abee39..fda58b5 100644 --- a/lib/string/memset.c +++ b/lib/string/memset.c @@ -1,3 +1,16 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright (C) 2026 Bradley Morgan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms 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. + */ /* ** Copyright 2005, Michael Noisternig. All rights reserved. ** Copyright 2001, Travis Geiselbrecht. All rights reserved. diff --git a/lib/string/strchr.c b/lib/string/strchr.c index 4c6bb16..65650a3 100644 --- a/lib/string/strchr.c +++ b/lib/string/strchr.c @@ -1,3 +1,16 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright (C) 2026 Bradley Morgan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms 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. + */ /* ** Copyright 2001, Travis Geiselbrecht. All rights reserved. ** Distributed under the terms of the NewOS License. diff --git a/lib/string/strcmp.c b/lib/string/strcmp.c index 5402718..27a5469 100644 --- a/lib/string/strcmp.c +++ b/lib/string/strcmp.c @@ -1,3 +1,16 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright (C) 2026 Bradley Morgan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms 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. + */ /* ** Copyright 2001, Travis Geiselbrecht. All rights reserved. ** Distributed under the terms of the NewOS License. diff --git a/lib/string/strcpy.c b/lib/string/strcpy.c index e6cc78e..1791842 100644 --- a/lib/string/strcpy.c +++ b/lib/string/strcpy.c @@ -1,3 +1,16 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright (C) 2026 Bradley Morgan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms 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. + */ /* ** Copyright 2001, Travis Geiselbrecht. All rights reserved. ** Distributed under the terms of the NewOS License. diff --git a/lib/string/strlcat.c b/lib/string/strlcat.c index c94e90d..c5bc711 100644 --- a/lib/string/strlcat.c +++ b/lib/string/strlcat.c @@ -1,3 +1,17 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright (C) 2026 Bradley Morgan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms 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. + */ + /* $OpenBSD: strlcat.c,v 1.19 2019/01/25 00:19:25 millert Exp $ */ /* diff --git a/lib/string/strlcpy.c b/lib/string/strlcpy.c index 2fa498c..d7c64b0 100644 --- a/lib/string/strlcpy.c +++ b/lib/string/strlcpy.c @@ -1,3 +1,17 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright (C) 2026 Bradley Morgan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms 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. + */ + /* $OpenBSD: strlcpy.c,v 1.16 2019/01/25 00:19:25 millert Exp $ */ /* diff --git a/lib/string/strlen.c b/lib/string/strlen.c index 9f87fc0..b896331 100644 --- a/lib/string/strlen.c +++ b/lib/string/strlen.c @@ -1,3 +1,16 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright (C) 2026 Bradley Morgan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms 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. + */ /* ** Copyright 2001, Travis Geiselbrecht. All rights reserved. ** Distributed under the terms of the NewOS License. diff --git a/lib/string/strncmp.c b/lib/string/strncmp.c index 2f4d877..9de7fc0 100644 --- a/lib/string/strncmp.c +++ b/lib/string/strncmp.c @@ -1,3 +1,16 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright (C) 2026 Bradley Morgan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms 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. + */ /* ** Copyright 2001, Travis Geiselbrecht. All rights reserved. ** Distributed under the terms of the NewOS License. diff --git a/lib/string/strnlen.c b/lib/string/strnlen.c index afd19a7..34bb24c 100644 --- a/lib/string/strnlen.c +++ b/lib/string/strnlen.c @@ -1,3 +1,16 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright (C) 2026 Bradley Morgan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms 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. + */ /* ** Copyright 2001, Travis Geiselbrecht. All rights reserved. ** Distributed under the terms of the NewOS License. diff --git a/lib/string/strrchr.c b/lib/string/strrchr.c index 5327659..f29a3e3 100644 --- a/lib/string/strrchr.c +++ b/lib/string/strrchr.c @@ -1,3 +1,16 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright (C) 2026 Bradley Morgan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms 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. + */ /* ** Copyright 2001, Manuel J. Petit. All rights reserved. ** Distributed under the terms of the NewOS License. diff --git a/lib/string/strrev.c b/lib/string/strrev.c index a961d79..584da7d 100644 --- a/lib/string/strrev.c +++ b/lib/string/strrev.c @@ -1,3 +1,17 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright (C) 2026 Bradley Morgan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms 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. + */ + /* Copyright (c) 2012, The Linux Foundation. All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/lib/string/strstr.c b/lib/string/strstr.c index 9cb7604..6a93d3f 100644 --- a/lib/string/strstr.c +++ b/lib/string/strstr.c @@ -1,3 +1,16 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright (C) 2026 Bradley Morgan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms 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. + */ /* ** Copyright 2001, Travis Geiselbrecht. All rights reserved. ** Distributed under the terms of the NewOS License. -- cgit v1.2.3