]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
include: cleanup copyright headers
authorKarel Zak <kzak@redhat.com>
Tue, 8 Jan 2013 14:00:23 +0000 (15:00 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 8 Jan 2013 14:10:17 +0000 (15:10 +0100)
We use the code from include/ and lib/ on many places, so use public
domain if possible or LGPL for code copied from libs.

Signed-off-by: Karel Zak <kzak@redhat.com>
16 files changed:
include/all-io.h
include/bitops.h
include/blkdev.h
include/canonicalize.h
include/cpuset.h
include/list.h
include/pamfail.h
include/ttyutils.h
lib/at.c
lib/blkdev.c
lib/cpuset.c
lib/loopdev.c
lib/randutils.c
lib/sysfs.c
lib/ttyutils.c
lib/wholedisk.c

index 248759908b457da3f9a1c243279caa0211cfed7b..424ab7d3fc7c2f8a70d3233d6f3e5e4343975d34 100644 (file)
@@ -1,3 +1,11 @@
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ *
+ * Written by Karel Zak <kzak@redhat.com>
+ *            Petr Uzel <petr.uzel@suse.cz>
+ */
+
 #ifndef UTIL_LINUX_ALL_IO_H
 #define UTIL_LINUX_ALL_IO_H
 
index 9738dd7264108714df63fdf34e2224af00a21e21..498ec63e7ecd5a1940459e249ad04c6f280910fd 100644 (file)
@@ -1,3 +1,9 @@
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ *
+ * Written by Karel Zak <kzak@redhat.com>
+ */
 #ifndef BITOPS_H
 #define BITOPS_H
 
index 93586a0fb295658f110c234a684b882b7b7da7b6..ade08878d02ea20bfad3ee9ed5c33bfbc578b37d 100644 (file)
@@ -1,3 +1,9 @@
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ *
+ * Written by Karel Zak <kzak@redhat.com>
+ */
 #ifndef BLKDEV_H
 #define BLKDEV_H
 
index c1497380299e56cf91d4cbbc1f97e77431d86a66..7a18aca090f7c2764d38d3ef9103bc33e3de2dce 100644 (file)
@@ -1,3 +1,14 @@
+/*
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Library Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Library Public License for more details.
+ */
 #ifndef CANONICALIZE_H
 #define CANONICALIZE_H
 
index 47ddfe2efb5aa7bbb0def0b9ecd758b34ccb52fe..f8948a984c11410811d8510d3038e92c692867dd 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * This file may be redistributed under the terms of the
+ * GNU Lesser General Public License.
+ */
 #ifndef UTIL_LINUX_CPUSET_H
 #define UTIL_LINUX_CPUSET_H
 
index e9ed0c4cd37120fd6b6d83a891874a2b2a7dc406..7b6067239049272109668bbbf6133f6263eb3dca 100644 (file)
@@ -2,6 +2,9 @@
  * Copyright (C) 2008 Karel Zak <kzak@redhat.com>
  * Copyright (C) 1999-2008 by Theodore Ts'o
  *
+ * This file may be redistributed under the terms of the
+ * GNU Lesser General Public License.
+ *
  * (based on list.h from e2fsprogs)
  * Merge sort based on kernel's implementation.
  */
index 8008ce395bc7cd299ce42858a88aa8b094bddf12..e102df227d6793ca6b5d43b7eb48397504e40cd2 100644 (file)
@@ -1,3 +1,9 @@
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ *
+ * Written by Karel Zak <kzak@redhat.com>
+ */
 #ifndef UTIL_LINUX_PAMFAIL_H
 #include <security/pam_appl.h>
 #include <security/pam_misc.h>
index 767346172155630bdd6128ee3e26aa323c9ee642..3ed7883597c077d08f6ce0a9fab403839e6d09e0 100644 (file)
@@ -1,3 +1,9 @@
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ *
+ * Written by Karel Zak <kzak@redhat.com>
+ */
 #ifndef UTIL_LINUX_TTYUTILS_H
 #define UTIL_LINUX_TTYUTILS_H
 
index bbce5163023723f683042f1e5788f85d55b0062d..f8bfe1399992a9b09270b4b9e631b122d99e0dff 100644 (file)
--- a/lib/at.c
+++ b/lib/at.c
@@ -1,7 +1,10 @@
 /*
  * Portable xxxat() functions.
  *
- * Copyright (C) 2010 Karel Zak <kzak@redhat.com>
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ *
+ * Written by Karel Zak <kzak@redhat.com>
  */
 #include <stdio.h>
 #include <stdlib.h>
index 9193b64e49079444ad993e567b7926dea68f416d..514082e34f907498fe6fb1be4c301311af2d775a 100644 (file)
@@ -1,4 +1,9 @@
-
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ *
+ * Written by Karel Zak <kzak@redhat.com>
+ */
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/ioctl.h>
index 26b0a90b7572476cbddbbd367022d77c7c8706e2..e5b6b9dfe17150f1013bbdd5f62549241a4ca0e8 100644 (file)
@@ -7,6 +7,9 @@
  *
  * Based on code from taskset.c and Linux kernel.
  *
+ * This file may be redistributed under the terms of the
+ * GNU Lesser General Public License.
+ *
  * Copyright (C) 2010 Karel Zak <kzak@redhat.com>
  */
 
index c29cb85c5108f4ea00c083d581cf5c31cc3f9ef9..a25a2fae41dd8a4bfa273333750316610054fd04 100644 (file)
@@ -1,5 +1,8 @@
 /*
- * Copyright (C) 2011 Karel Zak <kzak@redhat.com>
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ *
+ * Written by Karel Zak <kzak@redhat.com>
  *
  * -- based on mount/losetup.c
  *
index 85cb1a99e10c90fff7a000154910a74749461455..80893d3db941b4038e770f7b70bd368e8be4efba 100644 (file)
@@ -1,7 +1,11 @@
 /*
  * General purpose random utilities
+ *
+ * Based on libuuid code.
+ *
+ * This file may be redistributed under the terms of the
+ * GNU Lesser General Public License.
  */
-
 #include <stdio.h>
 #include <unistd.h>
 #include <fcntl.h>
index 3ac1fe0ca4743902592088374df98092303999ca..d14459b7305191cfc0d476f3ae8b2f06da0b6a95 100644 (file)
@@ -1,7 +1,9 @@
 /*
- * Copyright (C) 2011 Karel Zak <kzak@redhat.com>
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ *
+ * Written by Karel Zak <kzak@redhat.com>
  */
-
 #include <ctype.h>
 
 #include "c.h"
index 15d538946cd0dec36e628a55e573390fa4e43af3..3b5a68cd859b35e84e92488ecdaa20dd1921854f 100644 (file)
@@ -1,4 +1,9 @@
-
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ *
+ * Written by Karel Zak <kzak@redhat.com>
+ */
 #include <ctype.h>
 
 #include "c.h"
index 4a5305229af9f9d116d41720bda89cbd434a143d..1dbb90c5c019e978ebbba55d251d6cd1f180fa91 100644 (file)
@@ -1,4 +1,9 @@
-
+/*
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
+ *
+ * Written by Karel Zak <kzak@redhat.com>
+ */
 #include <stdio.h>
 #include <stdlib.h>
 #include <ctype.h>