[RFC PATCH 8/9] [squash] Add copyright to new files
Ákos Uzonyi
uzonyi.akos at gmail.com
Sat Jun 27 17:20:55 UTC 2020
---
getpid.c | 7 +++++++
pidns.c | 7 +++++++
tests/pidns.c | 8 ++++++++
tests/pidns.h | 8 ++++++++
trie.c | 9 ++++++++-
trie.h | 11 +++++++++--
6 files changed, 47 insertions(+), 3 deletions(-)
diff --git a/getpid.c b/getpid.c
index 2d45d0d2..5e9a1a29 100644
--- a/getpid.c
+++ b/getpid.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2020 Ákos Uzonyi <uzonyi.akos at gmail.com>
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ */
+
#include "defs.h"
SYS_FUNC(getpid)
diff --git a/pidns.c b/pidns.c
index bfb737c6..0f41b11a 100644
--- a/pidns.c
+++ b/pidns.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2020 Ákos Uzonyi <uzonyi.akos at gmail.com>
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ */
+
#include "defs.h"
diff --git a/tests/pidns.c b/tests/pidns.c
index c6df9b51..37a54aa5 100644
--- a/tests/pidns.c
+++ b/tests/pidns.c
@@ -1,3 +1,11 @@
+/*
+ * Test PID namespace translation
+ *
+ * Copyright (c) 2020 Ákos Uzonyi <uzonyi.akos at gmail.com>
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ */
#include "tests.h"
#include "scno.h"
#include "limits.h"
diff --git a/tests/pidns.h b/tests/pidns.h
index 412a4b37..317d5318 100644
--- a/tests/pidns.h
+++ b/tests/pidns.h
@@ -1,3 +1,11 @@
+/*
+ * Test PID namespace translation
+ *
+ * Copyright (c) 2020 Ákos Uzonyi <uzonyi.akos at gmail.com>
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ */
#ifndef STRACE_PIDNS_H
#define STRACE_PIDNS_H
diff --git a/trie.c b/trie.c
index 80a4e03c..dd76078b 100644
--- a/trie.c
+++ b/trie.c
@@ -1,4 +1,11 @@
-/* Simple trie implementation for key-value mapping storage */
+/*
+ * Simple trie implementation for key-value mapping storage
+ *
+ * Copyright (c) 2020 Ákos Uzonyi <uzonyi.akos at gmail.com>
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ */
#include "defs.h"
diff --git a/trie.h b/trie.h
index 32637e87..ef31fd11 100644
--- a/trie.h
+++ b/trie.h
@@ -1,8 +1,15 @@
+/*
+ * Simple trie interface
+ *
+ * Copyright (c) 2020 Ákos Uzonyi <uzonyi.akos at gmail.com>
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ */
+
#ifndef STRACE_TRIE_H
#define STRACE_TRIE_H
-/* Simple trie interface */
-
#define TRIE_SET ((void *) ~(intptr_t) 0)
#define TRIE_UNSET ((void *) NULL)
--
2.27.0
More information about the Strace-devel
mailing list