1
0
mirror of https://github.com/systemd/systemd synced 2026-03-29 11:14:50 +02:00

Compare commits

..

11 Commits

Author SHA1 Message Date
Luca Boccassi
ab885bedbf
Merge pull request #20907 from keszybz/licensing-cleanup
Licensing cleanup
2021-10-01 17:26:08 +01:00
Zbigniew Jędrzejewski-Szmek
0aee5e3dc0 xorg/50-systemd-user: add a full license header
This file is installed onto user systems, so it should have the full
header that says where it came from.
2021-10-01 14:45:00 +02:00
Zbigniew Jędrzejewski-Szmek
8f5bcd615b licensing: add forgotten spdx headers
Those are all "our" files, but we forgot to add the headers,
most likely because of non-standard file extensions.
2021-10-01 14:45:00 +02:00
Zbigniew Jędrzejewski-Szmek
098621aff3 licensing: add missing header to one .network file
It should have the full header because it will be installed onto
user systems like the other .network files.
2021-10-01 14:45:00 +02:00
Zbigniew Jędrzejewski-Szmek
090ade7ee7 licensing: add spdx header to chromiumos helper, move license file
It makes it easier to process the license automatically like other files.
The text of the license in tools/chromiumos/LICENSE matches
https://spdx.org/licenses/BSD-3-Clause.html exactly.
2021-10-01 14:45:00 +02:00
Zbigniew Jędrzejewski-Szmek
64b92d637c licensing: add spdx to our .cocci files
Since those are chunks of code based on our codebase, it's easiest to use the
same license.
2021-10-01 14:45:00 +02:00
Zbigniew Jędrzejewski-Szmek
ed77c2de1f licensing: add header to POTFILES.in
This is just a stupid file list, but without the header the file shows
up on the list of files without a header. I checked that 'systemd-update-po'
still works, so I think it's OK to add this.
2021-10-01 14:45:00 +02:00
Zbigniew Jędrzejewski-Szmek
6f2c7dd7cd licensing: add missing license headers on translation files
Also make the headers more alike for consistency.
2021-10-01 14:45:00 +02:00
Zbigniew Jędrzejewski-Szmek
186b9041ae ci: use LGPLv2+ for all our ci configuration 2021-10-01 14:45:00 +02:00
Zbigniew Jędrzejewski-Szmek
43d6fcc09f github: use the same headers on yaml files
Also adjust the mention of location of mkosi files,
follow-up for d55ad7fe96eb1edf438a7a41a465723bd29d4b10.
2021-10-01 14:45:00 +02:00
Zbigniew Jędrzejewski-Szmek
d8aaa71699 licensing: say that our github docs are LGPLv2.1+
This mirros what 0aff7b7584 did for docs/.
2021-10-01 14:45:00 +02:00
99 changed files with 140 additions and 31 deletions

View File

@ -1,7 +1,7 @@
--- ---
name: Bug report name: Bug report
about: A report of an error in a recent systemd version about: A report of an error in a recent systemd version
SPDX-License-Identifier: LGPL-2.1-or-later
--- ---
**systemd version the issue has been seen with** **systemd version the issue has been seen with**

View File

@ -1,7 +1,7 @@
--- ---
name: Feature request name: Feature request
about: Suggest an improvement about: Suggest an improvement
SPDX-License-Identifier: LGPL-2.1-or-later
--- ---
**Is your feature request related to a problem? Please describe.** **Is your feature request related to a problem? Please describe.**

2
.github/labeler.yml vendored
View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
hwdb: hwdb:
- hwdb.d/**/* - hwdb.d/**/*
units: units:

View File

@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
# SPDX-License-Identifier: LGPL-2.1-or-later
set -ex set -ex

View File

@ -1,5 +1,6 @@
--- ---
# vi: ts=2 sw=2 et: # vi: ts=2 sw=2 et:
# SPDX-License-Identifier: LGPL-2.1-or-later
# #
name: Build test name: Build test
on: on:

View File

@ -1,5 +1,6 @@
--- ---
# vi: ts=2 sw=2 et: # vi: ts=2 sw=2 et:
# SPDX-License-Identifier: LGPL-2.1-or-later
# See: https://google.github.io/oss-fuzz/getting-started/continuous-integration/ # See: https://google.github.io/oss-fuzz/getting-started/continuous-integration/
name: CIFuzz name: CIFuzz

