Gitweb:
http://git.fedorahosted.org/git/dlm.git?p=dlm.git;a=commitdiff;h=91ba7d83...
Commit: 91ba7d83c9468ca3d9c1ca5e65e45347c1d9160b
Parent: 7ca6817d7a4dad7c4d96c41ad548ceccbd167e48
Author: David Teigland <teigland(a)redhat.com>
AuthorDate: Thu Oct 6 12:07:45 2011 -0500
Committer: David Teigland <teigland(a)redhat.com>
CommitterDate: Thu Oct 6 12:07:45 2011 -0500
add license/copyright headers
Signed-off-by: David Teigland <teigland(a)redhat.com>
---
dlm_controld/action.c | 8 ++++++++
dlm_controld/config.c | 8 ++++++++
dlm_controld/cpg.c | 8 ++++++++
dlm_controld/crc.c | 8 ++++++++
dlm_controld/deadlock.c | 8 ++++++++
dlm_controld/dlm_controld.h | 8 ++++++++
dlm_controld/dlm_daemon.h | 8 ++++++++
dlm_controld/lib.c | 8 ++++++++
dlm_controld/libdlmcontrol.h | 8 ++++++++
dlm_controld/linux_endian.h | 8 ++++++++
dlm_controld/logging.c | 8 ++++++++
dlm_controld/main.c | 8 ++++++++
dlm_controld/member_cman.c | 8 ++++++++
dlm_controld/netlink.c | 8 ++++++++
dlm_controld/plock.c | 8 ++++++++
dlm_tool/main.c | 8 ++++++++
libdlm/libdlm.c | 9 +++++++++
libdlm/libdlm.h | 9 +++++++++
libdlm/libdlm_internal.h | 8 ++++++++
19 files changed, 154 insertions(+), 0 deletions(-)
diff --git a/dlm_controld/action.c b/dlm_controld/action.c
index e9148a1..237221a 100644
--- a/dlm_controld/action.c
+++ b/dlm_controld/action.c
@@ -1,3 +1,11 @@
+/*
+ * Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU General Public License v.2.
+ */
+
#include "dlm_daemon.h"
#include <corosync/corotypes.h>
diff --git a/dlm_controld/config.c b/dlm_controld/config.c
index 6c94fca..7ceea6a 100644
--- a/dlm_controld/config.c
+++ b/dlm_controld/config.c
@@ -1,3 +1,11 @@
+/*
+ * Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU General Public License v.2.
+ */
+
#include "dlm_daemon.h"
#include <libxml/tree.h>
diff --git a/dlm_controld/cpg.c b/dlm_controld/cpg.c
index b3c1454..49f7d02 100644
--- a/dlm_controld/cpg.c
+++ b/dlm_controld/cpg.c
@@ -1,3 +1,11 @@
+/*
+ * Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU General Public License v.2.
+ */
+
#include "dlm_daemon.h"
struct protocol_version {
diff --git a/dlm_controld/crc.c b/dlm_controld/crc.c
index ff8c1d3..1764850 100644
--- a/dlm_controld/crc.c
+++ b/dlm_controld/crc.c
@@ -1,3 +1,11 @@
+/*
+ * Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU General Public License v.2.
+ */
+
#include "dlm_daemon.h"
static const uint32_t crc_32_tab[] = {
diff --git a/dlm_controld/deadlock.c b/dlm_controld/deadlock.c
index 6aaabc5..9a7fd5d 100644
--- a/dlm_controld/deadlock.c
+++ b/dlm_controld/deadlock.c
@@ -1,3 +1,11 @@
+/*
+ * Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU General Public License v.2.
+ */
+
#include "dlm_daemon.h"
#include "libdlm.h"
diff --git a/dlm_controld/dlm_controld.h b/dlm_controld/dlm_controld.h
index 73e4ecc..a802882 100644
--- a/dlm_controld/dlm_controld.h
+++ b/dlm_controld/dlm_controld.h
@@ -1,3 +1,11 @@
+/*
+ * Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU General Public License v.2.
+ */
+
#ifndef __DLM_CONTROLD_DOT_H__
#define __DLM_CONTROLD_DOT_H__
diff --git a/dlm_controld/dlm_daemon.h b/dlm_controld/dlm_daemon.h
index d0975af..27c9d7a 100644
--- a/dlm_controld/dlm_daemon.h
+++ b/dlm_controld/dlm_daemon.h
@@ -1,3 +1,11 @@
+/*
+ * Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU General Public License v.2.
+ */
+
#ifndef __DLM_DAEMON_DOT_H__
#define __DLM_DAEMON_DOT_H__
diff --git a/dlm_controld/lib.c b/dlm_controld/lib.c
index e714ff9..311b6e9 100644
--- a/dlm_controld/lib.c
+++ b/dlm_controld/lib.c
@@ -1,3 +1,11 @@
+/*
+ * Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU General Public License v.2.
+ */
+
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
diff --git a/dlm_controld/libdlmcontrol.h b/dlm_controld/libdlmcontrol.h
index 64a3814..5a9404f 100644
--- a/dlm_controld/libdlmcontrol.h
+++ b/dlm_controld/libdlmcontrol.h
@@ -1,3 +1,11 @@
+/*
+ * Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU General Public License v.2.
+ */
+
#ifndef _LIBDLMCONTROL_H_
#define _LIBDLMCONTROL_H_
diff --git a/dlm_controld/linux_endian.h b/dlm_controld/linux_endian.h
index 43089d2..8736b5b 100644
--- a/dlm_controld/linux_endian.h
+++ b/dlm_controld/linux_endian.h
@@ -1,3 +1,11 @@
+/*
+ * Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU General Public License v.2.
+ */
+
#ifndef __LINUX_ENDIAN_DOT_H__
#define __LINUX_ENDIAN_DOT_H__
diff --git a/dlm_controld/logging.c b/dlm_controld/logging.c
index bf1a0eb..803d08a 100644
--- a/dlm_controld/logging.c
+++ b/dlm_controld/logging.c
@@ -1,3 +1,11 @@
+/*
+ * Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU General Public License v.2.
+ */
+
#include "dlm_daemon.h"
static int syslog_facility;
diff --git a/dlm_controld/main.c b/dlm_controld/main.c
index a931aa6..822a6a5 100644
--- a/dlm_controld/main.c
+++ b/dlm_controld/main.c
@@ -1,3 +1,11 @@
+/*
+ * Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU General Public License v.2.
+ */
+
#define EXTERN
#include "dlm_daemon.h"
#include <pthread.h>
diff --git a/dlm_controld/member_cman.c b/dlm_controld/member_cman.c
index 909c249..41af911 100644
--- a/dlm_controld/member_cman.c
+++ b/dlm_controld/member_cman.c
@@ -1,3 +1,11 @@
+/*
+ * Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU General Public License v.2.
+ */
+
#include "dlm_daemon.h"
#include <corosync/corotypes.h>
#include <corosync/cfg.h>
diff --git a/dlm_controld/netlink.c b/dlm_controld/netlink.c
index 9f1d382..06b6312 100644
--- a/dlm_controld/netlink.c
+++ b/dlm_controld/netlink.c
@@ -1,3 +1,11 @@
+/*
+ * Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU General Public License v.2.
+ */
+
#include "dlm_daemon.h"
#include <linux/dlm.h>
#include <linux/netlink.h>
diff --git a/dlm_controld/plock.c b/dlm_controld/plock.c
index c38b998..4b66904 100644
--- a/dlm_controld/plock.c
+++ b/dlm_controld/plock.c
@@ -1,3 +1,11 @@
+/*
+ * Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU General Public License v.2.
+ */
+
#include "dlm_daemon.h"
#include <linux/dlm_plock.h>
diff --git a/dlm_tool/main.c b/dlm_tool/main.c
index 55593c0..3523cce 100644
--- a/dlm_tool/main.c
+++ b/dlm_tool/main.c
@@ -1,3 +1,11 @@
+/*
+ * Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU General Public License v.2.
+ */
+
#include <unistd.h>
#include <stdio.h>
#include <stdint.h>
diff --git a/libdlm/libdlm.c b/libdlm/libdlm.c
index a5157e2..134f5a7 100644
--- a/libdlm/libdlm.c
+++ b/libdlm/libdlm.c
@@ -1,3 +1,12 @@
+/*
+ * Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved.
+ *
+ * This library 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.
+ */
+
#ifdef _REENTRANT
#include <pthread.h>
#endif
diff --git a/libdlm/libdlm.h b/libdlm/libdlm.h
index 17a552c..6a30407 100644
--- a/libdlm/libdlm.h
+++ b/libdlm/libdlm.h
@@ -1,3 +1,12 @@
+/*
+ * Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved.
+ *
+ * This library 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.
+ */
+
#ifndef __LIBDLM_H
#define __LIBDLM_H
diff --git a/libdlm/libdlm_internal.h b/libdlm/libdlm_internal.h
index c8b270e..c8fded7 100644
--- a/libdlm/libdlm_internal.h
+++ b/libdlm/libdlm_internal.h
@@ -1,3 +1,11 @@
+/*
+ * Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved.
+ *
+ * This library 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.
+ */
/* Needed before we include the kernel libdlm header */
#define __user