aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/x86/sigreturn.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2019-05-29 07:18:02 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-05 17:36:37 +0200
commit2025cf9e193de05b0654570dd639acb49ebd3adf (patch)
tree1d5717613a192de952ad15c084f9ea4891dc8022 /tools/testing/selftests/x86/sigreturn.c
parenttreewide: Replace GPLv2 boilerplate/reference with SPDX - rule 287 (diff)
downloadlinux-dev-2025cf9e193de05b0654570dd639acb49ebd3adf.tar.xz
linux-dev-2025cf9e193de05b0654570dd639acb49ebd3adf.zip
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288
Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms and conditions of the gnu general public license version 2 as published by the free software foundation this program is distributed in the hope it will be useful but without any warranty without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 263 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Allison Randal <allison@lohutok.net> Reviewed-by: Alexios Zavras <alexios.zavras@intel.com> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190529141901.208660670@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/x86/sigreturn.c')
-rw-r--r--tools/testing/selftests/x86/sigreturn.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/tools/testing/selftests/x86/sigreturn.c b/tools/testing/selftests/x86/sigreturn.c
index 4d9dc3f2fd70..3e49a7873f3e 100644
--- a/tools/testing/selftests/x86/sigreturn.c
+++ b/tools/testing/selftests/x86/sigreturn.c
@@ -1,16 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
/*
* sigreturn.c - tests for x86 sigreturn(2) and exit-to-userspace
* Copyright (c) 2014-2015 Andrew Lutomirski
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
* This is a series of tests that exercises the sigreturn(2) syscall and
* the IRET / SYSRET paths in the kernel.
*