summaryrefslogtreecommitdiffstats
path: root/src/nspawn/nspawn-patch-uid.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-11-18 17:09:20 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-11-19 19:08:15 +0100
commit53e1b683907c2f12330f00feb9630150196f064d (patch)
treefb2ae4b112f1ff0988e198c3815bf89059d68614 /src/nspawn/nspawn-patch-uid.h
parentMerge pull request #7388 from keszybz/doc-tweak (diff)
downloadsystemd-53e1b683907c2f12330f00feb9630150196f064d.tar.xz
systemd-53e1b683907c2f12330f00feb9630150196f064d.zip
Add SPDX license identifiers to source files under the LGPL
This follows what the kernel is doing, c.f. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5fd54ace4721fc5ce2bb5aef6318fcf17f421460.
Diffstat (limited to 'src/nspawn/nspawn-patch-uid.h')
-rw-r--r--src/nspawn/nspawn-patch-uid.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nspawn/nspawn-patch-uid.h b/src/nspawn/nspawn-patch-uid.h
index ff6a7b7647..fc1d22beb3 100644
--- a/src/nspawn/nspawn-patch-uid.h
+++ b/src/nspawn/nspawn-patch-uid.h
@@ -1,5 +1,4 @@
-#pragma once
-
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
@@ -19,6 +18,8 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#pragma once
+
#include <sys/types.h>
int fd_patch_uid(int fd, uid_t shift, uid_t range);