Skip to content

Commit 712fe24

Browse files
author
Laszlo Ersek
committed
Update Red Hat Copyright Notices
We've been advised to state Red Hat's Copyright as Copyright Red Hat In order to collect our current copyright notices, I've used the following "loose options" for git-grep (bash syntax): loose_options=(-i -e copyright --and -e 'red.?hat') Namely, the command git grep -h "${loose_options[@]}" produces 464 matches (lines) in libnbd @ d169661119f6, and 861 matches (lines) in nbdkit @ e36cfb6. Lest we replace strings too broadly, define the "strict pattern" as follows (note that we assume LC_ALL=en_US.UTF-8): year='20[0-2][0-9]' year_range="$year(-$year)?" year_range_list="$year_range(, $year_range)*" year_range_list_opt="( $year_range_list)?" c_sym='(\(C\)|©)' company='Red Hat,? Inc\.' strict_pattern="[Cc]opyright $c_sym$year_range_list_opt $company" The command git grep -h "${loose_options[@]}" \ | grep -E -v -- "$strict_pattern" produces zero lines in each of nbdkit and libnbd, meaning that the "strict pattern" covers all matches from the "loose options". Assuming that our filenames do not contain newline characters, replace the copyright notices with the following command: git grep -l "${loose_options[@]}" \ | sponge \ | tr '\n' '\0' \ | xargs -0 -r -- sed -i -E -e "s/$strict_pattern/Copyright Red Hat/" -- The resultant diffstat in each project shows that all notices have been replaced (note that some files contain multiple notices, therefore the number of files modified is less than the number of lines modified). Signed-off-by: Laszlo Ersek <[email protected]>
1 parent e36cfb6 commit 712fe24

File tree

859 files changed

+861
-861
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

859 files changed

+861
-861
lines changed

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
nbdkit
2-
Copyright (C) 2013-2020 Red Hat Inc.
2+
Copyright Red Hat
33

44
Redistribution and use in source and binary forms, with or without
55
modification, are permitted provided that the following conditions are

Makefile.am

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# nbdkit
2-
# Copyright (C) 2013-2020 Red Hat Inc.
2+
# Copyright Red Hat
33
#
44
# Redistribution and use in source and binary forms, with or without
55
# modification, are permitted provided that the following conditions are

README.md

+1-1

bash-completion/Makefile.am

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# nbdkit
2-
# Copyright (C) 2018 Red Hat Inc.
2+
# Copyright Red Hat
33
#
44
# Redistribution and use in source and binary forms, with or without
55
# modification, are permitted provided that the following conditions are

bash-completion/nbdkit

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# nbdkit bash completion script -*- shell-script -*-
2-
# Copyright (C) 2010-2020 Red Hat Inc.
2+
# Copyright Red Hat
33
#
44
# Redistribution and use in source and binary forms, with or without
55
# modification, are permitted provided that the following conditions are

common-rules.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# nbdkit
2-
# Copyright (C) 2013-2020 Red Hat Inc.
2+
# Copyright Red Hat
33
#
44
# Redistribution and use in source and binary forms, with or without
55
# modification, are permitted provided that the following conditions are

common/allocators/Makefile.am

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# nbdkit
2-
# Copyright (C) 2018-2022 Red Hat Inc.
2+
# Copyright Red Hat
33
#
44
# Redistribution and use in source and binary forms, with or without
55
# modification, are permitted provided that the following conditions are

common/allocators/allocator-internal.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* nbdkit
2-
* Copyright (C) 2013-2020 Red Hat Inc.
2+
* Copyright Red Hat
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions are

common/allocators/allocator.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* nbdkit
2-
* Copyright (C) 2013-2020 Red Hat Inc.
2+
* Copyright Red Hat
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions are

common/allocators/allocator.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* nbdkit
2-
* Copyright (C) 2013-2020 Red Hat Inc.
2+
* Copyright Red Hat
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions are

