various: mark files with the usual license tags

For .clang-format and pytest.ini, MIT-0 is used because people might want
to copy those.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2026-08-28 06:26:09 +09:00
committed by Yu Watanabe
parent a2de89f622
commit 3d0ef4aefe
46 changed files with 85 additions and 27 deletions
+2
View File
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: MIT-0
#
# This configuration file can be used to auto-format the code base. # This configuration file can be used to auto-format the code base.
# Not all guidelines specified in CODING_STYLE are followed, so the # Not all guidelines specified in CODING_STYLE are followed, so the
# result MUST NOT be committed indiscriminately, but each automated # result MUST NOT be committed indiscriminately, but each automated
+1 -1
View File
@@ -1,4 +1,4 @@
--- # SPDX-License-Identifier: LGPL-2.1-or-later
# syntax - https://github.com/redhat-plumbers-in-action/advanced-issue-labeler#policy # syntax - https://github.com/redhat-plumbers-in-action/advanced-issue-labeler#policy
policy: policy:
+1
View File
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# syntax - https://github.com/redhat-plumbers-in-action/devel-freezer#policy # syntax - https://github.com/redhat-plumbers-in-action/devel-freezer#policy
--- ---
+1
View File
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# Integrates Claude Code as an AI assistant for reviewing pull requests. # Integrates Claude Code as an AI assistant for reviewing pull requests.
# Mention @claude in any PR comment to request a review. Claude authenticates # Mention @claude in any PR comment to request a review. Claude authenticates
# via AWS Bedrock using OIDC — no long-lived API keys required. # via AWS Bedrock using OIDC — no long-lived API keys required.
+1
View File
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# doc: https://github.com/redhat-plumbers-in-action/devel-freezer#readme # doc: https://github.com/redhat-plumbers-in-action/devel-freezer#readme
--- ---
@@ -1,4 +1,4 @@
--- # SPDX-License-Identifier: LGPL-2.1-or-later
# https://github.com/redhat-plumbers-in-action/differential-shellcheck#readme # https://github.com/redhat-plumbers-in-action/differential-shellcheck#readme
name: Differential ShellCheck name: Differential ShellCheck
+1 -1
View File
@@ -1,4 +1,4 @@
--- # SPDX-License-Identifier: LGPL-2.1-or-later
name: Gather Pull Request Metadata name: Gather Pull Request Metadata
+1 -1
View File
@@ -1,4 +1,4 @@
--- # SPDX-License-Identifier: LGPL-2.1-or-later
name: Issue labeler name: Issue labeler
on: on:
+2
View File
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
name: Make a Github release name: Make a Github release
on: on:
+2
View File
@@ -1,6 +1,8 @@
<?xml version='1.0'?> <?xml version='1.0'?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<!-- SPDX-License-Identifier: LGPL-2.1-or-later -->
<refentry id="systemd.pcrlock" <refentry id="systemd.pcrlock"
xmlns:xi="http://www.w3.org/2001/XInclude"> xmlns:xi="http://www.w3.org/2001/XInclude">
+2
View File
@@ -1,4 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- SPDX-License-Identifier: LGPL-2.1-or-later -->
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> <mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/x.systemd-sysext"> <mime-type type="application/x.systemd-sysext">
<sub-class-of type="application/vnd.efi.img"/> <sub-class-of type="application/vnd.efi.img"/>
@@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# SPDX-License-Identifier: LGPL-2.1-or-later
set -e set -e
# We don't use mkosi.extra because /usr/sbin could be a symlink and cp doesn't handle that properly until # We don't use mkosi.extra because /usr/sbin could be a symlink and cp doesn't handle that properly until
@@ -1 +1,2 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
leak:libselinux leak:libselinux
+3 -2
View File
@@ -1,6 +1,7 @@
# SOME DESCRIPTIVE TITLE. # SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER #
# This file is distributed under the same license as the systemd package. # This file is distributed under the same license as the systemd package.
#
# joo es <johndevand@tutanota.com>, 2025. # joo es <johndevand@tutanota.com>, 2025.
# joo es <jonnyse@users.noreply.translate.fedoraproject.org>, 2025, 2026. # joo es <jonnyse@users.noreply.translate.fedoraproject.org>, 2025, 2026.
msgid "" msgid ""
+3 -2
View File
@@ -1,6 +1,7 @@
# SOME DESCRIPTIVE TITLE. # SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER #
# This file is distributed under the same license as the systemd package. # This file is distributed under the same license as the systemd package.
#
# Emilio Sepulveda <emism.translations@gmail.com>, 2025, 2026. # Emilio Sepulveda <emism.translations@gmail.com>, 2025, 2026.
msgid "" msgid ""
msgstr "" msgstr ""
+3 -2
View File
@@ -1,6 +1,7 @@
# SOME DESCRIPTIVE TITLE. # SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER #
# This file is distributed under the same license as the systemd package. # This file is distributed under the same license as the systemd package.
#
# Baurzhan Muftakhidinov <baurthefirst@gmail.com>, 2026. # Baurzhan Muftakhidinov <baurthefirst@gmail.com>, 2026.
msgid "" msgid ""
msgstr "" msgstr ""
+3 -2
View File
@@ -1,6 +1,7 @@
# SOME DESCRIPTIVE TITLE. # SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER #
# This file is distributed under the same license as the systemd package. # This file is distributed under the same license as the systemd package.
#
# kanitha chim <kchim@redhat.com>, 2025, 2026. # kanitha chim <kchim@redhat.com>, 2025, 2026.
msgid "" msgid ""
msgstr "" msgstr ""
+3 -2
View File
@@ -1,6 +1,7 @@
# SOME DESCRIPTIVE TITLE. # SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER #
# This file is distributed under the same license as the systemd package. # This file is distributed under the same license as the systemd package.
#
# tim tom <aktimtom@gmail.com>, 2025. # tim tom <aktimtom@gmail.com>, 2025.
msgid "" msgid ""
msgstr "" msgstr ""
+3 -2
View File
@@ -1,6 +1,7 @@
# SOME DESCRIPTIVE TITLE. # SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER #
# This file is distributed under the same license as the systemd package. # This file is distributed under the same license as the systemd package.
#
# Jasmine Andrever-Wright <cam.jpw@gmail.com>, 2025. # Jasmine Andrever-Wright <cam.jpw@gmail.com>, 2025.
msgid "" msgid ""
msgstr "" msgstr ""
+3 -2
View File
@@ -1,6 +1,7 @@
# SOME DESCRIPTIVE TITLE. # SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER #
# This file is distributed under the same license as the systemd package. # This file is distributed under the same license as the systemd package.
#
# Bone NI <bounkirdni@gmail.com>, 2026. # Bone NI <bounkirdni@gmail.com>, 2026.
msgid "" msgid ""
msgstr "" msgstr ""
+3 -2
View File
@@ -1,6 +1,7 @@
# SOME DESCRIPTIVE TITLE. # SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER #
# This file is distributed under the same license as the systemd package. # This file is distributed under the same license as the systemd package.
#
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
# #
#, fuzzy #, fuzzy
+1
View File
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# shellcheck shell=sh # shellcheck shell=sh
# This file is part of systemd. # This file is part of systemd.
+1
View File
@@ -1,4 +1,5 @@
#compdef run0 #compdef run0
# SPDX-License-Identifier: LGPL-2.1-or-later
(( $+functions[_run0_unit_properties] )) || (( $+functions[_run0_unit_properties] )) ||
_run0_unit_properties() { _run0_unit_properties() {
+1
View File
@@ -1,4 +1,5 @@
#compdef -value-,DBUS_SESSION_BUS_ADDRESS,-default- -value-,DBUS_SYSTEM_BUS_ADDRESS,-default- #compdef -value-,DBUS_SESSION_BUS_ADDRESS,-default- -value-,DBUS_SYSTEM_BUS_ADDRESS,-default-
# SPDX-License-Identifier: LGPL-2.1-or-later
local context state state_descr line local context state state_descr line
typeset -A val_args typeset -A val_args
+1
View File
@@ -1,4 +1,5 @@
#compdef systemd-id128 #compdef systemd-id128
# SPDX-License-Identifier: LGPL-2.1-or-later
local context state state_descr line local context state state_descr line
typeset -A opt_args typeset -A opt_args
+1
View File
@@ -1,4 +1,5 @@
#compdef userdbctl #compdef userdbctl
# SPDX-License-Identifier: LGPL-2.1-or-later
local context state state_descr line local context state state_descr line
typeset -A opt_args typeset -A opt_args
+2
View File
@@ -1,2 +1,4 @@
# SPDX-License-Identifier: MIT-0
[pytest] [pytest]
tmp_path_retention_policy = failed tmp_path_retention_policy = failed
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit] [Unit]
Description=Service that never leaves state ACTIVATING Description=Service that never leaves state ACTIVATING
Requires=always-activating.socket Requires=always-activating.socket
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit] [Unit]
Description=Socket that activates always-activating.service Description=Socket that activates always-activating.service
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit] [Unit]
Description=Test service for delegated logs filtering Description=Test service for delegated logs filtering
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit] [Unit]
Description=Log filtering unit Description=Log filtering unit
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit] [Unit]
Description=Log filtering unit Description=Log filtering unit
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit] [Unit]
Description=Test for DeferReactivation=yes (service) Description=Test for DeferReactivation=yes (service)
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit] [Unit]
Description=Test for DeferReactivation=yes (timer) Description=Test for DeferReactivation=yes (timer)
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
[Mount] [Mount]
What=tmpfs What=tmpfs
Where=/issue2730 Where=/issue2730
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit] [Unit]
Description=OpenFile= test server socket Description=OpenFile= test server socket
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit] [Unit]
Description=OpenFile= test server service Description=OpenFile= test server service
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
[Service] [Service]
Type=notify Type=notify
ExecStart=bash -c "echo failure >>/tmp/success-failure-test-result && systemd-notify --ready && sleep infinity" ExecStart=bash -c "echo failure >>/tmp/success-failure-test-result && systemd-notify --ready && sleep infinity"
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
[Service] [Service]
Type=notify Type=notify
ExecStart=bash -c "echo success >> /tmp/success-failure-test-result && systemd-notify --ready && sleep infinity" ExecStart=bash -c "echo success >>/tmp/success-failure-test-result && systemd-notify --ready && sleep infinity"
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit] [Unit]
OnSuccess=success-failure-test-success.service OnSuccess=success-failure-test-success.service
OnFailure=success-failure-test-failure.service OnFailure=success-failure-test-failure.service
+2
View File
@@ -1,4 +1,6 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# SPDX-License-Identifier: LGPL-2.1-or-later
""" """
Compare statically linked dlopen symbols against shared library ELF notes. Compare statically linked dlopen symbols against shared library ELF notes.
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit] [Unit]
Description=Test for Personality=loongarch64 Description=Test for Personality=loongarch64
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
[NetDev] [NetDev]
Name=bond97 Name=bond97
Kind=bond Kind=bond
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
[Match] [Match]
Name=dummy97 Name=dummy97
+1 -6
View File
@@ -1,9 +1,4 @@
# This file is part of systemd. # SPDX-License-Identifier: LGPL-2.1-or-later
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
# The superuser # The superuser
g root 0 - - g root 0 - -
@@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux set -eux
# Test ExitType=cgroup # Test ExitType=cgroup