aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-02-15 16:31:31 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-02-16 18:40:04 -0300
commit468c153f70fc75f2e3fa19b55e3ec3c35a9e7ec6 (patch)
tree1d38cd1d2c7a2fcbdcd3fb9e584c08c961b97f25
parentgcov_wrapper.h: Fix inconsistent Copyright years (diff)
downloadfirejail-468c153f70fc75f2e3fa19b55e3ec3c35a9e7ec6.tar.gz
firejail-468c153f70fc75f2e3fa19b55e3ec3c35a9e7ec6.tar.zst
firejail-468c153f70fc75f2e3fa19b55e3ec3c35a9e7ec6.zip
selinux.c: Split Copyright notice in two
This makes firejail's Copyright notice match the ones in basically every other file, which simplifies updating the Copyright years. selinux.c was added on commit 1ad2d54c0 ("Add support for SELinux labeling", 2020-02-18) and it claims to be "from systemd selinux-util.c". As for systemd's Copyright notice, the current version of that file on the systemd project does not have any[1]. The first commit in the systemd repository is from 2009[2] and the file was copied in 2020 (and does not seem to have been synced since), so set the years in its Copyright notice to 2009-2020. Since there is no Copyright notice (and no author) in the upstream file, list "The systemd Authors" in the Copyright notice. See also systemd commit 0c69794138 ("tree-wide: remove Lennart's copyright lines", 2018-06-12)[3] [4]. [1] https://github.com/systemd/systemd/blob/254d1313ae5a69c08c9b93032aaaf3d6083cfc07/src/shared/selinux-util.c [2] https://github.com/systemd/systemd/commit/6091827530d6dd43479d6709fb6e9f745c11e900 [3] https://github.com/systemd/systemd/commit/0c697941389b7379c4471bc0a067ede02814bc57 [4] https://github.com/systemd/systemd/pull/9274
-rw-r--r--src/firejail/selinux.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/firejail/selinux.c b/src/firejail/selinux.c
index c96896497..8f40e234f 100644
--- a/src/firejail/selinux.c
+++ b/src/firejail/selinux.c
@@ -1,5 +1,6 @@
1/* 1/*
2 * Copyright (C) 2020-2023 Firejail and systemd authors 2 * Copyright (C) 2009-2020 The systemd Authors
3 * Copyright (C) 2014-2023 Firejail Authors
3 * 4 *
4 * This file is part of firejail project, from systemd selinux-util.c 5 * This file is part of firejail project, from systemd selinux-util.c
5 * 6 *