include: cleanup copyright headers
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>
This commit is contained in:
parent
1a1eb4e188
commit
0f23ee0c85
16 changed files with 88 additions and 8 deletions
|
@ -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
|
#ifndef UTIL_LINUX_ALL_IO_H
|
||||||
#define UTIL_LINUX_ALL_IO_H
|
#define UTIL_LINUX_ALL_IO_H
|
||||||
|
|
||||||
|
|
|
@ -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
|
#ifndef BITOPS_H
|
||||||
#define BITOPS_H
|
#define BITOPS_H
|
||||||
|
|
||||||
|
|
|
@ -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
|
#ifndef BLKDEV_H
|
||||||
#define BLKDEV_H
|
#define BLKDEV_H
|
||||||
|
|
||||||
|
|
|
@ -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
|
#ifndef CANONICALIZE_H
|
||||||
#define CANONICALIZE_H
|
#define CANONICALIZE_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/*
|
||||||
|
* This file may be redistributed under the terms of the
|
||||||
|
* GNU Lesser General Public License.
|
||||||
|
*/
|
||||||
#ifndef UTIL_LINUX_CPUSET_H
|
#ifndef UTIL_LINUX_CPUSET_H
|
||||||
#define UTIL_LINUX_CPUSET_H
|
#define UTIL_LINUX_CPUSET_H
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,9 @@
|
||||||
* Copyright (C) 2008 Karel Zak <kzak@redhat.com>
|
* Copyright (C) 2008 Karel Zak <kzak@redhat.com>
|
||||||
* Copyright (C) 1999-2008 by Theodore Ts'o
|
* 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)
|
* (based on list.h from e2fsprogs)
|
||||||
* Merge sort based on kernel's implementation.
|
* Merge sort based on kernel's implementation.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -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
|
#ifndef UTIL_LINUX_PAMFAIL_H
|
||||||
#include <security/pam_appl.h>
|
#include <security/pam_appl.h>
|
||||||
#include <security/pam_misc.h>
|
#include <security/pam_misc.h>
|
||||||
|
|
|
@ -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
|
#ifndef UTIL_LINUX_TTYUTILS_H
|
||||||
#define UTIL_LINUX_TTYUTILS_H
|
#define UTIL_LINUX_TTYUTILS_H
|
||||||
|
|
||||||
|
|
5
lib/at.c
5
lib/at.c
|
@ -1,7 +1,10 @@
|
||||||
/*
|
/*
|
||||||
* Portable xxxat() functions.
|
* 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 <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
|
@ -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/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
|
|
|
@ -7,6 +7,9 @@
|
||||||
*
|
*
|
||||||
* Based on code from taskset.c and Linux kernel.
|
* 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>
|
* Copyright (C) 2010 Karel Zak <kzak@redhat.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -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
|
* -- based on mount/losetup.c
|
||||||
*
|
*
|
||||||
|
|
|
@ -1,7 +1,11 @@
|
||||||
/*
|
/*
|
||||||
* General purpose random utilities
|
* 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 <stdio.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
|
|
@ -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 <ctype.h>
|
||||||
|
|
||||||
#include "c.h"
|
#include "c.h"
|
||||||
|
|
|
@ -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 <ctype.h>
|
||||||
|
|
||||||
#include "c.h"
|
#include "c.h"
|
||||||
|
|
|
@ -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 <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue