Copyright (c) 2003-2008 National Institute of Advanced Industrial Science and Technology (AIST). All Rights Reserved. Copyright (c) 2006-2023 Osamu Tatebe. All Rights Reserved. The authors hereby grant permission to use, copy, modify, and distribute this software and its documentation for any purpose, provided that existing copyright notices are retained in all copies and that this notice is included verbatim in any distributions. The name of the authors may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY DERIVATIVES THEREOF, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. There are the following exceptions about the terms of the license: All files under the lib/gfs_hook/sysdep/linux/ directory can be redistributed and/or modified under the terms of the GNU Lesser General Public License as published by the Free Software Foundation. All files under the lib/gfs_hook/sysdep/solaris/ directory can be redistributed and/or modified under the terms of the Common Development and Distribution License (CDDL), Version 1.0 by Sun Microsystems, Inc. util/checkpatch/checkpatch.pl can be redistributed and/or modified under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.