common/allocators/malloc.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* nbdkit
2-
* Copyright (C) 2013-2020 Red Hat Inc.
2+
* Copyright Red Hat
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions are

common/allocators/sparse.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* nbdkit
2-
* Copyright (C) 2017-2020 Red Hat Inc.
2+
* Copyright Red Hat
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions are

common/allocators/zstd.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* nbdkit
2-
* Copyright (C) 2017-2020 Red Hat Inc.
2+
* Copyright Red Hat
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions are

common/bitmap/Makefile.am

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# nbdkit
2-
# Copyright (C) 2018-2022 Red Hat Inc.
2+
# Copyright Red Hat
33
#
44
# Redistribution and use in source and binary forms, with or without
55
# modification, are permitted provided that the following conditions are

common/bitmap/bitmap.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* nbdkit
2-
* Copyright (C) 2018 Red Hat Inc.
2+
* Copyright Red Hat
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions are

common/bitmap/bitmap.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* nbdkit
2-
* Copyright (C) 2018 Red Hat Inc.
2+
* Copyright Red Hat
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions are

common/bitmap/test-bitmap.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* nbdkit
2-
* Copyright (C) 2018 Red Hat Inc.
2+
* Copyright Red Hat
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions are

common/gpt/Makefile.am

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# nbdkit
2-
# Copyright (C) 2019 Red Hat Inc.
2+
# Copyright Red Hat
33
#
44
# Redistribution and use in source and binary forms, with or without
55
# modification, are permitted provided that the following conditions are

common/gpt/efi-crc32.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* nbdkit
2-
* Copyright (C) 2018 Red Hat Inc.
2+
* Copyright Red Hat
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions are

common/gpt/gpt.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* nbdkit
2-
* Copyright (C) 2018-2020 Red Hat Inc.
2+
* Copyright Red Hat
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions are

common/include/Makefile.am

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# nbdkit
2-
# Copyright (C) 2018-2020 Red Hat Inc.
2+
# Copyright Red Hat
33
#
44
# Redistribution and use in source and binary forms, with or without
55
# modification, are permitted provided that the following conditions are

common/include/ansi-colours.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* nbdkit
2-
* Copyright (C) 2022 Red Hat Inc.
2+
* Copyright Red Hat
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions are

common/include/array-size.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* nbdkit
2-
* Copyright (C) 2013-2022 Red Hat Inc.
2+
* Copyright Red Hat
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions are

common/include/ascii-ctype.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* nbdkit
2-
* Copyright (C) 2013-2020 Red Hat Inc.
2+
* Copyright Red Hat
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions are

common/include/ascii-string.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* nbdkit
2-
* Copyright (C) 2013-2020 Red Hat Inc.
2+
* Copyright Red Hat
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions are

common/include/byte-swapping.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* nbdkit
2-
* Copyright (C) 2013-2020 Red Hat Inc.
2+
* Copyright Red Hat
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions are

common/include/checked-overflow.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* nbdkit
2-
* Copyright (C) 2013-2021 Red Hat Inc.
2+
* Copyright Red Hat
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions are

common/include/compiler-macros.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* nbdkit
2-
* Copyright (C) 2013-2022 Red Hat Inc.
2+
* Copyright Red Hat
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions are

common/include/hexdigit.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* nbdkit
2-
* Copyright (C) 2018-2022 Red Hat Inc.
2+
* Copyright Red Hat
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions are

common/include/isaligned.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* nbdkit
2-
* Copyright (C) 2018 Red Hat Inc.
2+
* Copyright Red Hat
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions are

common/include/ispowerof2.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* nbdkit
2-
* Copyright (C) 2018 Red Hat Inc.
2+
* Copyright Red Hat
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions are

common/include/iszero.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* nbdkit
2-
* Copyright (C) 2018 Red Hat Inc.
2+
* Copyright Red Hat
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions are

common/include/minmax.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* nbdkit
2-
* Copyright (C) 2019 Red Hat Inc.
2+
* Copyright Red Hat
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions are

