aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFerass El Hafidi <vitali64pmemail@protonmail.com>2023-04-10 14:24:06 +0200
committerFerass El Hafidi <vitali64pmemail@protonmail.com>2023-04-10 14:24:06 +0200
commit76f38c2977e21e2c786d22e67ef7e9b7f938acaf (patch)
tree1c9cee28571adc7199e901040eda2e053ceaed70
parent3578ca4528dcdb727e423321442e2f87f859d897 (diff)
downloadfases-76f38c2977e21e2c786d22e67ef7e9b7f938acaf.tar.gz
fases-76f38c2977e21e2c786d22e67ef7e9b7f938acaf.zip
treewide: readd copyrights
Signed-off-by: Ferass El Hafidi <vitali64pmemail@protonmail.com>
-rw-r--r--MAINTAINERS1
-rw-r--r--Makefile4
-rw-r--r--box-templates/box_1-23.c3
-rw-r--r--box.c3
-rw-r--r--common.mk4
-rw-r--r--common/common.c3
-rw-r--r--common/common.h3
-rw-r--r--config.mk4
-rw-r--r--core/Makefile4
-rw-r--r--core/basename.c3
-rw-r--r--core/cat.c4
-rw-r--r--core/chmod.c3
-rw-r--r--core/chown.c3
-rw-r--r--core/cmp.c3
-rw-r--r--core/date.c4
-rw-r--r--core/dirname.c3
-rw-r--r--core/echo.c3
-rw-r--r--core/ed.c3
-rw-r--r--core/false.c3
-rw-r--r--core/head.c4
-rw-r--r--core/link.c3
-rw-r--r--core/ln.c3
-rw-r--r--core/ls.c4
-rw-r--r--core/mkdir.c3
-rw-r--r--core/more.c3
-rw-r--r--core/mv.c3
-rw-r--r--core/printf.c3
-rw-r--r--core/rm.c3
-rw-r--r--core/sleep.c3
-rw-r--r--core/tail.c3
-rw-r--r--core/tee.c3
-rw-r--r--core/test.c3
-rw-r--r--core/touch.c3
-rw-r--r--core/true.c3
-rw-r--r--core/tty.c3
-rw-r--r--core/uname.c3
-rw-r--r--core/unlink.c3
-rw-r--r--core/wc.c3
-rw-r--r--extras/Makefile4
-rw-r--r--extras/errno.c3
-rw-r--r--extras/yes.c4
-rw-r--r--sh/Makefile4
-rw-r--r--sh/commands.c3
-rw-r--r--sh/commands.h3
-rw-r--r--sh/parser.c3
-rw-r--r--sh/parser.h3
-rw-r--r--sh/sh.c3
47 files changed, 149 insertions, 1 deletions
diff --git a/MAINTAINERS b/MAINTAINERS
index 7d4c3d4..6af1e9f 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -28,7 +28,6 @@
core/ls.c
core/cat.c
core/date.c
- extras/yes.c
core/head.c
Makefile
*/Makefile
diff --git a/Makefile b/Makefile
index eebeab2..0a8aeb3 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,8 @@
# SPDX-License-Identifier: GPL-3.0-or-later
+#
+# Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+# Copyright (C) 2022 Leah Rowe <leah@libreboot.org>
+
.POSIX:
# Commands
diff --git a/box-templates/box_1-23.c b/box-templates/box_1-23.c
index 27c80e0..0331ed6 100644
--- a/box-templates/box_1-23.c
+++ b/box-templates/box_1-23.c
@@ -1,4 +1,7 @@
/* SPDX-License-Identifier: GPL-3.0-or-later */
+/*
+ * Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+ */
/* START */
#include <string.h>
diff --git a/box.c b/box.c
index 16465dd..cdc7105 100644
--- a/box.c
+++ b/box.c
@@ -1,4 +1,7 @@
/* SPDX-License-Identifier: GPL-3.0-or-later */
+/*
+ * Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+ */
/* START */
#include <string.h>
diff --git a/common.mk b/common.mk
index 3d9a26a..e5a0592 100644
--- a/common.mk
+++ b/common.mk
@@ -1,4 +1,8 @@
# SPDX-License-Identifier: GPL-3.0-or-later
+#
+# Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+# Copyright (C) 2022 Leah Rowe <leah@libreboot.org>
+
$(OBJ): config
config:
diff --git a/common/common.c b/common/common.c
index 85de39a..84c730f 100644
--- a/common/common.c
+++ b/common/common.c
@@ -1,4 +1,7 @@
/* SPDX-License-Identifier: BSD-3-Clause */
+/*
+ * Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+ */
#include <stdio.h>
#include <string.h>
#include "common.h"
diff --git a/common/common.h b/common/common.h
index 1fef62c..c9e6412 100644
--- a/common/common.h
+++ b/common/common.h
@@ -1,4 +1,7 @@
/* SPDX-License-Identifier: BSD-3-Clause */
+/*
+ * Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+ */
#ifndef COMMON_H
#define COMMON_H
diff --git a/config.mk b/config.mk
index cb00c41..ba70938 100644
--- a/config.mk
+++ b/config.mk
@@ -1,4 +1,8 @@
# SPDX-License-Identifier: GPL-3.0-or-later
+#
+# Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+# Copyright (C) 2022 Leah Rowe <leah@libreboot.org>
+
# Configuration
# =============
VERSION=r"$$(git rev-list --count HEAD)"."$$(git rev-parse --short HEAD)"
diff --git a/core/Makefile b/core/Makefile
index 05fe33f..d36a095 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -1,4 +1,8 @@
# SPDX-License-Identifier: GPL-3.0-or-later
+#
+# Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+# Copyright (C) 2022 Leah Rowe <leah@libreboot.org>
+
# Special
.POSIX:
.SUFFIXES: .o .c
diff --git a/core/basename.c b/core/basename.c
index 3a41186..f3a857f 100644
--- a/core/basename.c
+++ b/core/basename.c
@@ -1,4 +1,7 @@
/* SPDX-License-Identifier: BSD-3-Clause */
+/*
+ * Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+ */
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/core/cat.c b/core/cat.c
index 60833aa..3ca9abb 100644
--- a/core/cat.c
+++ b/core/cat.c
@@ -1,4 +1,8 @@
/* SPDX-License-Identifier: BSD-3-Clause */
+/*
+ * Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+ * Copyright (C) 2022 Leah Rowe <leah@libreboot.org>
+ */
#include <fcntl.h>
#include <unistd.h>
#include <stdio.h>
diff --git a/core/chmod.c b/core/chmod.c
index b6b51fb..8212737 100644
--- a/core/chmod.c
+++ b/core/chmod.c
@@ -1,4 +1,7 @@
/* SPDX-License-Identifier: BSD-3-Clause */
+/*
+ * Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+ */
#include <sys/stat.h>
#include <unistd.h>
#include <stdio.h>
diff --git a/core/chown.c b/core/chown.c
index a3fb2b7..eea389a 100644
--- a/core/chown.c
+++ b/core/chown.c
@@ -1,4 +1,7 @@
/* SPDX-License-Identifier: BSD-3-Clause */
+/*
+ * Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+ */
#include <errno.h>
#include <unistd.h>
#include <stdio.h>
diff --git a/core/cmp.c b/core/cmp.c
index 424b595..7e884fc 100644
--- a/core/cmp.c
+++ b/core/cmp.c
@@ -1,4 +1,7 @@
/* SPDX-License-Identifier: BSD-3-Clause */
+/*
+ * Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+ */
#include <stdio.h>
#include <unistd.h>
#include <string.h>
diff --git a/core/date.c b/core/date.c
index a5c1469..8cae81d 100644
--- a/core/date.c
+++ b/core/date.c
@@ -1,4 +1,8 @@
/* SPDX-License-Identifier: BSD-3-Clause */
+/*
+ * Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+ * Copyright (C) 2022 Leah Rowe <leah@libreboot.org>
+ */
#include <time.h>
#include <stdio.h>
#include <errno.h>
diff --git a/core/dirname.c b/core/dirname.c
index b4ff098..d8cf7c4 100644
--- a/core/dirname.c
+++ b/core/dirname.c
@@ -1,4 +1,7 @@
/* SPDX-License-Identifier: BSD-3-Clause */
+/*
+ * Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+ */
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/core/echo.c b/core/echo.c
index fe5642e..5470f8a 100644
--- a/core/echo.c
+++ b/core/echo.c
@@ -1,4 +1,7 @@
/* SPDX-License-Identifier: BSD-3-Clause */
+/*
+ * Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+ */
#include <unistd.h>
#include <stdio.h>
#include <errno.h>
diff --git a/core/ed.c b/core/ed.c
index 36cf24e..99ff540 100644
--- a/core/ed.c
+++ b/core/ed.c
@@ -1,4 +1,7 @@
/* SPDX-License-Identifier: BSD-3-Clause */
+/*
+ * Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+ */
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
diff --git a/core/false.c b/core/false.c
index d3fbd49..2b485e7 100644
--- a/core/false.c
+++ b/core/false.c
@@ -1,4 +1,7 @@
/* SPDX-License-Identifier: BSD-3-Clause */
+/*
+ * Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+ */
int main() {
return 1;
}
diff --git a/core/head.c b/core/head.c
index 1b0d87b..733131d 100644
--- a/core/head.c
+++ b/core/head.c
@@ -1,4 +1,8 @@
/* SPDX-License-Identifier: BSD-3-Clause */
+/*
+ * Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+ * Copyright (C) 2022 Leah Rowe <leah@libreboot.org>
+ */
#include <fcntl.h>
#include <unistd.h>
#include <stdio.h>
diff --git a/core/link.c b/core/link.c
index 872018e..a47c8dd 100644
--- a/core/link.c
+++ b/core/link.c
@@ -1,4 +1,7 @@
/* SPDX-License-Identifier: BSD-3-Clause */
+/*
+ * Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+ */
#include <unistd.h>
#include <stdio.h>
#include <errno.h>
diff --git a/core/ln.c b/core/ln.c
index 71a3624..abdd54f 100644
--- a/core/ln.c
+++ b/core/ln.c
@@ -1,4 +1,7 @@
/* SPDX-License-Identifier: BSD-3-Clause */
+/*
+ * Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+ */
#include <unistd.h>
#include <stdio.h>
#include <errno.h>
diff --git a/core/ls.c b/core/ls.c
index 63133b2..ea6d943 100644
--- a/core/ls.c
+++ b/core/ls.c
@@ -1,4 +1,8 @@
/* SPDX-License-Identifier: BSD-3-Clause */
+/*
+ * Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+ * Copyright (C) 2022 Leah Rowe <leah@libreboot.org>
+ */
#include <unistd.h>
#include <string.h>
#include <dirent.h>
diff --git a/core/mkdir.c b/core/mkdir.c
index 81bbf33..d21c719 100644
--- a/core/mkdir.c
+++ b/core/mkdir.c
@@ -1,4 +1,7 @@
/* SPDX-License-Identifier: BSD-3-Clause */
+/*
+ * Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+ */
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
diff --git a/core/more.c b/core/more.c
index 8bcdda6..91e83fd 100644
--- a/core/more.c
+++ b/core/more.c
@@ -1,4 +1,7 @@
/* SPDX-License-Identifier: BSD-3-Clause */
+/*
+ * Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+ */
#include <unistd.h>
#include <stdio.h>
#include <errno.h>
diff --git a/core/mv.c b/core/mv.c
index 2e14e6f..cf6e8a2 100644
--- a/core/mv.c
+++ b/core/mv.c
@@ -1,4 +1,7 @@
/* SPDX-License-Identifier: BSD-3-Clause */
+/*
+ * Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+ */
#include <unistd.h>
#include <stdio.h>
#include <errno.h>
diff --git a/core/printf.c b/core/printf.c
index b0c0d77..adb078d 100644
--- a/core/printf.c
+++ b/core/printf.c
@@ -1,4 +1,7 @@
/* SPDX-License-Identifier: BSD-3-Clause */
+/*
+ * Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+ */
#include <unistd.h>
#include <stdio.h>
#include <errno.h>
diff --git a/core/rm.c b/core/rm.c
index 3909d32..76dd8f4 100644
--- a/core/rm.c
+++ b/core/rm.c
@@ -1,4 +1,7 @@
/* SPDX-License-Identifier: BSD-3-Clause */
+/*
+ * Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+ */
#include <unistd.h>
#include <stdio.h>
#include <errno.h>
diff --git a/core/sleep.c b/core/sleep.c
index e331738..913bd0b 100644
--- a/core/sleep.c
+++ b/core/sleep.c
@@ -1,4 +1,7 @@
/* SPDX-License-Identifier: BSD-3-Clause */
+/*
+ * Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+ */
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
diff --git a/core/tail.c b/core/tail.c
index 38694e6..8f0b7e4 100644
--- a/core/tail.c
+++ b/core/tail.c
@@ -1,4 +1,7 @@
/* SPDX-License-Identifier: BSD-3-Clause */
+/*
+ * Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+ */
#include <fcntl.h>
#include <unistd.h>
#include <stdio.h>
diff --git a/core/tee.c b/core/tee.c
index f84f316..7324679 100644
--- a/core/tee.c
+++ b/core/tee.c
@@ -1,4 +1,7 @@
/* SPDX-License-Identifier: BSD-3-Clause */
+/*
+ * Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+ */
#include <stdio.h>
#include <unistd.h>
#include <signal.h>
diff --git a/core/test.c b/core/test.c
index 9fd4e95..0f83a59 100644
--- a/core/test.c
+++ b/core/test.c
@@ -1,4 +1,7 @@
/* SPDX-License-Identifier: BSD-3-Clause */
+/*
+ * Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+ */
#include <unistd.h>
#include <stdio.h>
#include <errno.h>
diff --git a/core/touch.c b/core/touch.c
index a80efe8..c3d0abf 100644
--- a/core/touch.c
+++ b/core/touch.c
@@ -1,4 +1,7 @@
/* SPDX-License-Identifier: BSD-3-Clause */
+/*
+ * Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+ */
#define _XOPEN_SOURCE /* WHY???? */
#include <sys/stat.h>
#include <fcntl.h>
diff --git a/core/true.c b/core/true.c
index 4ff417a..284fae5 100644
--- a/core/true.c
+++ b/core/true.c
@@ -1,4 +1,7 @@
/* SPDX-License-Identifier: BSD-3-Clause */
+/*
+ * Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+ */
int main() {
return 0;
}
diff --git a/core/tty.c b/core/tty.c
index 6b85e2f..7234c05 100644
--- a/core/tty.c
+++ b/core/tty.c
@@ -1,4 +1,7 @@
/* SPDX-License-Identifier: BSD-3-Clause */
+/*
+ * Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+ */
#include <stdio.h>
#include <errno.h>
#include <unistd.h>
diff --git a/core/uname.c b/core/uname.c
index d61f5fd..70d4cee 100644
--- a/core/uname.c
+++ b/core/uname.c
@@ -1,4 +1,7 @@
/* SPDX-License-Identifier: BSD-3-Clause */
+/*
+ * Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+ */
#include <unistd.h>
#include <stdio.h>
#include <sys/utsname.h>
diff --git a/core/unlink.c b/core/unlink.c
index 200394d..acab13d 100644
--- a/core/unlink.c
+++ b/core/unlink.c
@@ -1,4 +1,7 @@
/* SPDX-License-Identifier: BSD-3-Clause */
+/*
+ * Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+ */
#include <unistd.h>
#include <stdio.h>
#include <errno.h>
diff --git a/core/wc.c b/core/wc.c
index 650a555..2c1f7b4 100644
--- a/core/wc.c
+++ b/core/wc.c
@@ -1,4 +1,7 @@
/* SPDX-License-Identifier: BSD-3-Clause */
+/*
+ * Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+ */
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/extras/Makefile b/extras/Makefile
index f2b04d4..6348fe2 100644
--- a/extras/Makefile
+++ b/extras/Makefile
@@ -1,4 +1,8 @@
# SPDX-License-Identifier: GPL-3.0-or-later
+#
+# Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+# Copyright (C) 2022 Leah Rowe <leah@libreboot.org>
+
# Special
.POSIX:
.SUFFIXES: .o .c
diff --git a/extras/errno.c b/extras/errno.c
index 4192a1f..50337ee 100644
--- a/extras/errno.c
+++ b/extras/errno.c
@@ -1,4 +1,7 @@
/* SPDX-License-Identifier: BSD-3-Clause */
+/*
+ * Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+ */
#include <string.h>
#include <errno.h>
#include <stdio.h>
diff --git a/extras/yes.c b/extras/yes.c
index 07cad4b..e5d00b5 100644
--- a/extras/yes.c
+++ b/extras/yes.c
@@ -1,4 +1,8 @@
/* SPDX-License-Identifier: BSD-3-Clause */
+/*
+ * Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+ * Copyright (C) 2022 Ron Nazarov <ron@noisytoot.org>
+ */
#include <string.h>
#include <stdio.h>
diff --git a/sh/Makefile b/sh/Makefile
index 5195dec..6c07f68 100644
--- a/sh/Makefile
+++ b/sh/Makefile
@@ -1,4 +1,8 @@
# SPDX-License-Identifier: GPL-3.0-or-later
+#
+# Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+# Copyright (C) 2022 Leah Rowe <leah@libreboot.org>
+
include ../config.mk
# Commands
diff --git a/sh/commands.c b/sh/commands.c
index 79663c2..bc2e910 100644
--- a/sh/commands.c
+++ b/sh/commands.c
@@ -1,4 +1,7 @@
/* SPDX-License-Identifier: BSD-3-Clause */
+/*
+ * Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+ */
/* POSIX Header Files */
#include <unistd.h>
#include <stdio.h>
diff --git a/sh/commands.h b/sh/commands.h
index ed0bbd8..2687255 100644
--- a/sh/commands.h
+++ b/sh/commands.h
@@ -1,4 +1,7 @@
/* SPDX-License-Identifier: BSD-3-Clause */
+/*
+ * Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+ */
#ifndef COMMANDS_H
#define COMMANDS_H
diff --git a/sh/parser.c b/sh/parser.c
index 428f3a7..0af1fb4 100644
--- a/sh/parser.c
+++ b/sh/parser.c
@@ -1,4 +1,7 @@
/* SPDX-License-Identifier: BSD-3-Clause */
+/*
+ * Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+ */
#define _POSIX_C_SOURCE 200809L
/* POSIX Header Files */
diff --git a/sh/parser.h b/sh/parser.h
index 9f902e0..9f1a131 100644
--- a/sh/parser.h
+++ b/sh/parser.h
@@ -1,4 +1,7 @@
/* SPDX-License-Identifier: BSD-3-Clause */
+/*
+ * Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+ */
#ifndef PARSER_H
#define PARSER_H
diff --git a/sh/sh.c b/sh/sh.c
index 4883062..dc62e66 100644
--- a/sh/sh.c
+++ b/sh/sh.c
@@ -1,4 +1,7 @@
/* SPDX-License-Identifier: BSD-3-Clause */
+/*
+ * Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+ */
/* Here's the POSIX specification of sh: */
/* https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html */