View File

@ -1,5 +1,6 @@
--- ---
# vi: ts=2 sw=2 et: # vi: ts=2 sw=2 et:
# SPDX-License-Identifier: LGPL-2.1-or-later
# #
name: Coverity name: Coverity

View File

@ -1,4 +1,9 @@
---
# vi: ts=2 sw=2 et:
# SPDX-License-Identifier: LGPL-2.1-or-later
#
name: "Pull Request Labeler" name: "Pull Request Labeler"
on: on:
- pull_request_target - pull_request_target

View File

@ -1,6 +1,7 @@
--- ---
# vi: ts=2 sw=2 et:
# SPDX-License-Identifier: LGPL-2.1-or-later
# https://github.com/marketplace/actions/super-linter # https://github.com/marketplace/actions/super-linter
name: Lint Code Base name: Lint Code Base
on: on:

View File

@ -1,7 +1,9 @@
---
# vi: ts=2 sw=2 et:
# SPDX-License-Identifier: LGPL-2.1-or-later
# Simple boot tests that build and boot the mkosi images generated by the mkosi config files in mkosi.default.d/.
name: mkosi name: mkosi
# Simple boot tests that build and boot the mkosi images generated by the mkosi config files in .mkosi.
on: on:
push: push:
branches: branches:
@ -31,7 +33,7 @@ jobs:
run: sudo apt-get update && sudo apt-get install --no-install-recommends python3-pexpect python3-jinja2 run: sudo apt-get update && sudo apt-get install --no-install-recommends python3-pexpect python3-jinja2
- name: Configure - name: Configure
run: echo -e "[Distribution]\nDistribution=${{ matrix.distro }}\n" > mkosi.default run: echo -e "[Distribution]\nDistribution=${{ matrix.distro }}\n" >mkosi.default
# Ubuntu's systemd-nspawn doesn't support faccessat2() syscall, which is # Ubuntu's systemd-nspawn doesn't support faccessat2() syscall, which is
# required, since current Arch's glibc implements faccessat() via faccessat2(). # required, since current Arch's glibc implements faccessat() via faccessat2().

View File

@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
# SPDX-License-Identifier: LGPL-2.1-or-later
# shellcheck disable=SC2206 # shellcheck disable=SC2206
PHASES=(${@:-SETUP RUN RUN_ASAN_UBSAN CLEANUP}) PHASES=(${@:-SETUP RUN RUN_ASAN_UBSAN CLEANUP})

View File

@ -1,5 +1,6 @@
--- ---
# vi: ts=2 sw=2 et: # vi: ts=2 sw=2 et:
# SPDX-License-Identifier: LGPL-2.1-or-later
# #
name: Unit tests name: Unit tests
on: on:

View File

@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux set -eux
set -o pipefail set -o pipefail

View File

