Commit b4d0d230 authored by Thomas Gleixner's avatar Thomas Gleixner Committed by Greg Kroah-Hartman

treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 36

Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms of the gnu general public licence as published by
  the free software foundation either version 2 of the licence or at
  your option any later version

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

has been chosen to replace the boilerplate/reference in 114 file(s).
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Reviewed-by: default avatarAllison Randal <allison@lohutok.net>
Reviewed-by: default avatarKate Stewart <kstewart@linuxfoundation.org>
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190520170857.552531963@linutronix.deSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 68252eb5
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* /*
* C6X IRQ flag handling * C6X IRQ flag handling
* *
* Copyright (C) 2010 Texas Instruments Incorporated * Copyright (C) 2010 Texas Instruments Incorporated
* Written by Mark Salter (msalter@redhat.com) * Written by Mark Salter (msalter@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#ifndef _ASM_IRQFLAGS_H #ifndef _ASM_IRQFLAGS_H
......
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* /*
* Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
* Copyright (C) 2012 Regents of the University of California * Copyright (C) 2012 Regents of the University of California
* Copyright (C) 2017 SiFive * Copyright (C) 2017 SiFive
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#ifndef _ASM_RISCV_ATOMIC_H #ifndef _ASM_RISCV_ATOMIC_H
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* System hash blacklist. /* System hash blacklist.
* *
* Copyright (C) 2016 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#define pr_fmt(fmt) "blacklist: "fmt #define pr_fmt(fmt) "blacklist: "fmt
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* System trusted keyring for trusted public keys /* System trusted keyring for trusted public keys
* *
* Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#include <linux/export.h> #include <linux/export.h>
......
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* Internal definitions for asymmetric key type /* Internal definitions for asymmetric key type
* *
* Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#include <keys/asymmetric-type.h> #include <keys/asymmetric-type.h>
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* Asymmetric public-key cryptography key type /* Asymmetric public-key cryptography key type
* *
* See Documentation/crypto/asymmetric-keys.txt * See Documentation/crypto/asymmetric-keys.txt
* *
* Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#include <keys/asymmetric-subtype.h> #include <keys/asymmetric-subtype.h>
#include <keys/asymmetric-parser.h> #include <keys/asymmetric-parser.h>
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* Parse a Microsoft Individual Code Signing blob /* Parse a Microsoft Individual Code Signing blob
* *
* Copyright (C) 2014 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2014 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#define pr_fmt(fmt) "MSCODE: "fmt #define pr_fmt(fmt) "MSCODE: "fmt
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* Testing module to load key from trusted PKCS#7 message /* Testing module to load key from trusted PKCS#7 message
* *
* Copyright (C) 2014 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2014 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#define pr_fmt(fmt) "PKCS7key: "fmt #define pr_fmt(fmt) "PKCS7key: "fmt
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* PKCS#7 parser /* PKCS#7 parser
* *
* Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#define pr_fmt(fmt) "PKCS7: "fmt #define pr_fmt(fmt) "PKCS7: "fmt
......
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* PKCS#7 crypto data parser internal definitions /* PKCS#7 crypto data parser internal definitions
* *
* Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#include <linux/oid_registry.h> #include <linux/oid_registry.h>
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* Validate the trust chain of a PKCS#7 message. /* Validate the trust chain of a PKCS#7 message.
* *
* Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#define pr_fmt(fmt) "PKCS7: "fmt #define pr_fmt(fmt) "PKCS7: "fmt
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* Verify the signature on a PKCS#7 message. /* Verify the signature on a PKCS#7 message.
* *
* Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#define pr_fmt(fmt) "PKCS7: "fmt #define pr_fmt(fmt) "PKCS7: "fmt
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* PKCS#8 Private Key parser [RFC 5208]. /* PKCS#8 Private Key parser [RFC 5208].
* *
* Copyright (C) 2016 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#define pr_fmt(fmt) "PKCS8: "fmt #define pr_fmt(fmt) "PKCS8: "fmt
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* In-software asymmetric public-key crypto subtype /* In-software asymmetric public-key crypto subtype
* *
* See Documentation/crypto/asymmetric-keys.txt * See Documentation/crypto/asymmetric-keys.txt
* *
* Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#define pr_fmt(fmt) "PKEY: "fmt #define pr_fmt(fmt) "PKEY: "fmt
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* Instantiate a public key crypto key from an X.509 Certificate /* Instantiate a public key crypto key from an X.509 Certificate
* *
* Copyright (C) 2012, 2016 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2012, 2016 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#define pr_fmt(fmt) "ASYM: "fmt #define pr_fmt(fmt) "ASYM: "fmt
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* Signature verification with an asymmetric key /* Signature verification with an asymmetric key
* *
* See Documentation/crypto/asymmetric-keys.txt * See Documentation/crypto/asymmetric-keys.txt
* *
* Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#define pr_fmt(fmt) "SIG: "fmt #define pr_fmt(fmt) "SIG: "fmt
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* Parse a signed PE binary /* Parse a signed PE binary
* *
* Copyright (C) 2014 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2014 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#define pr_fmt(fmt) "PEFILE: "fmt #define pr_fmt(fmt) "PEFILE: "fmt
......
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* PE Binary parser bits /* PE Binary parser bits
* *
* Copyright (C) 2014 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2014 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#include <crypto/pkcs7.h> #include <crypto/pkcs7.h>
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* X.509 certificate parser /* X.509 certificate parser
* *
* Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#define pr_fmt(fmt) "X.509: "fmt #define pr_fmt(fmt) "X.509: "fmt
......
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* X.509 certificate parser internal definitions /* X.509 certificate parser internal definitions
* *
* Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#include <linux/time.h> #include <linux/time.h>
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* Instantiate a public key crypto key from an X.509 Certificate /* Instantiate a public key crypto key from an X.509 Certificate
* *
* Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#define pr_fmt(fmt) "X.509: "fmt #define pr_fmt(fmt) "X.509: "fmt
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* RSA asymmetric public-key algorithm [RFC3447] /* RSA asymmetric public-key algorithm [RFC3447]
* *
* Copyright (c) 2015, Intel Corporation * Copyright (c) 2015, Intel Corporation
* Authors: Tadeusz Struk <tadeusz.struk@intel.com> * Authors: Tadeusz Struk <tadeusz.struk@intel.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#include <linux/module.h> #include <linux/module.h>
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* /*
* rtc-st-lpc.c - ST's LPC RTC, powered by the Low Power Timer * rtc-st-lpc.c - ST's LPC RTC, powered by the Low Power Timer
* *
...@@ -7,11 +8,6 @@ ...@@ -7,11 +8,6 @@
* Lee Jones <lee.jones@linaro.org> for STMicroelectronics * Lee Jones <lee.jones@linaro.org> for STMicroelectronics
* *
* Based on the original driver written by Stuart Menefy. * Based on the original driver written by Stuart Menefy.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#include <linux/clk.h> #include <linux/clk.h>
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* Server address list management /* Server address list management
* *
* Copyright (C) 2017 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2017 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#include <linux/slab.h> #include <linux/slab.h>
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* AFS filesystem directory editing /* AFS filesystem directory editing
* *
* Copyright (C) 2018 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* AFS silly rename handling /* AFS silly rename handling
* *
* Copyright (C) 2019 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2019 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
* - Derived from NFS's sillyrename. * - Derived from NFS's sillyrename.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* AFS dynamic root handling /* AFS dynamic root handling
* *
* Copyright (C) 2018 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#include <linux/fs.h> #include <linux/fs.h>
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* AFS fileserver probing /* AFS fileserver probing
* *
* Copyright (C) 2018 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#include <linux/sched.h> #include <linux/sched.h>
......
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* YFS protocol bits /* YFS protocol bits
* *
* Copyright (C) 2018 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#define YFS_FS_SERVICE 2500 #define YFS_FS_SERVICE 2500
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* Handle fileserver selection and rotation. /* Handle fileserver selection and rotation.
* *
* Copyright (C) 2017 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2017 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* AFS vlserver probing /* AFS vlserver probing
* *
* Copyright (C) 2018 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#include <linux/sched.h> #include <linux/sched.h>
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* Handle vlserver selection and rotation. /* Handle vlserver selection and rotation.
* *
* Copyright (C) 2018 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* Extended attribute handling for AFS. We use xattrs to get and set metadata /* Extended attribute handling for AFS. We use xattrs to get and set metadata
* instead of providing pioctl(). * instead of providing pioctl().
* *
* Copyright (C) 2017 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2017 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#include <linux/slab.h> #include <linux/slab.h>
......
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* AFS fileserver XDR types /* AFS fileserver XDR types
* *
* Copyright (C) 2018 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#ifndef XDR_FS_H #ifndef XDR_FS_H
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* YFS File Server client stubs /* YFS File Server client stubs
* *
* Copyright (C) 2018 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#include <linux/init.h> #include <linux/init.h>
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* Bind and unbind a cache from the filesystem backing it /* Bind and unbind a cache from the filesystem backing it
* *
* Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#include <linux/module.h> #include <linux/module.h>
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* Daemon interface /* Daemon interface
* *
* Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#include <linux/module.h> #include <linux/module.h>
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* FS-Cache interface to CacheFiles /* FS-Cache interface to CacheFiles
* *
* Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#include <linux/slab.h> #include <linux/slab.h>
......
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* General netfs cache on cache files internal defs /* General netfs cache on cache files internal defs
* *
* Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#ifdef pr_fmt #ifdef pr_fmt
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* Key to pathname encoder /* Key to pathname encoder
* *
* Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#include <linux/slab.h> #include <linux/slab.h>
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* Network filesystem caching backend to use cache files on a premounted /* Network filesystem caching backend to use cache files on a premounted
* filesystem * filesystem
* *
* Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#include <linux/module.h> #include <linux/module.h>
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* CacheFiles path walking and related routines /* CacheFiles path walking and related routines
* *
* Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#include <linux/module.h> #include <linux/module.h>
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* CacheFiles statistics /* CacheFiles statistics
* *
* Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#include <linux/module.h> #include <linux/module.h>
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* Storage object read/write /* Storage object read/write
* *
* Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#include <linux/mount.h> #include <linux/mount.h>
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* CacheFiles security management /* CacheFiles security management
* *
* Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#include <linux/fs.h> #include <linux/fs.h>
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* CacheFiles extended attribute management /* CacheFiles extended attribute management
* *
* Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#include <linux/module.h> #include <linux/module.h>
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* Provide a way to create a superblock configuration context within the kernel /* Provide a way to create a superblock configuration context within the kernel
* that allows a superblock to be set up prior to mounting. * that allows a superblock to be set up prior to mounting.
* *
* Copyright (C) 2017 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2017 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* Filesystem parameter parser. /* Filesystem parameter parser.
* *
* Copyright (C) 2018 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#include <linux/export.h> #include <linux/export.h>
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* FS-Cache latency histogram /* FS-Cache latency histogram
* *
* Copyright (C) 2008 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#define FSCACHE_DEBUG_LEVEL THREAD #define FSCACHE_DEBUG_LEVEL THREAD
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* FS-Cache netfs (client) registration /* FS-Cache netfs (client) registration
* *
* Copyright (C) 2008 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#define FSCACHE_DEBUG_LEVEL COOKIE #define FSCACHE_DEBUG_LEVEL COOKIE
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* Global fscache object list maintainer and viewer /* Global fscache object list maintainer and viewer
* *
* Copyright (C) 2009 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2009 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#define FSCACHE_DEBUG_LEVEL COOKIE #define FSCACHE_DEBUG_LEVEL COOKIE
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* Filesystem access-by-fd. /* Filesystem access-by-fd.
* *
* Copyright (C) 2017 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2017 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#include <linux/fs_context.h> #include <linux/fs_context.h>
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* NFS FS-Cache index structure definition /* NFS FS-Cache index structure definition
* *
* Copyright (C) 2008 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#include <linux/init.h> #include <linux/init.h>
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* NFS filesystem cache interface /* NFS filesystem cache interface
* *
* Copyright (C) 2008 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#include <linux/init.h> #include <linux/init.h>
......
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* NFS filesystem cache interface definitions /* NFS filesystem cache interface definitions
* *
* Copyright (C) 2008 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#ifndef _NFS_FSCACHE_H #ifndef _NFS_FSCACHE_H
......
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* /*
* Generic C implementation of atomic counter operations. Usable on * Generic C implementation of atomic counter operations. Usable on
* UP systems only. Do not include in machine independent code. * UP systems only. Do not include in machine independent code.
* *
* Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#ifndef __ASM_GENERIC_ATOMIC_H #ifndef __ASM_GENERIC_ATOMIC_H
#define __ASM_GENERIC_ATOMIC_H #define __ASM_GENERIC_ATOMIC_H
......
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* /*
* Generic barrier definitions. * Generic barrier definitions.
* *
...@@ -6,11 +7,6 @@ ...@@ -6,11 +7,6 @@
* *
* Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#ifndef __ASM_GENERIC_BARRIER_H #ifndef __ASM_GENERIC_BARRIER_H
#define __ASM_GENERIC_BARRIER_H #define __ASM_GENERIC_BARRIER_H
......
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* Generic process execution definitions. /* Generic process execution definitions.
* *
* It should be possible to use these on really simple architectures, * It should be possible to use these on really simple architectures,
...@@ -5,11 +6,6 @@ ...@@ -5,11 +6,6 @@
* *
* Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#ifndef __ASM_GENERIC_EXEC_H #ifndef __ASM_GENERIC_EXEC_H
#define __ASM_GENERIC_EXEC_H #define __ASM_GENERIC_EXEC_H
......
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* Generic I/O port emulation. /* Generic I/O port emulation.
* *
* Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#ifndef __ASM_GENERIC_IO_H #ifndef __ASM_GENERIC_IO_H
#define __ASM_GENERIC_IO_H #define __ASM_GENERIC_IO_H
......
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* Generic task switch macro wrapper. /* Generic task switch macro wrapper.
* *
* It should be possible to use these on really simple architectures, * It should be possible to use these on really simple architectures,
...@@ -5,11 +6,6 @@ ...@@ -5,11 +6,6 @@
* *
* Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#ifndef __ASM_GENERIC_SWITCH_TO_H #ifndef __ASM_GENERIC_SWITCH_TO_H
#define __ASM_GENERIC_SWITCH_TO_H #define __ASM_GENERIC_SWITCH_TO_H
......
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* PKCS#7 crypto data parser /* PKCS#7 crypto data parser
* *
* Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#ifndef _CRYPTO_PKCS7_H #ifndef _CRYPTO_PKCS7_H
......
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* Asymmetric public-key algorithm definitions /* Asymmetric public-key algorithm definitions
* *
* See Documentation/crypto/asymmetric-keys.txt * See Documentation/crypto/asymmetric-keys.txt
* *
* Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#ifndef _LINUX_PUBLIC_KEY_H #ifndef _LINUX_PUBLIC_KEY_H
......
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* Asymmetric public-key cryptography data parser /* Asymmetric public-key cryptography data parser
* *
* See Documentation/crypto/asymmetric-keys.txt * See Documentation/crypto/asymmetric-keys.txt
* *
* Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#ifndef _KEYS_ASYMMETRIC_PARSER_H #ifndef _KEYS_ASYMMETRIC_PARSER_H
......
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* Asymmetric public-key cryptography key subtype /* Asymmetric public-key cryptography key subtype
* *
* See Documentation/crypto/asymmetric-keys.txt * See Documentation/crypto/asymmetric-keys.txt
* *
* Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#ifndef _KEYS_ASYMMETRIC_SUBTYPE_H #ifndef _KEYS_ASYMMETRIC_SUBTYPE_H
......
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* Asymmetric Public-key cryptography key type interface /* Asymmetric Public-key cryptography key type interface
* *
* See Documentation/crypto/asymmetric-keys.txt * See Documentation/crypto/asymmetric-keys.txt
* *
* Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#ifndef _KEYS_ASYMMETRIC_TYPE_H #ifndef _KEYS_ASYMMETRIC_TYPE_H
......
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* request_key authorisation token key type /* request_key authorisation token key type
* *
* Copyright (C) 2005 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2005 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#ifndef _KEYS_REQUEST_KEY_AUTH_TYPE_H #ifndef _KEYS_REQUEST_KEY_AUTH_TYPE_H
......
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* System keyring containing trusted public keys. /* System keyring containing trusted public keys.
* *
* Copyright (C) 2013 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2013 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#ifndef _KEYS_SYSTEM_KEYRING_H #ifndef _KEYS_SYSTEM_KEYRING_H
......
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* ASN.1 BER/DER/CER encoding definitions /* ASN.1 BER/DER/CER encoding definitions
* *
* Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#ifndef _LINUX_ASN1_H #ifndef _LINUX_ASN1_H
......
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* ASN.1 BER/DER/CER parsing state machine internal definitions /* ASN.1 BER/DER/CER parsing state machine internal definitions
* *
* Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#ifndef _LINUX_ASN1_BER_BYTECODE_H #ifndef _LINUX_ASN1_BER_BYTECODE_H
......
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* ASN.1 decoder /* ASN.1 decoder
* *
* Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#ifndef _LINUX_ASN1_DECODER_H #ifndef _LINUX_ASN1_DECODER_H
......
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* Generic associative array implementation. /* Generic associative array implementation.
* *
* See Documentation/core-api/assoc_array.rst for information. * See Documentation/core-api/assoc_array.rst for information.
* *
* Copyright (C) 2013 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2013 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#ifndef _LINUX_ASSOC_ARRAY_H #ifndef _LINUX_ASSOC_ARRAY_H
......
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* Private definitions for the generic associative array implementation. /* Private definitions for the generic associative array implementation.
* *
* See Documentation/core-api/assoc_array.rst for information. * See Documentation/core-api/assoc_array.rst for information.
* *
* Copyright (C) 2013 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2013 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#ifndef _LINUX_ASSOC_ARRAY_PRIV_H #ifndef _LINUX_ASSOC_ARRAY_PRIV_H
......
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* Count leading and trailing zeros functions /* Count leading and trailing zeros functions
* *
* Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#ifndef _LINUX_BITOPS_COUNT_ZEROS_H_ #ifndef _LINUX_BITOPS_COUNT_ZEROS_H_
......
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* Credentials management - see Documentation/security/credentials.rst /* Credentials management - see Documentation/security/credentials.rst
* *
* Copyright (C) 2008 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#ifndef _LINUX_CRED_H #ifndef _LINUX_CRED_H
......
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* Filesystem superblock creation and reconfiguration context. /* Filesystem superblock creation and reconfiguration context.
* *
* Copyright (C) 2018 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#ifndef _LINUX_FS_CONTEXT_H #ifndef _LINUX_FS_CONTEXT_H
......
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* Filesystem parameter description and parser /* Filesystem parameter description and parser
* *
* Copyright (C) 2018 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#ifndef _LINUX_FS_PARSER_H #ifndef _LINUX_FS_PARSER_H
......
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* Definitions for key type implementations /* Definitions for key type implementations
* *
* Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#ifndef _LINUX_KEY_TYPE_H #ifndef _LINUX_KEY_TYPE_H
......
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* keyctl kernel bits /* keyctl kernel bits
* *
* Copyright (C) 2016 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#ifndef __LINUX_KEYCTL_H #ifndef __LINUX_KEYCTL_H
......
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* ASN.1 Object identifier (OID) registry /* ASN.1 Object identifier (OID) registry
* *
* Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#ifndef _LINUX_OID_REGISTRY_H #ifndef _LINUX_OID_REGISTRY_H
......
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* Signature verification /* Signature verification
* *
* Copyright (C) 2014 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2014 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#ifndef _LINUX_VERIFICATION_H #ifndef _LINUX_VERIFICATION_H
......
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* AFS tracepoints /* AFS tracepoints
* *
* Copyright (C) 2016 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#undef TRACE_SYSTEM #undef TRACE_SYSTEM
#define TRACE_SYSTEM afs #define TRACE_SYSTEM afs
......
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* CacheFiles tracepoints /* CacheFiles tracepoints
* *
* Copyright (C) 2016 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#undef TRACE_SYSTEM #undef TRACE_SYSTEM
#define TRACE_SYSTEM cachefiles #define TRACE_SYSTEM cachefiles
......
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* FS-Cache tracepoints /* FS-Cache tracepoints
* *
* Copyright (C) 2016 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#undef TRACE_SYSTEM #undef TRACE_SYSTEM
#define TRACE_SYSTEM fscache #define TRACE_SYSTEM fscache
......
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* I2C message transfer tracepoints /* I2C message transfer tracepoints
* *
* Copyright (C) 2013 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2013 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#undef TRACE_SYSTEM #undef TRACE_SYSTEM
#define TRACE_SYSTEM i2c #define TRACE_SYSTEM i2c
......
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* AF_RXRPC tracepoints /* AF_RXRPC tracepoints
* *
* Copyright (C) 2016 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#undef TRACE_SYSTEM #undef TRACE_SYSTEM
#define TRACE_SYSTEM rxrpc #define TRACE_SYSTEM rxrpc
......
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* SMBUS message transfer tracepoints /* SMBUS message transfer tracepoints
* *
* Copyright (C) 2013 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2013 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#undef TRACE_SYSTEM #undef TRACE_SYSTEM
#define TRACE_SYSTEM smbus #define TRACE_SYSTEM smbus
......
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* Types and definitions for AF_RXRPC. /* Types and definitions for AF_RXRPC.
* *
* Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#ifndef _UAPI_LINUX_RXRPC_H #ifndef _UAPI_LINUX_RXRPC_H
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* Task credentials management - see Documentation/security/credentials.rst /* Task credentials management - see Documentation/security/credentials.rst
* *
* Copyright (C) 2008 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#include <linux/export.h> #include <linux/export.h>
#include <linux/cred.h> #include <linux/cred.h>
......
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* Module internals /* Module internals
* *
* Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#include <linux/elf.h> #include <linux/elf.h>
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* Module signature checker /* Module signature checker
* *
* Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* Decoder for ASN.1 BER/DER/CER encoded bytestream /* Decoder for ASN.1 BER/DER/CER encoded bytestream
* *
* Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#include <linux/export.h> #include <linux/export.h>
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* Generic associative array implementation. /* Generic associative array implementation.
* *
* See Documentation/core-api/assoc_array.rst for information. * See Documentation/core-api/assoc_array.rst for information.
* *
* Copyright (C) 2013 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2013 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
//#define DEBUG //#define DEBUG
#include <linux/rcupdate.h> #include <linux/rcupdate.h>
......
#!/usr/bin/perl -w #!/usr/bin/perl -w
# SPDX-License-Identifier: GPL-2.0-or-later
# #
# Build a static ASN.1 Object Identified (OID) registry # Build a static ASN.1 Object Identified (OID) registry
# #
# Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. # Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
# Written by David Howells (dhowells@redhat.com) # Written by David Howells (dhowells@redhat.com)
# #
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public Licence
# as published by the Free Software Foundation; either version
# 2 of the Licence, or (at your option) any later version.
#
use strict; use strict;
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* Function to determine if a thread group is single threaded or not /* Function to determine if a thread group is single threaded or not
* *
* Copyright (C) 2008 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
* - Derived from security/selinux/hooks.c * - Derived from security/selinux/hooks.c
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#include <linux/sched/signal.h> #include <linux/sched/signal.h>
#include <linux/sched/task.h> #include <linux/sched/task.h>
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* ASN.1 Object identifier (OID) registry /* ASN.1 Object identifier (OID) registry
* *
* Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#include <linux/module.h> #include <linux/module.h>
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* Client connection-specific management code. /* Client connection-specific management code.
* *
* Copyright (C) 2016 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
* *
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*
*
* Client connections need to be cached for a little while after they've made a * Client connections need to be cached for a little while after they've made a
* call so as to handle retransmitted DATA packets in case the server didn't * call so as to handle retransmitted DATA packets in case the server didn't
* receive the final ACK or terminating ABORT we sent it. * receive the final ACK or terminating ABORT we sent it.
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* Service connection management /* Service connection management
* *
* Copyright (C) 2016 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#include <linux/slab.h> #include <linux/slab.h>
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* Null security operations. /* Null security operations.
* *
* Copyright (C) 2016 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#include <net/af_rxrpc.h> #include <net/af_rxrpc.h>
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* Local endpoint object management /* Local endpoint object management
* *
* Copyright (C) 2016 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
......
// SPDX-License-Identifier: GPL-2.0-or-later
/* Miscellaneous bits /* Miscellaneous bits
* *
* Copyright (C) 2016 Red Hat, Inc. All Rights Reserved. * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com) * Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment