Skip to content

Commit

Permalink
clarify copyright and license information
Browse files Browse the repository at this point in the history
The utility infrastructure copied from perf (which was copied from git)
is GPLv2. Files copied from perf / git have a "/* originally copied from
perf and git */" comment. All tests and documentation are also GPLv2.
The libraries (libndctl and libdaxctl) are LGPLv2.1.

Link: #12
Reported-by: Breno Leitao <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
  • Loading branch information
djbw committed May 20, 2017
1 parent e86e667 commit 796b6f3
Show file tree
Hide file tree
Showing 69 changed files with 1,096 additions and 5 deletions.
345 changes: 345 additions & 0 deletions Documentation/COPYING

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions Documentation/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
# Copyright(c) 2015-2017 Intel Corporation.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of version 2 of the GNU General Public License as
# published by the Free Software Foundation.
#
# 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
# General Public License for more details.

man1_MANS = \
ndctl.1 \
ndctl-zero-labels.1 \
Expand Down
6 changes: 6 additions & 0 deletions Documentation/asciidoc.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
## linkndctl: macro
#
# Copyright (c) 2005, Sergey Vlasov
# Copyright (c) 2005, Jonas Fonseca
#
# Originally copied from GIT source (commit d1c2e113c5b6 "[PATCH]
# Documentation: Add asciidoc.conf file and gitlink: macro")
#
# Usage: linkndctl:command[manpage-section]
#
# Note, {0} is the manpage section, while {target} is the command.
Expand Down
7 changes: 7 additions & 0 deletions Documentation/daxctl-list.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,10 @@ OPTIONS
-i::
--idle::
Include idle (not enabled / zero-sized) devices in the listing