@ -1,4 +1,5 @@
--- ---
# SPDX-License-Identifier: LGPL-2.1-or-later
# vi: ts=2 sw=2 et: # vi: ts=2 sw=2 et:
version: v1.0 version: v1.0

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
bool b; bool b;
expression y; expression y;

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression fd; expression fd;
@@ @@

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression x, y; expression x, y;
@@ @@

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
constant s; constant s;
@@ @@

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
@@ @@
( (

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression x, y; expression x, y;
@@ @@

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
/* We want to stick with dup() in test-fd-util.c */ /* We want to stick with dup() in test-fd-util.c */
position p : script:python() { p[0].file != "src/test/test-fd-util.c" }; position p : script:python() { p[0].file != "src/test/test-fd-util.c" };

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression s; expression s;
@@ @@

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression s; expression s;
@@ @@

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
/* Avoid running this transformation on the empty_to_null function itself */ /* Avoid running this transformation on the empty_to_null function itself */
position p : script:python() { p[0].current_element != "empty_to_null" }; position p : script:python() { p[0].current_element != "empty_to_null" };

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression s; expression s;
@@ @@

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
@@ @@
- ENOTSUP - ENOTSUP

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression e; expression e;
statement s; statement s;

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
constant c; constant c;
@@ @@

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
identifier log_LEVEL_errno =~ "^log_(debug|info|notice|warning|error|emergency)_errno$"; identifier log_LEVEL_errno =~ "^log_(debug|info|notice|warning|error|emergency)_errno$";
local idexpression r; local idexpression r;

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
@@ @@
- exit(0); - exit(0);

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
/* Disable this transformation in cases where it doesn't make sense or /* Disable this transformation in cases where it doesn't make sense or
* where it makes the resulting expression more confusing * where it makes the resulting expression more confusing

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression f, path, options; expression f, path, options;
@@ @@

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression p, q; expression p, q;
@@ @@

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression p; expression p;
@@ @@

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression s; expression s;
@@ @@

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
/* Limit the number of expressions to 6 for performance reasons */ /* Limit the number of expressions to 6 for performance reasons */
@@ @@
expression e; expression e;

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression x, y, p, l; expression x, y, p, l;
@@ @@

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
/* Disable this transformation for the test-string-util.c */ /* Disable this transformation for the test-string-util.c */
position p : script:python() { p[0].file != "src/test/test-string-util.c" }; position p : script:python() { p[0].file != "src/test/test-string-util.c" };

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression e, v, flags; expression e, v, flags;
expression list args; expression list args;

View File

@ -1,4 +1,6 @@
/* Collected macros from our systemd codebase to make the cocci semantic /* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
* Collected macros from our systemd codebase to make the cocci semantic
* parser happy. Inspired by the original cocci macros file * parser happy. Inspired by the original cocci macros file
* /usr/lib64/coccinelle/standard.h (including the YACFE_* symbols) * /usr/lib64/coccinelle/standard.h (including the YACFE_* symbols)
*/ */

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression q, n, m; expression q, n, m;
@@ @@

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression s; expression s;
@@ @@

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression p; expression p;
@@ @@

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
/* Avoid running this transformation on the mfree function itself */ /* Avoid running this transformation on the mfree function itself */
position p : script:python() { p[0].current_element != "mfree" }; position p : script:python() { p[0].current_element != "mfree" };

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression p, q; expression p, q;
identifier r; identifier r;

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
/* Limit the number of expressions to 6 for performance reasons */ /* Limit the number of expressions to 6 for performance reasons */
@@ @@
expression e; expression e;

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
@@ @@
- O_NDELAY - O_NDELAY

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression q, p, n, m; expression q, p, n, m;
@@ @@

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression r; expression r;
@@ @@

View File

@ -1,4 +1,5 @@
#!/bin/bash -e #!/bin/bash -e
# SPDX-License-Identifier: LGPL-2.1-or-later
# Exclude following paths from the Coccinelle transformations # Exclude following paths from the Coccinelle transformations
EXCLUDED_PATHS=( EXCLUDED_PATHS=(

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression fd; expression fd;
@@ @@

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression fd; expression fd;
@@ @@

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression p; expression p;
@@ @@

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression p; expression p;
@@ @@

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression p; expression p;
@@ @@

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
local idexpression r; local idexpression r;
expression p, k, x; expression p, k, x;

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
/* Avoid running this transformation on the strempty function itself and /* Avoid running this transformation on the strempty function itself and
* on the "make_expression" macro in src/libsystemd/sd-bus/bus-convenience.c. * on the "make_expression" macro in src/libsystemd/sd-bus/bus-convenience.c.

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
position p : script:python() { p[0].current_element != "test_strjoin" }; position p : script:python() { p[0].current_element != "test_strjoin" };
expression t; expression t;

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
position p : script:python() { p[0].current_element != "test_strjoina" }; position p : script:python() { p[0].current_element != "test_strjoina" };
expression n, m; expression n, m;

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression p; expression p;
@@ @@

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression x, y, z; expression x, y, z;
@@ @@

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
expression e; expression e;
expression list args; expression list args;

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
local idexpression p; local idexpression p;
expression q; expression q;

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
local idexpression p; local idexpression p;
expression q; expression q;

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
statement s; statement s;
@@ @@

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
position p : script:python() { not p[0].file.startswith("man/") }; position p : script:python() { not p[0].file.startswith("man/") };
expression e, fmt; expression e, fmt;

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@ @@
position p : script:python() { p[0].file != "src/journal/lookup3.c" }; position p : script:python() { p[0].file != "src/journal/lookup3.c" };
identifier id; identifier id;

View File

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8" ?>
<!-- SPDX-License-Identifier: LGPL-2.1-or-later -->
<!ENTITY MOUNT_PATH "{{MOUNT_PATH}}"> <!ENTITY MOUNT_PATH "{{MOUNT_PATH}}">
<!ENTITY UMOUNT_PATH "{{UMOUNT_PATH}}"> <!ENTITY UMOUNT_PATH "{{UMOUNT_PATH}}">
<!ENTITY SYSTEM_GENERATOR_DIR "{{SYSTEM_GENERATOR_DIR}}"> <!ENTITY SYSTEM_GENERATOR_DIR "{{SYSTEM_GENERATOR_DIR}}">

View File

@ -1,4 +1,5 @@
#!/bin/sh #!/bin/sh
# SPDX-License-Identifier: LGPL-2.1-or-later
set -e set -e
# This is a build script for OS image generation using mkosi (https://github.com/systemd/mkosi). # This is a build script for OS image generation using mkosi (https://github.com/systemd/mkosi).

View File

@ -1,3 +1,12 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
#
# This file is part of systemd.
#
# 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.
[Match] [Match]
Type=wlan Type=wlan
WLANInterfaceType=ad-hoc WLANInterfaceType=ad-hoc

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
src/core/org.freedesktop.systemd1.policy.in src/core/org.freedesktop.systemd1.policy.in
src/home/org.freedesktop.home1.policy src/home/org.freedesktop.home1.policy
src/hostname/org.freedesktop.hostname1.policy src/hostname/org.freedesktop.hostname1.policy

View File

@ -1,6 +1,6 @@
# 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. # Finnish translation of systemd.
# Jan Kuparinen <copper_fin@hotmail.com>, 2021. # Jan Kuparinen <copper_fin@hotmail.com>, 2021.
msgid "" msgid ""
msgstr "" msgstr ""

View File

@ -1,6 +1,6 @@
# 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. # Kabyle translation of systemd.
# Slimane Selyan Amiri <selyan.kab@gmail.com>, 2021. # Slimane Selyan Amiri <selyan.kab@gmail.com>, 2021.
msgid "" msgid ""
msgstr "" msgstr ""

View File

@ -1,6 +1,6 @@
# 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. # Dutch translation of systemd.
# Pjotr Vertaalt <pjotrvertaalt@gmail.com>, 2021. # Pjotr Vertaalt <pjotrvertaalt@gmail.com>, 2021.
msgid "" msgid ""
msgstr "" msgstr ""

View File

@ -1,6 +1,6 @@
# 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. # Portuguese translation of systemd.
# Hugo Carvalho <hugokarvalho@hotmail.com>, 2021. # Hugo Carvalho <hugokarvalho@hotmail.com>, 2021.
msgid "" msgid ""
msgstr "" msgstr ""

View File

@ -1,6 +1,6 @@
# 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. # Sinhala translation of systemd.
# Hela Basa <r45xveza@pm.me>, 2021. # Hela Basa <r45xveza@pm.me>, 2021.
msgid "" msgid ""
msgstr "" msgstr ""

View File

@ -1,7 +1,6 @@
# SPDX-License-Identifier: LGPL-2.1-or-later # SPDX-License-Identifier: LGPL-2.1-or-later
# #
# SOME DESCRIPTIVE TITLE. # Serbian translation of systemd.
# This file is distributed under the same license as the PACKAGE package.
# Frantisek Sumsal <frantisek@sumsal.cz>, 2021. # Frantisek Sumsal <frantisek@sumsal.cz>, 2021.
msgid "" msgid ""
msgstr "" msgstr ""

View File

@ -1,7 +1,4 @@
# 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.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
# #
#, fuzzy #, fuzzy
msgid "" msgid ""

View File

@ -1,4 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later # SPDX-License-Identifier: LGPL-2.1-or-later
#
# Ukrainian translation for systemd. # Ukrainian translation for systemd.
# Eugene Melnik <jeka7js@gmail.com>, 2014. # Eugene Melnik <jeka7js@gmail.com>, 2014.
# Daniel Korostil <ted.korostiled@gmail.com>, 2014, 2016, 2018. # Daniel Korostil <ted.korostiled@gmail.com>, 2014, 2016, 2018.

View File

@ -1,7 +1,6 @@
# SPDX-License-Identifier: LGPL-2.1-or-later # SPDX-License-Identifier: LGPL-2.1-or-later
# #
# Simplified Chinese translation for systemd. # Simplified Chinese translation for systemd.
#
# Frank Hill <hxf.prc@gmail.com>, 2014. # Frank Hill <hxf.prc@gmail.com>, 2014.
# Boyuan Yang <073plan@gmail.com>, 2015. # Boyuan Yang <073plan@gmail.com>, 2015.
# Jeff Bai <jeffbai@aosc.xyz>, 2016. # Jeff Bai <jeffbai@aosc.xyz>, 2016.

View File

@ -1,4 +1,5 @@
#compdef systemd-path #compdef systemd-path
# SPDX-License-Identifier: LGPL-2.1-or-later
typeset -A sdpath=( ${$(systemd-path)/:/} ) typeset -A sdpath=( ${$(systemd-path)/:/} )
_arguments -S \ _arguments -S \

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once #pragma once
#include <sys/mount.h> #include <sys/mount.h>

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once #pragma once
#include <linux/securebits.h> #include <linux/securebits.h>

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# This file is part of systemd. # This file is part of systemd.
# #
# Used by systemd --user instances. # Used by systemd --user instances.

View File

@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
# SPDX-License-Identifier: LGPL-2.1-or-later
set -eu set -eu
set -o pipefail set -o pipefail

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# SPDX-License-Identifier: LGPL-2.1-or-later
set -e set -e
set -u set -u

View File

@ -1,4 +1,5 @@
#!/bin/sh #!/bin/sh
# SPDX-License-Identifier: LGPL-2.1-or-later
set -ex set -ex
# First, source in the main build script # First, source in the main build script

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
#
# Puts together an nspawn container and runs networkd-test.py in it, inside a # Puts together an nspawn container and runs networkd-test.py in it, inside a
# network namespace and everything. Run this with # network namespace and everything. Run this with
# #

View File

@ -1,2 +1,4 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
[Network] [Network]
Private=yes Private=yes

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# SPDX-License-Identifier: LGPL-2.1-or-later
set -e set -e
if [ "$NO_BUILD" ]; then if [ "$NO_BUILD" ]; then

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# SPDX-License-Identifier: LGPL-2.1-or-later
import argparse import argparse
import glob import glob

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# SPDX-License-Identifier: LGPL-2.1-or-later
set -eo pipefail set -eo pipefail
out="${1:?}" out="${1:?}"

View File

@ -1,6 +1,8 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# shellcheck disable=SC2030,SC2031
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*- # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# SPDX-License-Identifier: LGPL-2.1-or-later
#
# shellcheck disable=SC2030,SC2031
# ex: ts=8 sw=4 sts=4 et filetype=sh tw=180 # ex: ts=8 sw=4 sts=4 et filetype=sh tw=180
# Note: the shellcheck line above disables warning for variables which were # Note: the shellcheck line above disables warning for variables which were
# modified in a subshell. In our case this behavior is expected, but # modified in a subshell. In our case this behavior is expected, but

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# SPDX-License-Identifier: LGPL-2.1-or-later
set -ex set -ex
if [[ -n "$1" ]]; then if [[ -n "$1" ]]; then

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# SPDX-License-Identifier: LGPL-2.1-or-later
set -e set -e
SYSUSERS="${1:-systemd-sysusers}" SYSUSERS="${1:-systemd-sysusers}"

View File

@ -1,4 +1,5 @@
#!/usr/bin/env perl #!/usr/bin/env perl
# SPDX-License-Identifier: LGPL-2.1-or-later
# udev test # udev test
# #

View File

@ -1,9 +1,10 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# SPDX-License-Identifier: BSD-3-Clause
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright 2017 The Chromium OS Authors. All rights reserved. # Copyright 2017 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSES/BSD-3-Clause.txt file.
"""Autosuspend udev rule generator """Autosuspend udev rule generator

View File

@ -1,4 +1,12 @@
#!/bin/sh #!/bin/sh
# SPDX-License-Identifier: LGPL-2.1-or-later
#
# This file is part of systemd.
#
# 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.
systemctl --user import-environment DISPLAY XAUTHORITY systemctl --user import-environment DISPLAY XAUTHORITY