aboutsummaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2020-07-31 12:11:56 -0700
committerEric Biggers <ebiggers@google.com>2020-08-01 09:59:46 -0700
commitab794fd56511ea6e4e53fed89c8af896885127ab (patch)
tree19dba52116c81cbb54c19cf9c2e64938ca071189 /.clang-format
parentacbf554c655895939a82ddad2b0e0d0a0532d894 (diff)
downloadfsverity-utils-ab794fd56511ea6e4e53fed89c8af896885127ab.tar.gz
Switch to MIT license
This allows libfsverity to be used by software with other common licenses, e.g. LGPL, MIT, BSD, and Apache 2.0. It also avoids the incompatibility that some people perceive between OpenSSL and the GPL. See discussion at https://lkml.kernel.org/linux-fscrypt/20200211000037.189180-1-Jes.Sorensen@gmail.com/T/#u Link: https://lkml.kernel.org/linux-fscrypt/20200731191156.22602-1-ebiggers@kernel.org Acked-by: Chris Mason <clm@fb.com> # FB copyrighted material Acked-by: Jes Sorensen <jsorensen@fb.com> Signed-off-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format6
1 files changed, 5 insertions, 1 deletions
diff --git a/.clang-format b/.clang-format
index 2a21ac5..834d0a4 100644
--- a/.clang-format
+++ b/.clang-format
@@ -1,6 +1,10 @@
-# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-License-Identifier: MIT
# Copyright 2020 Google LLC
#
+# Use of this source code is governed by an MIT-style
+# license that can be found in the LICENSE file or at
+# https://opensource.org/licenses/MIT.
+
# Formatting settings to approximate the Linux kernel coding style.
BasedOnStyle: LLVM
AllowShortFunctionsOnASingleLine: false