COPYRIGHT
---------
Copyright (c) 2016 - 2017, Intel Corporation. License GPLv2: GNU GPL
version 2 <http://gnu.org/licenses/gpl.html>. This is free software:
you are free to change and redistribute it. There is NO WARRANTY, to
the extent permitted by law.
8 changes: 8 additions & 0 deletions Documentation/manpage-base.xsl
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
<!--
Copyright (c) 2006, Sean Estabrooks
Copyright (c) 2009, Chris Johnsen
Originally copied from GIT source (commits 775e994af5b8 "Properly render
asciidoc "callouts" in git man pages." and c30e9485238b "Documentation:
move callouts.xsl to manpage-{base,normal}.xsl")
-->
<!-- manpage-base.xsl:
special formatting for manpages rendered from asciidoc+docbook -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
Expand Down
8 changes: 8 additions & 0 deletions Documentation/manpage-normal.xsl
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
<!--
Copyright (c) 2006, Sean Estabrooks
Copyright (c) 2009, Chris Johnsen
Originally copied from GIT source (commits 775e994af5b8 "Properly render
asciidoc "callouts" in git man pages." and c30e9485238b "Documentation:
move callouts.xsl to manpage-{base,normal}.xsl")
-->
<!-- manpage-normal.xsl:
special settings for manpages rendered from asciidoc+docbook
handles anything we want to keep away from docbook-xsl 1.72.0 -->
Expand Down
7 changes: 7 additions & 0 deletions Documentation/ndctl-check-labels.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ OPTIONS
-------
include::labels-options.txt[]

COPYRIGHT
---------
Copyright (c) 2016 - 2017, Intel Corporation. License GPLv2: GNU GPL
version 2 <http://gnu.org/licenses/gpl.html>. This is free software:
you are free to change and redistribute it. There is NO WARRANTY, to
the extent permitted by law.

SEE ALSO
--------
http://pmem.io/documents/NVDIMM_Namespace_Spec.pdf[NVDIMM Namespace
Expand Down
7 changes: 7 additions & 0 deletions Documentation/ndctl-check-namespace.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@ OPTIONS
--region=::
include::xable-region-options.txt[]

COPYRIGHT
---------
Copyright (c) 2016 - 2017, Intel Corporation. License GPLv2: GNU GPL
version 2 <http://gnu.org/licenses/gpl.html>. This is free software:
you are free to change and redistribute it. There is NO WARRANTY, to
the extent permitted by law.

SEE ALSO
--------
linkndctl:ndctl-disable-namespace[1],
Expand Down
7 changes: 7 additions & 0 deletions Documentation/ndctl-create-namespace.txt
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,13 @@ OPTIONS
--region=::
include::xable-region-options.txt[]

COPYRIGHT
---------
Copyright (c) 2016 - 2017, Intel Corporation. License GPLv2: GNU GPL
version 2 <http://gnu.org/licenses/gpl.html>. This is free software:
you are free to change and redistribute it. There is NO WARRANTY, to
the extent permitted by law.

SEE ALSO
--------
linkndctl:ndctl-zero-labels[1],
Expand Down
7 changes: 7 additions & 0 deletions Documentation/ndctl-destroy-namespace.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ include::xable-namespace-options.txt[]
Specifying --force causes the namespace to be disabled before
the operation is attempted.

COPYRIGHT
---------
Copyright (c) 2016 - 2017, Intel Corporation. License GPLv2: GNU GPL
version 2 <http://gnu.org/licenses/gpl.html>. This is free software:
you are free to change and redistribute it. There is NO WARRANTY, to
the extent permitted by law.

SEE ALSO
--------
linkndctl:ndctl-create-namespace[1]
7 changes: 7 additions & 0 deletions Documentation/ndctl-disable-dimm.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ OPTIONS
<dimm>::
include::xable-dimm-options.txt[]

COPYRIGHT
---------
Copyright (c) 2016 - 2017, Intel Corporation. License GPLv2: GNU GPL
version 2 <http://gnu.org/licenses/gpl.html>. This is free software:
you are free to change and redistribute it. There is NO WARRANTY, to
the extent permitted by law.

SEE ALSO
--------
linkndctl:ndctl-enable-dimm[1]
7 changes: 7 additions & 0 deletions Documentation/ndctl-disable-namespace.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ OPTIONS
-------
include::xable-namespace-options.txt[]

COPYRIGHT
---------
Copyright (c) 2016 - 2017, Intel Corporation. License GPLv2: GNU GPL
version 2 <http://gnu.org/licenses/gpl.html>. This is free software:
you are free to change and redistribute it. There is NO WARRANTY, to
the extent permitted by law.

SEE ALSO
--------
linkndctl:ndctl-disable-namespace[1]
7 changes: 7 additions & 0 deletions Documentation/ndctl-disable-region.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ OPTIONS
<region>::
include::xable-region-options.txt[]

COPYRIGHT
---------
Copyright (c) 2016 - 2017, Intel Corporation. License GPLv2: GNU GPL
version 2 <http://gnu.org/licenses/gpl.html>. This is free software:
you are free to change and redistribute it. There is NO WARRANTY, to
the extent permitted by law.

SEE ALSO
--------
linkndctl:ndctl-enable-region[1]
7 changes: 7 additions & 0 deletions Documentation/ndctl-enable-dimm.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ OPTIONS
<dimm>::
include::xable-dimm-options.txt[]

COPYRIGHT
---------
Copyright (c) 2016 - 2017, Intel Corporation. License GPLv2: GNU GPL
version 2 <http://gnu.org/licenses/gpl.html>. This is free software:
you are free to change and redistribute it. There is NO WARRANTY, to
the extent permitted by law.

SEE ALSO
--------
linkndctl:ndctl-disable-dimm[1]
7 changes: 7 additions & 0 deletions Documentation/ndctl-enable-namespace.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ OPTIONS
-------
include::xable-namespace-options.txt[]

COPYRIGHT
---------
Copyright (c) 2016 - 2017, Intel Corporation. License GPLv2: GNU GPL
version 2 <http://gnu.org/licenses/gpl.html>. This is free software:
you are free to change and redistribute it. There is NO WARRANTY, to
the extent permitted by law.

SEE ALSO
--------
linkndctl:ndctl-disable-namespace[1]
7 changes: 7 additions & 0 deletions Documentation/ndctl-enable-region.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ OPTIONS
<region>::
include::xable-region-options.txt[]

COPYRIGHT
---------
Copyright (c) 2016 - 2017, Intel Corporation. License GPLv2: GNU GPL
version 2 <http://gnu.org/licenses/gpl.html>. This is free software:
you are free to change and redistribute it. There is NO WARRANTY, to
the extent permitted by law.

SEE ALSO
--------
linkndctl:ndctl-disable-region[1]
7 changes: 7 additions & 0 deletions Documentation/ndctl-init-labels.txt
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,13 @@ include::labels-options.txt[]
be an existing / valid namespace index. Warning, this will
destroy all defined namespaces on the dimm.

COPYRIGHT
---------
Copyright (c) 2016 - 2017, Intel Corporation. License GPLv2: GNU GPL
version 2 <http://gnu.org/licenses/gpl.html>. This is free software:
you are free to change and redistribute it. There is NO WARRANTY, to
the extent permitted by law.

SEE ALSO
--------
http://pmem.io/documents/NVDIMM_Namespace_Spec.pdf[NVDIMM Namespace
Expand Down
6 changes: 6 additions & 0 deletions Documentation/ndctl-list.txt
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,12 @@ include::xable-region-options.txt[]
]
}

