]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
include: add missing license lines
authorKarel Zak <kzak@redhat.com>
Thu, 12 Jan 2023 14:33:09 +0000 (15:33 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 12 Jan 2023 14:33:09 +0000 (15:33 +0100)
The header files are usually based on code from lib/. This commit
copies relevant license headers from lib/ to include/ to keep
things consistent. The very generic things (e.g. MBR definitions)
are always public domain.

Fixes: https://github.com/util-linux/util-linux/issues/2010
Signed-off-by: Karel Zak <kzak@redhat.com>
58 files changed:
README.licensing
include/buffer.h
include/c_strtod.h
include/closestream.h
include/crc32.h
include/crc32c.h
include/debug.h
include/debugobj.h
include/encode.h
include/fileeq.h
include/fileutils.h
include/fuzz.h
include/idcache.h
include/ismounted.h
include/iso9660.h
include/jsonwrt.h
include/linux_version.h
include/logindefs.h
include/loopdev.h
include/mangle.h
include/mbsedit.h
include/md5.h
include/minix.h
include/mount-api-utils.h
include/nls.h
include/optutils.h
include/pager.h
include/partx.h
include/path.h
include/pidfd-utils.h
include/procfs.h
include/pt-bsd.h
include/pt-gpt-partnames.h
include/pt-mbr-partnames.h
include/pt-mbr.h
include/pt-sgi.h
include/pt-sun.h
include/pwdutils.h
include/randutils.h
include/rpmatch.h
include/selinux-utils.h
include/sha1.h
include/sha256.h
include/shells.h
include/signames.h
include/statfs_magic.h
include/strutils.h
include/strv.h
include/swapheader.h
include/sysfs.h
include/timer.h
include/timeutils.h
include/widechar.h
include/xalloc.h
include/xxhash.h
lib/pager.c
lib/shells.c
lib/strv.c

index 0aeef2f9714840463f8a67883a3d1a7cd8253ac6..3258f55b58cb91897102f7a787677ae4c21ee22d 100644 (file)
@@ -10,6 +10,8 @@ There is code under:
 
    * LGPL-2.1-or-later  - GNU Lesser General Public License 2.1 or any later version
 
+   * BSD-2-Clause       - Simplified BSD License
+
    * BSD-3-Clause       - BSD 3-Clause "New" or "Revised" License
 
    * BSD-4-Clause-UC    - BSD 4-Clause University of California-Specific
index ca9453136ea3109d136837bf61cffa3e739c639d..b122da4eb4102ce5386d007c1689b3c63f7af8f9 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ */
 #ifndef UTIL_LINUX_BUFFER
 #define UTIL_LINUX_BUFFER
 
index eaa801c4083a8febff1813f8605cf722e0b1e2f5..14070cbc1b769fb6168e4199db3a314a6f0a470d 100644 (file)
@@ -1,3 +1,9 @@
+/*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
+ * This file may be redistributed under the terms of the
+ * GNU Lesser General Public License.
+ **/
 #ifndef UTIL_LINUX_C_STRTOD_H
 #define UTIL_LINUX_C_STRTOD_H
 
index 8e5d18d977202b96c655263aa21bbe65f67c5fc2..711ca5b815ddd2a0df68dda7eeebba5e183a0880 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ */
 #ifndef UTIL_LINUX_CLOSESTREAM_H
 #define UTIL_LINUX_CLOSESTREAM_H
 
index 8457206e4fdcd915afad2356edbf536ead6a149f..81c7703b17e0f7af749415bd6086d7ea62bb82dc 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * No copyright is claimed. This code is in the public domain; do with it what
+ * you wish.
+ */
 #ifndef UL_CRC32_H
 #define UL_CRC32_H
 
index 21329f15fa9e5fd2ce4b258a3d1de9414c1bfe61..494857f3e2b7969d80fbc3029971690313cd1590 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * No copyright is claimed. This code is in the public domain; do with it what
+ * you wish.
+ */
 #ifndef UL_CRC32C_H
 #define UL_CRC32C_H
 
index c223bbc74eaabd9d2e7f37cc491b620d119ae6db..4497d874af5c56e7f1b4ec6f6b77a1b03bc87c39 100644 (file)
@@ -1,4 +1,6 @@
 /*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * Copyright (C) 2014 Ondrej Oprala <ooprala@redhat.com>
  * Copyright (C) 2014 Karel Zak <kzak@redhat.com>
  *
index 73b70b8dfea0f7c059c66ea87ca1501d23e69581..eac3ff90844fb4151b2dc00bd6603ada07d36f9b 100644 (file)
@@ -1,3 +1,12 @@
+/*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
+ * Copyright (C) 2014 Ondrej Oprala <ooprala@redhat.com>
+ * Copyright (C) 2014 Karel Zak <kzak@redhat.com>
+ *
+ * This file may be distributed under the terms of the
+ * GNU Lesser General Public License.
+ */
 #ifndef UTIL_LINUX_DEBUGOBJ_H
 #define UTIL_LINUX_DEBUGOBJ_H
 
index b259ab533cd7542ef91a4d3c3bb849e74ac491bc..d7e5a1eee4031c8456e19a4733e73d781d192244 100644 (file)
@@ -1,3 +1,9 @@
+/*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
+ * This file may be distributed under the terms of the
+ * GNU Lesser General Public License.
+ */
 #ifndef UTIL_LINUX_ENCODE_H
 #define UTIL_LINUX_ENCODE_H
 
index fd290545daf7cdea1e8192bc4592b2b9750198c3..df5e6d8222f0a06ca269a5ae7a30f281665afddd 100644 (file)
@@ -1,3 +1,8 @@
+
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ */
 #ifndef UTIL_LINUX_FILEEQ
 #define UTIL_LINUX_FILEEQ
 
index 8722ed59bb659771d1fd2561b24621b27b0c4584..16a7263d473657fa3a0852d8bc69bd69332d588e 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ **/
 #ifndef UTIL_LINUX_FILEUTILS
 #define UTIL_LINUX_FILEUTILS
 
index 1b0dbd2689912c1ba201b3eba93396e5a9f14e2e..0bc728df65c13ea975e5ea796c703690c6121655 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ */
 #ifndef UTIL_LINUX_FUZZ_H
 #define UTIL_LINUX_FUZZ_H
 
index 912edd58fa59bea3e68f83156514722e6339299f..518a3b1151bb4173eaa3286dd760a9894f4f8960 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ */
 #ifndef UTIL_LINUX_IDCACHE_H
 #define UTIL_LINUX_IDCACHE_H
 
index 57918cb3a00fe9eb19828aaab2a2b1f46d08fc83..62b1d26b58f33a1a45fb6c2c272806e5af91f914 100644 (file)
@@ -1,3 +1,9 @@
+/*
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ *
+ * This file may be redistributed under the terms of the GNU Public
+ * License.
+ */
 #ifndef IS_MOUNTED_H
 #define IS_MOUNTED_H
 
index ed402d8c80652c539df8de3e6b6262afd8454117..437d6a877cfa31423f4c7bad370711693b7eb2e1 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ */
 #ifndef UTIL_LINUX_ISO_H
 #define UTIL_LINUX_ISO_H
 
index 396765c245c63f7e9642031f451b2faabe416c9d..421903aab375a55010a3df62d4646ba2e97063ad 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ */
 #ifndef UTIL_LINUX_JSONWRT_H
 #define UTIL_LINUX_JSONWRT_H
 
index a6a1e99c7445f6de89f4892f1f9cf385c35f8acc..2fa0d65ef538d02d978fe8e35872f54bfc4c88fe 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ */
 #ifndef LINUX_VERSION_H
 #define LINUX_VERSION_H
 
index b83ac4824310291d8105be98d867076fd8dbed67..fa6aa2f07b4c72d6d94e191d1813ad533775ea2d 100644 (file)
@@ -1,3 +1,24 @@
+/*
+ * Copyright (C) 2003, 2004, 2005 Thorsten Kukuk
+ * Author: Thorsten Kukuk <kukuk@suse.de>
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain any existing copyright
+ *    notice, and this entire permission notice in its entirety,
+ *    including the disclaimer of warranties.
+ *
+ * 2. Redistributions in binary form must reproduce all prior and current
+ *    copyright notices, this list of conditions, and the following
+ *    disclaimer in the documentation and/or other materials provided
+ *    with the distribution.
+ *
+ * 3. The name of any author may not be used to endorse or promote
+ *    products derived from this software without their specific prior
+ *   written permission.
+ */
 #ifndef UTIL_LINUX_LOGINDEFS_H
 #define UTIL_LINUX_LOGINDEFS_H
 
index 6d400d1f3ff7ebb8c1dfb3f90a44435939b8dbc0..903adc4912ac2c28dcf200dfc8b4c538d56d14bd 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ */
 #ifndef UTIL_LINUX_LOOPDEV_H
 #define UTIL_LINUX_LOOPDEV_H
 
index 08c66cb47f5a80c484c3ffc0efc3da6420eb46a2..59396916ffb80e54f162ed350633c3505f9e67dc 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ */
 #ifndef UTIL_LINUX_MANGLE_H
 #define UTIL_LINUX_MANGLE_H
 
index 8d1c6c255cb2868505d056ac18d4a84fa3cad7c9..ed7960f9e5cc37bf77b8e9beeecfb5b72216db80 100644 (file)
@@ -1,3 +1,9 @@
+/*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
+ * This file may be distributed under the terms of the
+ * GNU Lesser General Public License.
+ */
 #ifndef UTIL_LINUX_MBSEDIT_H
 # define UTIL_LINUX_MBSEDIT_H
 
index 02e627bff08eb4f4521a56640ea4d4dccda42c34..791b5326b338eaf74c9494228f159520f01a7106 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * No copyright is claimed. This code is in the public domain; do with it what
+ * you wish.
+ */
 #ifndef UTIL_LINUX_MD5_H
 #define UTIL_LINUX_MD5_H
 
index f28991ce9a18149844dcb4f936cbbb4057e4a4bd..571d06e8d0e8b63ae7142a20681fbf64daf42f34 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ */
 #ifndef UTIL_LINUX_MINIX_H
 #define UTIL_LINUX_MINIX_H
 
index ad29ff88ad64f694c4a88165073799857dc35f5e..69f7eb088c622a5b96ed9a5bf7df2b391d937a2a 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ */
 #ifndef UTIL_LINUX_MOUNT_API_UTILS
 #define UTIL_LINUX_MOUNT_API_UTILS
 
index 5566908878edc61ac0badbf1d252011f2707478d..377c5a1ff311e3dd3f1c900566ad219691f0c4fc 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ */
 #ifndef UTIL_LINUX_NLS_H
 #define UTIL_LINUX_NLS_H
 
index 0dc127bbc1346ebb005dd171308a0c8c1e779086..6fe4aeb7a51dad96d415d04cc73b7fa24cef5e16 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ */
 #ifndef UTIL_LINUX_OPTUTILS_H
 #define UTIL_LINUX_OPTUTILS_H
 
index 0a7140d70e9288c7747d4fe90e693fe72e41c8c3..6d8fdd771e6642c82759ae12353df8c6a1041420 100644 (file)
@@ -1,3 +1,8 @@
+/*
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ *
+ * This file may be redistributed under the terms of the GNU Public License.
+ */
 #ifndef UTIL_LINUX_PAGER
 #define UTIL_LINUX_PAGER
 
index 618a0a4983ba4a1b5051ae0cf34cbd3e20835f38..7924aae6acb9cc773f1915abc5eac0cb0d6abbd2 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ */
 #ifndef UTIL_LINUX_PARTX_H
 #define UTIL_LINUX_PARTX_H
 
index 22cd54481503e26e87e69f5d4cefa159f85cfdef..19c1be6e7e36dc2c571c44f2a28911bd6142f981 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ */
 #ifndef UTIL_LINUX_PATH_H
 #define UTIL_LINUX_PATH_H
 
index f1715681faff5bf8ed7fad1fd7f7e0a22ee811b2..18f3c626ade9d73c7748b3bd614a761faf392887 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ */
 #ifndef UTIL_LINUX_PIDFD_UTILS
 #define UTIL_LINUX_PIDFD_UTILS
 
index 825689bc2dc39335987173fd465c10b019e6d05c..25be51357d7d65aa09fc279ca6fd9626f6dd2748 100644 (file)
@@ -1,4 +1,7 @@
 /*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ *
  * Copyright (C) 2021 Karel Zak <kzak@redhat.com>
  */
 #ifndef UTIL_LINUX_PROCFS_H
index 9bf47a57688de92819a73c4b3713369b4e4eeef7..20c24b704067684b7a68881c6aaaf2203c09535d 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ */
 #ifndef UTIL_LINUX_PT_BSD_H
 #define UTIL_LINUX_PT_BSD_H
 
index 758bf310095da22f7025308f9aa48da537c7170c..5d86974d6bbb8782047dd0a57c78b4f0504891a0 100644 (file)
@@ -1,4 +1,3 @@
-
 /*
  * No copyright is claimed.  This code is in the public domain; do with
  * it what you wish.
index 9304793dbe8dd5ce89b043bca9b98d45ccef35d3..0a65daabb4750021a2f52cf71ee15125404472fd 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ */
        {0x00, N_("Empty")},
        {0x01, N_("FAT12")},
        {0x02, N_("XENIX root")},
index ff658f346a9f6988a3dc68e9cc47c1179536ed36..93a6def6a6cb57bac1f60633c8f81458d9beed5b 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ */
 #ifndef UTIL_LINUX_PT_MBR_H
 #define UTIL_LINUX_PT_MBR_H
 
index 6d512ee0093921e870ffe6e5b3682a48858106a5..3bfba846186c268c933804683ebe0b47dbae78d9 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ */
 #ifndef UTIL_LINUX_PT_SGI_H
 #define UTIL_LINUX_PT_SGI_H
 
index 8bb5d950ec0fffa7a4ce5fd006f9f34a997bbac0..acb4b56e29acaade0ef3ce432be95db364c3f55f 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ */
 #ifndef UTIL_LINUX_PT_SUN_H
 #define UTIL_LINUX_PT_SUN_H
 
index b58268d775499a7d776d048ddc42e9e11523eb60..1d44242746eeac472426528e5acc80044c1d242b 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ */
 #ifndef UTIL_LINUX_PWDUTILS_H
 #define UTIL_LINUX_PWDUTILS_H
 
index 690bf5e545b65c66e8b8e330f91aed4dfad76b5d..a42af9813d4b473fd36bb26e21518b25c38f9d13 100644 (file)
@@ -1,3 +1,6 @@
+/*
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
 #ifndef UTIL_LINUX_RANDUTILS
 #define UTIL_LINUX_RANDUTILS
 
index f64d52e16355ab5bd6643d8631802b52d6180304..ee249041d9e6a4f7042387f341166a0c86d49438 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ */
 #ifndef UTIL_LINUX_RPMATCH_H
 #define UTIL_LINUX_RPMATCH_H
 
index 82c27c8f5309d5318b89364e8cb193d8721efafc..03795616efaddb1b46d831df3ceb5acf79881d48 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ */
 #ifndef UTIL_LINUX_SELINUX_UTILS_H
 #define UTIL_LINUX_SELINUX_UTILS_H
 
index 62af1da6f6b9f05446c6499ed0815dec871cfdb6..8ec74c9be14c4b8898a314d0238e5824d2ab7f09 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ */
 #ifndef UTIL_LINUX_SHA1_H
 #define UTIL_LINUX_SHA1_H
 
index dcde8fb1d6902b7d5818fa2ddb4aebace92f1ced..bf878e5d23552c473f9d342d9f6ff24c984b3d9a 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ */
 #ifndef UTIL_LINUX_SHA256_H
 #define UTIL_LINUX_SHA256_H
 
index f165693dc52152a7308be8cdde88c2020dc1ece0..ba59ba4fd3246b3b218c2b12efbf3ec04b3d6e30 100644 (file)
@@ -1,3 +1,6 @@
+/*
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
 #ifndef UTIL_LINUX_SHELLS_H
 #define UTIL_LINUX_SHELLS_H
 
index a4fd1bc594035ef2f73bf33e29f6d4ea9da087b1..3f1043a1e81a7c5432f3f42be8dc447fed6ffb6d 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ */
 #ifndef SIGNAMES_H
 #define SIGNAMES_H
 
index 67ad0af2595862795299f0bcdb7baa5778742185..e87b7847430f5a46b79f086b0a049cb48bfb9929 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ */
 #ifndef UTIL_LINUX_STATFS_MAGIC_H
 #define UTIL_LINUX_STATFS_MAGIC_H
 
index a51459f86f83f8d60412e2d4d9fe132bc9dcee74..07aa65681140629463bb6656a884b19b0a32d028 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ */
 #ifndef UTIL_LINUX_STRUTILS
 #define UTIL_LINUX_STRUTILS
 
index 638253203290e760a07fd724f4d4af3d3166fd91..6091fce5014993cb0aefd64ed13ba57ac21e7635 100644 (file)
@@ -1,3 +1,6 @@
+/*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ */
 #ifndef UTIL_LINUX_STRV
 #define UTIL_LINUX_STRV
 
index 3fce0d0fbe07ba663e693a5725f6c37ea89f8440..223bb5687f1fecd971d2d4688cde5d8fb560e5e0 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ */
 #ifndef _SWAPHEADER_H
 #define _SWAPHEADER_H
 
index c538f33a7250352347f228792f6448d9c6a663bf..ad6b609f2a4c57192dcceb058a94c64c3a4cea74 100644 (file)
@@ -1,4 +1,7 @@
 /*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ *
  * Copyright (C) 2011 Karel Zak <kzak@redhat.com>
  */
 #ifndef UTIL_LINUX_SYSFS_H
index 70da1ba9e3b97e5b3c3362d7230c045a1a00ec6c..dd044a37624c16ec912745e4f18b89a2b2a643a7 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ */
 #ifndef UTIL_LINUX_TIMER_H
 #define UTIL_LINUX_TIMER_H
 
index e452e556a064087f83f488c937a63ef805601bc6..1b7f4263a34e7372d8a6eb33098761a2be36fe70 100644 (file)
@@ -1,4 +1,7 @@
 /***
+  SPDX-License-Identifier: LGPL-2.1-or-later
+
+
   First set of functions in this file are part of systemd, and were
   copied to util-linux at August 2013.
 
index c1f2cf2e309345b766d26bb6f1dabb44ed9e9c0a..bbccc88b35d849ca490f2484778f6227efa5524f 100644 (file)
@@ -1,3 +1,8 @@
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ */
+
 /* Declarations for wide characters */
 /* This file must be included last because the redefinition of wchar_t may
    cause conflicts when system include files were included after it. */
index c4124cb46959056c155fad4c37134c5b51b65f7b..4f6a9e233ecce50fbc36fa4b2ae703929c8c33f1 100644 (file)
@@ -1,5 +1,8 @@
 /*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * Copyright (C) 2010 Davidlohr Bueso <dave@gnu.org>
+ * Copyright (C) 2010-2022 Karel Zak <kzak@redhat.com>
  *
  * This file may be redistributed under the terms of the
  * GNU Lesser General Public License.
index 8b745a36a4df485e578e0cb7c6a68077ce20dfa7..9451967d457dabd58e33d3598b0ab081db9ab216 100644 (file)
@@ -1,4 +1,6 @@
 /*
+ * SPDX-License-Identifier: BSD-2-Clause
+ *
  * xxHash - Extremely Fast Hash algorithm
  * Header File
  * Copyright (C) 2012-2020 Yann Collet
index 747521e137dbfde24b042c8398b387b5fe5de198..e5bd07a4714fd013e8e6aadc8d2e6c74a25f9aae 100644 (file)
@@ -1,4 +1,9 @@
 /*
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ *
+ * This file may be redistributed under the terms of the GNU Public
+ * License.
+ *
  * Based on linux-perf/git scm
  *
  * Some modifications and simplifications for util-linux
index 0707a18c8f6e9a853a2d1ff941a820ef54509386..6693ab0054160ef2c0d6b6e69ed61ce4583d1b38 100644 (file)
@@ -1,4 +1,6 @@
-
+/*
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
 #include <sys/syslog.h>
 #if defined (HAVE_LIBECONF) && defined (USE_VENDORDIR)
 #include <libeconf.h>
index 58a4c97dec5a2f77310ddca31593b0c731ed1137..c306e3816a988833aaffbc27c61189ec088b9d25 100644 (file)
@@ -1,6 +1,8 @@
 /*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
  *
- * Copyright 2010 Lennart Poettering
+ * Copyright (C) 2010 Lennart Poettering
+ * Copyright (C) 2015-2022 Karel Zak <kzak@redhat.com>
  *
  * This is free software; you can redistribute it and/or modify it
  * under the terms of the GNU Lesser General Public License as published by