common/include/nextnonzero.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* nbdkit
2-
* Copyright (C) 2018 Red Hat Inc.
2+
* Copyright Red Hat
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions are

common/include/random.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* nbdkit
2-
* Copyright (C) 2018 Red Hat Inc.
2+
* Copyright Red Hat
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions are

common/include/rounding.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* nbdkit
2-
* Copyright (C) 2018 Red Hat Inc.
2+
* Copyright Red Hat
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions are

common/include/static-assert.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* nbdkit
2-
* Copyright (C) 2013-2023 Red Hat Inc.
2+
* Copyright Red Hat
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions are

common/include/test-array-size.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* nbdkit
2-
* Copyright (C) 2020-2022 Red Hat Inc.
2+
* Copyright Red Hat
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions are

common/include/test-ascii-ctype.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* nbdkit
2-
* Copyright (C) 2020 Red Hat Inc.
2+
* Copyright Red Hat
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions are

common/include/test-ascii-string.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* nbdkit
2-
* Copyright (C) 2020 Red Hat Inc.
2+
* Copyright Red Hat
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions are

common/include/test-byte-swapping.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* nbdkit
2-
* Copyright (C) 2018 Red Hat Inc.
2+
* Copyright Red Hat
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions are

common/include/test-checked-overflow.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* nbdkit
2-
* Copyright (C) 2021 Red Hat Inc.
2+
* Copyright Red Hat
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions are

common/include/test-isaligned.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* nbdkit
2-
* Copyright (C) 2018 Red Hat Inc.
2+
* Copyright Red Hat
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions are

common/include/test-ispowerof2.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* nbdkit
2-
* Copyright (C) 2018 Red Hat Inc.
2+
* Copyright Red Hat
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions are

common/include/test-iszero.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* nbdkit
2-
* Copyright (C) 2018 Red Hat Inc.
2+
* Copyright Red Hat
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions are

common/include/test-minmax.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* nbdkit
2-
* Copyright (C) 2018-2020 Red Hat Inc.
2+
* Copyright Red Hat
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions are

common/include/test-nextnonzero.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* nbdkit
2-
* Copyright (C) 2018-2020 Red Hat Inc.
2+
* Copyright Red Hat
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions are

common/include/test-random.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* nbdkit
2-
* Copyright (C) 2019 Red Hat Inc.
2+
* Copyright Red Hat
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions are

common/include/test-tvdiff.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* nbdkit
2-
* Copyright (C) 2019 Red Hat Inc.
2+
* Copyright Red Hat
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions are

common/include/tvdiff.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* nbdkit
2-
* Copyright (C) 2019 Red Hat Inc.
2+
* Copyright Red Hat
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions are

common/include/unique-name.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* nbdkit
2-
* Copyright (C) 2013-2021 Red Hat Inc.
2+
* Copyright Red Hat
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions are

common/include/unix-path-max.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* nbdkit
2-
* Copyright (C) 2020 Red Hat Inc.
2+
* Copyright Red Hat
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions are

common/protocol/Makefile.am

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# nbdkit
2-
# Copyright (C) 2018-2022 Red Hat Inc.
2+
# Copyright Red Hat
33
#
44
# Redistribution and use in source and binary forms, with or without
55
# modification, are permitted provided that the following conditions are

common/protocol/generate-protostrings.sh.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22
# nbdkit
3-
# Copyright (C) 2018-2022 Red Hat Inc.
3+
# Copyright Red Hat
44
#
55
# Redistribution and use in source and binary forms, with or without
66
# modification, are permitted provided that the following conditions are

common/protocol/nbd-protocol.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* nbdkit
2-
* Copyright (C) 2013-2020 Red Hat Inc.
2+
* Copyright Red Hat
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions are

common/protocol/protostrings.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* nbdkit
2-
* Copyright (C) 2018-2022 Red Hat Inc.
2+
* Copyright Red Hat
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions are

0 commit comments

Comments
 (0)