COPYRIGHT
---------
Copyright (c) 2016 - 2017, Intel Corporation. License GPLv2: GNU GPL
version 2 <http://gnu.org/licenses/gpl.html>. This is free software:
you are free to change and redistribute it. There is NO WARRANTY, to
the extent permitted by law.

SEE ALSO
--------
Expand Down
7 changes: 7 additions & 0 deletions Documentation/ndctl-read-labels.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ include::labels-options.txt[]
parse the label data into json assuming the 'NVDIMM Namespace
Specification' format.

COPYRIGHT
---------
Copyright (c) 2016 - 2017, Intel Corporation. License GPLv2: GNU GPL
version 2 <http://gnu.org/licenses/gpl.html>. This is free software:
you are free to change and redistribute it. There is NO WARRANTY, to
the extent permitted by law.

SEE ALSO
--------
http://pmem.io/documents/NVDIMM_Namespace_Spec.pdf[NVDIMM Namespace
Expand Down
7 changes: 7 additions & 0 deletions Documentation/ndctl-zero-labels.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ OPTIONS
-------
include::labels-options.txt[]

COPYRIGHT
---------
Copyright (c) 2016 - 2017, Intel Corporation. License GPLv2: GNU GPL
version 2 <http://gnu.org/licenses/gpl.html>. This is free software:
you are free to change and redistribute it. There is NO WARRANTY, to
the extent permitted by law.

SEE ALSO
--------
http://pmem.io/documents/NVDIMM_Namespace_Spec.pdf[NVDIMM Namespace
Expand Down
7 changes: 7 additions & 0 deletions Documentation/ndctl.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ supported by the tool include, provisioning capacity (namespaces), as
well as enumerating/enabling/disabling the devices (dimms, regions,
namspaces) associated with an NVDIMM bus.

COPYRIGHT
---------
Copyright (c) 2016 - 2017, Intel Corporation. License GPLv2: GNU GPL
version 2 <http://gnu.org/licenses/gpl.html>. This is free software:
you are free to change and redistribute it. There is NO WARRANTY, to
the extent permitted by law.

SEE ALSO
--------
linkndctl:ndctl-create-namespace[1],
Expand Down
12 changes: 12 additions & 0 deletions builtin.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* Copyright(c) 2015-2017 Intel Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the Free Software Foundation.
*
* 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
* General Public License for more details.
*/
#ifndef _NDCTL_BUILTIN_H_
#define _NDCTL_BUILTIN_H_
extern const char ndctl_usage_string[];
Expand Down
16 changes: 16 additions & 0 deletions daxctl/daxctl.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
* Copyright(c) 2015-2017 Intel Corporation. All rights reserved.
* Copyright(c) 2005 Andreas Ericsson. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the Free Software Foundation.
*
* 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
* General Public License for more details.
*/

/* originally copied from perf and git */

#include <stdio.h>
#include <errno.h>
#include <string.h>
Expand Down
12 changes: 12 additions & 0 deletions daxctl/list.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* Copyright(c) 2015-2017 Intel Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the Free Software Foundation.
*
* 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
* General Public License for more details.
*/
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
Expand Down
12 changes: 12 additions & 0 deletions ndctl/bat.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* Copyright(c) 2014 Intel Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the Free Software Foundation.
*
* 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
* General Public License for more details.
*/
#include <stdio.h>
#include <syslog.h>
#include <test.h>
Expand Down
12 changes: 12 additions & 0 deletions ndctl/create-nfit.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* Copyright(c) 2014 Intel Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the Free Software Foundation.
*
* 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
* General Public License for more details.
*/
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
Expand Down
12 changes: 12 additions & 0 deletions ndctl/list.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* Copyright(c) 2015-2017 Intel Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the Free Software Foundation.
*
* 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
* General Public License for more details.
*/
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
Expand Down
2 changes: 1 addition & 1 deletion ndctl/namespace.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright(c) 2015-2016 Intel Corporation. All rights reserved.
* Copyright(c) 2015-2017 Intel Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
Expand Down
16 changes: 16 additions & 0 deletions ndctl/ndctl.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
* Copyright(c) 2015-2017 Intel Corporation. All rights reserved.
* Copyright(c) 2005 Andreas Ericsson. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the Free Software Foundation.
*
* 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
* General Public License for more details.
*/

/* originally copied from perf and git */

#include <stdio.h>
#include <errno.h>
#include <string.h>
Expand Down
Loading

0 comments on commit 796b6f3

Please sign in to comment.