diff options
Diffstat (limited to 'src/shared')
86 files changed, 4 insertions, 280 deletions
diff --git a/src/shared/acl-util.c b/src/shared/acl-util.c index 7f6bfde0de..1eaf653103 100644 --- a/src/shared/acl-util.c +++ b/src/shared/acl-util.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ -/*** - Copyright 2011,2013 Lennart Poettering -***/ #include <errno.h> #include <stdbool.h> diff --git a/src/shared/acl-util.h b/src/shared/acl-util.h index 221266c387..10b2a3d9f0 100644 --- a/src/shared/acl-util.h +++ b/src/shared/acl-util.h @@ -1,10 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once -/*** - Copyright 2011 Lennart Poettering -***/ - #if HAVE_ACL #include <acl/libacl.h> diff --git a/src/shared/apparmor-util.c b/src/shared/apparmor-util.c index a52347b374..c4a4b04d22 100644 --- a/src/shared/apparmor-util.c +++ b/src/shared/apparmor-util.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ -/*** - Copyright 2013 Lennart Poettering -***/ #include <stddef.h> diff --git a/src/shared/apparmor-util.h b/src/shared/apparmor-util.h index 54544b8734..7fbaf90dcc 100644 --- a/src/shared/apparmor-util.h +++ b/src/shared/apparmor-util.h @@ -1,10 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once -/*** - Copyright 2013 Lennart Poettering -***/ - #include <stdbool.h> bool mac_apparmor_use(void); diff --git a/src/shared/ask-password-api.c b/src/shared/ask-password-api.c index fdabf68962..682dc754fc 100644 --- a/src/shared/ask-password-api.c +++ b/src/shared/ask-password-api.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ -/*** - Copyright 2010 Lennart Poettering -***/ #include <errno.h> #include <fcntl.h> diff --git a/src/shared/ask-password-api.h b/src/shared/ask-password-api.h index 2196dbdf4b..93ca8bff52 100644 --- a/src/shared/ask-password-api.h +++ b/src/shared/ask-password-api.h @@ -1,10 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once -/*** - Copyright 2010 Lennart Poettering -***/ - #include <stdbool.h> #include "time-util.h" diff --git a/src/shared/boot-timestamps.c b/src/shared/boot-timestamps.c index 62d5c52a78..03e6b3ecf5 100644 --- a/src/shared/boot-timestamps.c +++ b/src/shared/boot-timestamps.c @@ -1,6 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ /*** - Copyright 2012 Lennart Poettering Copyright 2013 Kay Sievers ***/ diff --git a/src/shared/boot-timestamps.h b/src/shared/boot-timestamps.h index c39c5a2e76..6fc712940d 100644 --- a/src/shared/boot-timestamps.h +++ b/src/shared/boot-timestamps.h @@ -2,7 +2,6 @@ #pragma once /*** - Copyright 2012 Lennart Poettering Copyright 2013 Kay Sievers ***/ diff --git a/src/shared/bus-unit-util.c b/src/shared/bus-unit-util.c index 222a6ed88d..5cff6c03c2 100644 --- a/src/shared/bus-unit-util.c +++ b/src/shared/bus-unit-util.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ -/*** - Copyright 2016 Lennart Poettering -***/ #include "alloc-util.h" #include "bus-internal.h" diff --git a/src/shared/bus-unit-util.h b/src/shared/bus-unit-util.h index dbceb3b503..4fc94b0f4e 100644 --- a/src/shared/bus-unit-util.h +++ b/src/shared/bus-unit-util.h @@ -1,10 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once -/*** - Copyright 2016 Lennart Poettering -***/ - #include "install.h" #include "output-mode.h" #include "sd-bus.h" diff --git a/src/shared/bus-util.c b/src/shared/bus-util.c index 6eaff20a4a..a4f2deba31 100644 --- a/src/shared/bus-util.c +++ b/src/shared/bus-util.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ -/*** - Copyright 2013 Lennart Poettering -***/ #include <errno.h> #include <fcntl.h> diff --git a/src/shared/bus-util.h b/src/shared/bus-util.h index e248099b35..b400eb81e2 100644 --- a/src/shared/bus-util.h +++ b/src/shared/bus-util.h @@ -1,10 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once -/*** - Copyright 2013 Lennart Poettering -***/ - #include <stdbool.h> #include <stddef.h> #include <stdint.h> diff --git a/src/shared/cgroup-show.c b/src/shared/cgroup-show.c index 24ce622dae..4d1a90bd55 100644 --- a/src/shared/cgroup-show.c +++ b/src/shared/cgroup-show.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ -/*** - Copyright 2010 Lennart Poettering -***/ #include <dirent.h> #include <errno.h> diff --git a/src/shared/cgroup-show.h b/src/shared/cgroup-show.h index 0221846313..4e510fb73c 100644 --- a/src/shared/cgroup-show.h +++ b/src/shared/cgroup-show.h @@ -1,10 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once -/*** - Copyright 2010 Lennart Poettering -***/ - #include <stdbool.h> #include <sys/types.h> diff --git a/src/shared/clean-ipc.c b/src/shared/clean-ipc.c index b0c9a45126..08dc7b9e43 100644 --- a/src/shared/clean-ipc.c +++ b/src/shared/clean-ipc.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ -/*** - Copyright 2014 Lennart Poettering -***/ #include <dirent.h> #include <errno.h> diff --git a/src/shared/clean-ipc.h b/src/shared/clean-ipc.h index b78f94f663..eaff47d4b7 100644 --- a/src/shared/clean-ipc.h +++ b/src/shared/clean-ipc.h @@ -1,10 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once -/*** - Copyright 2014 Lennart Poettering -***/ - #include <sys/types.h> #include "user-util.h" diff --git a/src/shared/condition.c b/src/shared/condition.c index 9f2b91f79c..525cc94936 100644 --- a/src/shared/condition.c +++ b/src/shared/condition.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ -/*** - Copyright 2010 Lennart Poettering -***/ #include <errno.h> #include <fcntl.h> diff --git a/src/shared/condition.h b/src/shared/condition.h index ce27078101..e69fc366f7 100644 --- a/src/shared/condition.h +++ b/src/shared/condition.h @@ -1,10 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once -/*** - Copyright 2010 Lennart Poettering -***/ - #include <stdbool.h> #include <stdio.h> diff --git a/src/shared/conf-parser.c b/src/shared/conf-parser.c index 8570f877e6..2d62fdf05d 100644 --- a/src/shared/conf-parser.c +++ b/src/shared/conf-parser.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ -/*** - Copyright 2010 Lennart Poettering -***/ #include <errno.h> #include <limits.h> diff --git a/src/shared/conf-parser.h b/src/shared/conf-parser.h index cd972abc3a..16f042d894 100644 --- a/src/shared/conf-parser.h +++ b/src/shared/conf-parser.h @@ -1,10 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once -/*** - Copyright 2010 Lennart Poettering -***/ - #include <errno.h> #include <stdbool.h> #include <stddef.h> diff --git a/src/shared/dev-setup.c b/src/shared/dev-setup.c index 4f9c0f4285..d117fbfda0 100644 --- a/src/shared/dev-setup.c +++ b/src/shared/dev-setup.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ -/*** - Copyright 2010-2012 Lennart Poettering -***/ #include <errno.h> #include <stdlib.h> diff --git a/src/shared/dev-setup.h b/src/shared/dev-setup.h index 268b57f1a7..f105f2f20f 100644 --- a/src/shared/dev-setup.h +++ b/src/shared/dev-setup.h @@ -1,10 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once -/*** - Copyright 2010-2012 Lennart Poettering -***/ - #include <sys/types.h> int dev_setup(const char *prefix, uid_t uid, gid_t gid); diff --git a/src/shared/dissect-image.c b/src/shared/dissect-image.c index 249f043f96..fa1cf26ee1 100644 --- a/src/shared/dissect-image.c +++ b/src/shared/dissect-image.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ -/*** - Copyright 2016 Lennart Poettering -***/ #include <sys/mount.h> #include <sys/prctl.h> diff --git a/src/shared/dissect-image.h b/src/shared/dissect-image.h index 23acc8a5ab..0033921fa0 100644 --- a/src/shared/dissect-image.h +++ b/src/shared/dissect-image.h @@ -1,10 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once -/*** - Copyright 2016 Lennart Poettering -***/ - #include <stdbool.h> #include "sd-id128.h" diff --git a/src/shared/dns-domain.c b/src/shared/dns-domain.c index b2f5dd5b3b..de2fcca8b2 100644 --- a/src/shared/dns-domain.c +++ b/src/shared/dns-domain.c @@ -1,6 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ /*** - Copyright 2014 Lennart Poettering ***/ #if HAVE_LIBIDN2 diff --git a/src/shared/dns-domain.h b/src/shared/dns-domain.h index d49e07e436..0fd72cb029 100644 --- a/src/shared/dns-domain.h +++ b/src/shared/dns-domain.h @@ -2,7 +2,6 @@ #pragma once /*** - Copyright 2014 Lennart Poettering ***/ #include <errno.h> diff --git a/src/shared/efivars.c b/src/shared/efivars.c index 09b1aae51f..fcc0db8b0b 100644 --- a/src/shared/efivars.c +++ b/src/shared/efivars.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ -/*** - Copyright 2013 Lennart Poettering -***/ #include <dirent.h> #include <errno.h> diff --git a/src/shared/efivars.h b/src/shared/efivars.h index 9ee90519ed..dac66da9f8 100644 --- a/src/shared/efivars.h +++ b/src/shared/efivars.h @@ -1,10 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once -/*** - Copyright 2013 Lennart Poettering -***/ - #if ! ENABLE_EFI #include <errno.h> #endif diff --git a/src/shared/fdset.c b/src/shared/fdset.c index e6ae032d0a..8c852f1137 100644 --- a/src/shared/fdset.c +++ b/src/shared/fdset.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ -/*** - Copyright 2010 Lennart Poettering -***/ #include <alloca.h> #include <errno.h> diff --git a/src/shared/fdset.h b/src/shared/fdset.h index 986c878500..d31062b5c6 100644 --- a/src/shared/fdset.h +++ b/src/shared/fdset.h @@ -1,10 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once -/*** - Copyright 2010 Lennart Poettering -***/ - #include <stdbool.h> #include "hashmap.h" diff --git a/src/shared/firewall-util.c b/src/shared/firewall-util.c index a047a6969e..eb4f5ff616 100644 --- a/src/shared/firewall-util.c +++ b/src/shared/firewall-util.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ -/*** - Copyright 2015 Lennart Poettering -***/ /* Temporary work-around for broken glibc vs. linux kernel header definitions * This is already fixed upstream, remove this when distributions have updated. diff --git a/src/shared/firewall-util.h b/src/shared/firewall-util.h index d6920d9611..4fc71dade2 100644 --- a/src/shared/firewall-util.h +++ b/src/shared/firewall-util.h @@ -1,10 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once -/*** - Copyright 2015 Lennart Poettering -***/ - #include <stdbool.h> #include <stdint.h> diff --git a/src/shared/generator.c b/src/shared/generator.c index d828986b66..8d4fd3267b 100644 --- a/src/shared/generator.c +++ b/src/shared/generator.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ -/*** - Copyright 2014 Lennart Poettering -***/ #include <errno.h> #include <stdio_ext.h> diff --git a/src/shared/generator.h b/src/shared/generator.h index b2b348425d..f0a493b21e 100644 --- a/src/shared/generator.h +++ b/src/shared/generator.h @@ -1,10 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once -/*** - Copyright 2014 Lennart Poettering -***/ - #include <stdio.h> int generator_open_unit_file( diff --git a/src/shared/gpt.h b/src/shared/gpt.h index 18789443a4..fd953fabc7 100644 --- a/src/shared/gpt.h +++ b/src/shared/gpt.h @@ -1,10 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once -/*** - Copyright 2014 Lennart Poettering -***/ - #include <endian.h> #include "sd-id128.h" diff --git a/src/shared/ima-util.c b/src/shared/ima-util.c index 3d9e6457ef..0d4ce3cafc 100644 --- a/src/shared/ima-util.c +++ b/src/shared/ima-util.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ -/*** - Copyright 2013 Lennart Poettering -***/ #include <unistd.h> diff --git a/src/shared/ima-util.h b/src/shared/ima-util.h index de0a55ac3a..8f20741c33 100644 --- a/src/shared/ima-util.h +++ b/src/shared/ima-util.h @@ -1,10 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once -/*** - Copyright 2013 Lennart Poettering -***/ - #include <stdbool.h> bool use_ima(void); diff --git a/src/shared/import-util.c b/src/shared/import-util.c index 43ffd1246c..d53b90796f 100644 --- a/src/shared/import-util.c +++ b/src/shared/import-util.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ -/*** - Copyright 2015 Lennart Poettering -***/ #include <errno.h> #include <string.h> diff --git a/src/shared/import-util.h b/src/shared/import-util.h index c3bdd2ab32..0f2a5170c8 100644 --- a/src/shared/import-util.h +++ b/src/shared/import-util.h @@ -1,10 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once -/*** - Copyright 2015 Lennart Poettering -***/ - #include <stdbool.h> #include "macro.h" diff --git a/src/shared/install.c b/src/shared/install.c index 92c73913c5..77ae812878 100644 --- a/src/shared/install.c +++ b/src/shared/install.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ -/*** - Copyright 2011 Lennart Poettering -***/ #include <dirent.h> #include <errno.h> diff --git a/src/shared/install.h b/src/shared/install.h index 992b258e97..e452940991 100644 --- a/src/shared/install.h +++ b/src/shared/install.h @@ -1,10 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once -/*** - Copyright 2011 Lennart Poettering -***/ - typedef enum UnitFileScope UnitFileScope; typedef enum UnitFileState UnitFileState; typedef enum UnitFilePresetMode UnitFilePresetMode; diff --git a/src/shared/journal-util.c b/src/shared/journal-util.c index 2830923fe3..5ca6c2eb50 100644 --- a/src/shared/journal-util.c +++ b/src/shared/journal-util.c @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ /*** Copyright 2013 Zbigniew Jędrzejewski-Szmek - Copyright 2015 Lennart Poettering ***/ #include "acl-util.h" diff --git a/src/shared/journal-util.h b/src/shared/journal-util.h index 6834d2fb8d..7859a57e7e 100644 --- a/src/shared/journal-util.h +++ b/src/shared/journal-util.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ /*** Copyright 2013 Zbigniew Jędrzejewski-Szmek - Copyright 2015 Lennart Poettering ***/ #include <stdbool.h> diff --git a/src/shared/linux/libbpf.h b/src/shared/linux/libbpf.h index 1989e3a869..ad131fcb12 100644 --- a/src/shared/linux/libbpf.h +++ b/src/shared/linux/libbpf.h @@ -104,7 +104,6 @@ struct bpf_insn; #define BPF_LD_MAP_FD(DST, MAP_FD) \ BPF_LD_IMM64_RAW(DST, BPF_PSEUDO_MAP_FD, MAP_FD) - /* Direct packet access, R0 = *(uint *) (skb->data + imm32) */ #define BPF_LD_ABS(SIZE, IMM) \ diff --git a/src/shared/logs-show.c b/src/shared/logs-show.c index 55ee1135f7..33afbe2f7f 100644 --- a/src/shared/logs-show.c +++ b/src/shared/logs-show.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ -/*** - Copyright 2012 Lennart Poettering -***/ #include <errno.h> #include <fcntl.h> diff --git a/src/shared/logs-show.h b/src/shared/logs-show.h index f346a8d63f..002d06af84 100644 --- a/src/shared/logs-show.h +++ b/src/shared/logs-show.h @@ -1,10 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once -/*** - Copyright 2012 Lennart Poettering -***/ - #include <stdbool.h> #include <stddef.h> #include <stdio.h> diff --git a/src/shared/loop-util.c b/src/shared/loop-util.c index 9039c8f486..872c25c3dc 100644 --- a/src/shared/loop-util.c +++ b/src/shared/loop-util.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ -/*** - Copyright 2016 Lennart Poettering -***/ #include <errno.h> #include <fcntl.h> diff --git a/src/shared/loop-util.h b/src/shared/loop-util.h index 95e822ef52..d78466c5ee 100644 --- a/src/shared/loop-util.h +++ b/src/shared/loop-util.h @@ -1,10 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once -/*** - Copyright 2016 Lennart Poettering -***/ - #include "macro.h" typedef struct LoopDevice LoopDevice; diff --git a/src/shared/machine-image.c b/src/shared/machine-image.c index a259b18301..ff9a2103a0 100644 --- a/src/shared/machine-image.c +++ b/src/shared/machine-image.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ -/*** - Copyright 2013 Lennart Poettering -***/ #include <dirent.h> #include <errno.h> diff --git a/src/shared/machine-image.h b/src/shared/machine-image.h index b291ff0992..2e38522acd 100644 --- a/src/shared/machine-image.h +++ b/src/shared/machine-image.h @@ -1,10 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once -/*** - Copyright 2014 Lennart Poettering -***/ - #include <stdbool.h> #include <stdint.h> diff --git a/src/shared/machine-pool.c b/src/shared/machine-pool.c index dbdbcbfcc7..53c5609f9b 100644 --- a/src/shared/machine-pool.c +++ b/src/shared/machine-pool.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ -/*** - Copyright 2015 Lennart Poettering -***/ #include <errno.h> #include <fcntl.h> diff --git a/src/shared/machine-pool.h b/src/shared/machine-pool.h index f76c825f85..fd09296f23 100644 --- a/src/shared/machine-pool.h +++ b/src/shared/machine-pool.h @@ -1,10 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once -/*** - Copyright 2015 Lennart Poettering -***/ - #include <stdint.h> #include "sd-bus.h" diff --git a/src/shared/nsflags.c b/src/shared/nsflags.c index 81d21260eb..a5beb9200f 100644 --- a/src/shared/nsflags.c +++ b/src/shared/nsflags.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ -/*** - Copyright 2016 Lennart Poettering -***/ #include <sched.h> diff --git a/src/shared/nsflags.h b/src/shared/nsflags.h index 749956e20a..7cc26a441d 100644 --- a/src/shared/nsflags.h +++ b/src/shared/nsflags.h @@ -1,10 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once -/*** - Copyright 2016 Lennart Poettering -***/ - #include <sched.h> #include "missing.h" diff --git a/src/shared/output-mode.c b/src/shared/output-mode.c index e1d7bbfa25..bb33ba3d10 100644 --- a/src/shared/output-mode.c +++ b/src/shared/output-mode.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ -/*** - Copyright 2012 Lennart Poettering -***/ #include "output-mode.h" #include "string-table.h" diff --git a/src/shared/output-mode.h b/src/shared/output-mode.h index 84f78fe2f7..fe3903b3c5 100644 --- a/src/shared/output-mode.h +++ b/src/shared/output-mode.h @@ -1,10 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once -/*** - Copyright 2013 Lennart Poettering -***/ - #include "macro.h" typedef enum OutputMode { diff --git a/src/shared/path-lookup.c b/src/shared/path-lookup.c index beb38228e6..13ab5310e3 100644 --- a/src/shared/path-lookup.c +++ b/src/shared/path-lookup.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ -/*** - Copyright 2010 Lennart Poettering -***/ #include <errno.h> #include <stdio.h> diff --git a/src/shared/path-lookup.h b/src/shared/path-lookup.h index 92083af5f5..963e09db67 100644 --- a/src/shared/path-lookup.h +++ b/src/shared/path-lookup.h @@ -1,10 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once -/*** - Copyright 2010 Lennart Poettering -***/ - #include <stdbool.h> typedef struct LookupPaths LookupPaths; diff --git a/src/shared/ptyfwd.c b/src/shared/ptyfwd.c index 8be39172d5..c38ec81bbc 100644 --- a/src/shared/ptyfwd.c +++ b/src/shared/ptyfwd.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ -/*** - Copyright 2010-2013 Lennart Poettering -***/ #include <errno.h> #include <limits.h> diff --git a/src/shared/ptyfwd.h b/src/shared/ptyfwd.h index 08069e08bc..e4a083ac24 100644 --- a/src/shared/ptyfwd.h +++ b/src/shared/ptyfwd.h @@ -1,10 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once -/*** - Copyright 2010-2013 Lennart Poettering -***/ - #include <stdbool.h> #include "sd-event.h" diff --git a/src/shared/resolve-util.c b/src/shared/resolve-util.c index f988f58735..a5d4a14344 100644 --- a/src/shared/resolve-util.c +++ b/src/shared/resolve-util.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ -/*** - Copyright 2016 Lennart Poettering -***/ #include "conf-parser.h" #include "resolve-util.h" diff --git a/src/shared/resolve-util.h b/src/shared/resolve-util.h index 4d962e6167..5883342e65 100644 --- a/src/shared/resolve-util.h +++ b/src/shared/resolve-util.h @@ -1,10 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once -/*** - Copyright 2016 Lennart Poettering -***/ - #include "conf-parser.h" #include "macro.h" diff --git a/src/shared/seccomp-util.c b/src/shared/seccomp-util.c index 8c28651d0b..517a1b4509 100644 --- a/src/shared/seccomp-util.c +++ b/src/shared/seccomp-util.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ -/*** - Copyright 2014 Lennart Poettering -***/ #include <errno.h> #include <linux/seccomp.h> diff --git a/src/shared/seccomp-util.h b/src/shared/seccomp-util.h index 0aba9fcc87..7dfff9df78 100644 --- a/src/shared/seccomp-util.h +++ b/src/shared/seccomp-util.h @@ -1,10 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once -/*** - Copyright 2014 Lennart Poettering -***/ - #include <seccomp.h> #include <stdbool.h> #include <stdint.h> diff --git a/src/shared/spawn-ask-password-agent.c b/src/shared/spawn-ask-password-agent.c index 9db8b6d1e7..309071c89d 100644 --- a/src/shared/spawn-ask-password-agent.c +++ b/src/shared/spawn-ask-password-agent.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ -/*** - Copyright 2011 Lennart Poettering -***/ #include <signal.h> #include <stdlib.h> diff --git a/src/shared/spawn-ask-password-agent.h b/src/shared/spawn-ask-password-agent.h index 8c249f5b9c..97e73bda44 100644 --- a/src/shared/spawn-ask-password-agent.h +++ b/src/shared/spawn-ask-password-agent.h @@ -1,9 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once -/*** - Copyright 2011 Lennart Poettering -***/ - int ask_password_agent_open(void); void ask_password_agent_close(void); diff --git a/src/shared/spawn-polkit-agent.c b/src/shared/spawn-polkit-agent.c index 03a1faf686..180cb7964c 100644 --- a/src/shared/spawn-polkit-agent.c +++ b/src/shared/spawn-polkit-agent.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ -/*** - Copyright 2011 Lennart Poettering -***/ #include <errno.h> #include <poll.h> diff --git a/src/shared/spawn-polkit-agent.h b/src/shared/spawn-polkit-agent.h index cf4a473606..190b970b6f 100644 --- a/src/shared/spawn-polkit-agent.h +++ b/src/shared/spawn-polkit-agent.h @@ -1,10 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once -/*** - Copyright 2012 Lennart Poettering -***/ - #include "bus-util.h" int polkit_agent_open(void); diff --git a/src/shared/specifier.c b/src/shared/specifier.c index 9e77a1f362..d698b42e07 100644 --- a/src/shared/specifier.c +++ b/src/shared/specifier.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ -/*** - Copyright 2010 Lennart Poettering -***/ #include <errno.h> #include <stdbool.h> diff --git a/src/shared/specifier.h b/src/shared/specifier.h index cdd415ba64..e1895129d7 100644 --- a/src/shared/specifier.h +++ b/src/shared/specifier.h @@ -1,10 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once -/*** - Copyright 2010 Lennart Poettering -***/ - #include "string-util.h" typedef int (*SpecifierCallback)(char specifier, void *data, void *userdata, char **ret); diff --git a/src/shared/switch-root.c b/src/shared/switch-root.c index 4be18ac62f..8368bedfc3 100644 --- a/src/shared/switch-root.c +++ b/src/shared/switch-root.c @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ /*** - Copyright 2012 Harald Hoyer, Lennart Poettering + Copyright 2012 Harald Hoyer ***/ #include <errno.h> diff --git a/src/shared/switch-root.h b/src/shared/switch-root.h index 01aaaa13d0..5cf7eb1a7c 100644 --- a/src/shared/switch-root.h +++ b/src/shared/switch-root.h @@ -1,9 +1,10 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once -#include <stdbool.h> /*** - Copyright 2012 Harald Hoyer, Lennart Poettering + Copyright 2012 Harald Hoyer ***/ +#include <stdbool.h> + int switch_root(const char *new_root, const char *oldroot, bool detach_oldroot, unsigned long mountflags); diff --git a/src/shared/sysctl-util.c b/src/shared/sysctl-util.c index 372baa4540..326652273c 100644 --- a/src/shared/sysctl-util.c +++ b/src/shared/sysctl-util.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ -/*** - Copyright 2010 Lennart Poettering -***/ #include <errno.h> #include <fcntl.h> diff --git a/src/shared/sysctl-util.h b/src/shared/sysctl-util.h index 33b4fd58dc..fd7c78b2b8 100644 --- a/src/shared/sysctl-util.h +++ b/src/shared/sysctl-util.h @@ -1,10 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once -/*** - Copyright 2011 Lennart Poettering -***/ - char *sysctl_normalize(char *s); int sysctl_read(const char *property, char **value); int sysctl_write(const char *property, const char *value); diff --git a/src/shared/tests.c b/src/shared/tests.c index 05be15ec69..6b3df0aa07 100644 --- a/src/shared/tests.c +++ b/src/shared/tests.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ -/*** - Copyright 2016 Lennart Poettering -***/ #include <alloc-util.h> #include <fs-util.h> diff --git a/src/shared/tests.h b/src/shared/tests.h index be2375add6..b88135ed93 100644 --- a/src/shared/tests.h +++ b/src/shared/tests.h @@ -1,9 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once -/*** - Copyright 2016 Lennart Poettering -***/ - char* setup_fake_runtime_dir(void); const char* get_testdata_dir(const char *suffix); diff --git a/src/shared/uid-range.c b/src/shared/uid-range.c index 986f5f7f0b..434ce6ff4d 100644 --- a/src/shared/uid-range.c +++ b/src/shared/uid-range.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ -/*** - Copyright 2014 Lennart Poettering -***/ #include <errno.h> #include <stdlib.h> diff --git a/src/shared/uid-range.h b/src/shared/uid-range.h index 99b14cd45b..49ba38287e 100644 --- a/src/shared/uid-range.h +++ b/src/shared/uid-range.h @@ -1,10 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once -/*** - Copyright 2014 Lennart Poettering -***/ - #include <stdbool.h> #include <sys/types.h> diff --git a/src/shared/utmp-wtmp.c b/src/shared/utmp-wtmp.c index 1d58a5a2e0..ef9427fa7b 100644 --- a/src/shared/utmp-wtmp.c +++ b/src/shared/utmp-wtmp.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ -/*** - Copyright 2010 Lennart Poettering -***/ #include <errno.h> #include <fcntl.h> diff --git a/src/shared/utmp-wtmp.h b/src/shared/utmp-wtmp.h index 1b7e7eace9..9e433cf73e 100644 --- a/src/shared/utmp-wtmp.h +++ b/src/shared/utmp-wtmp.h @@ -1,10 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once -/*** - Copyright 2010 Lennart Poettering -***/ - #include <stdbool.h> #include <sys/types.h> diff --git a/src/shared/vlan-util.c b/src/shared/vlan-util.c index 99dc9299f9..400994a354 100644 --- a/src/shared/vlan-util.c +++ b/src/shared/vlan-util.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ -/*** - Copyright 2016 Lennart Poettering -***/ #include "conf-parser.h" #include "parse-util.h" diff --git a/src/shared/vlan-util.h b/src/shared/vlan-util.h index 3d014dae3d..ebe4331ed4 100644 --- a/src/shared/vlan-util.h +++ b/src/shared/vlan-util.h @@ -1,10 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once -/*** - Copyright 2016 Lennart Poettering -***/ - #include <stdbool.h> #include <inttypes.h> diff --git a/src/shared/volatile-util.c b/src/shared/volatile-util.c index e4d717d662..4d75bc0e96 100644 --- a/src/shared/volatile-util.c +++ b/src/shared/volatile-util.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ -/*** - Copyright 2015 Lennart Poettering -***/ #include <errno.h> diff --git a/src/shared/volatile-util.h b/src/shared/volatile-util.h index b3cd477231..8761c44ab8 100644 --- a/src/shared/volatile-util.h +++ b/src/shared/volatile-util.h @@ -1,10 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once -/*** - Copyright 2016 Lennart Poettering -***/ - typedef enum VolatileMode { VOLATILE_NO, VOLATILE_YES, diff --git a/src/shared/watchdog.c b/src/shared/watchdog.c index 9f4c82f1eb..c423af6917 100644 --- a/src/shared/watchdog.c +++ b/src/shared/watchdog.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ -/*** - Copyright 2012 Lennart Poettering -***/ #include <errno.h> #include <fcntl.h> diff --git a/src/shared/watchdog.h b/src/shared/watchdog.h index 2491170762..a345e4ba7d 100644 --- a/src/shared/watchdog.h +++ b/src/shared/watchdog.h @@ -1,10 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once -/*** - Copyright 2012 Lennart Poettering -***/ - #include <stdbool.h> #include "time-util.h" |