Merge tag 'pidfd-updates-v5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/braun...
[platform/kernel/linux-rpi.git] / include / linux / syscalls.h
index 989055e..699aed6 100644 (file)
@@ -1,11 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * syscalls.h - Linux syscall interfaces (non-arch-specific)
  *
  * Copyright (c) 2004 Randy Dunlap
  * Copyright (c) 2004 Open Source Development Labs
- *
- * This file is released under the GPLv2.
- * See the file COPYING for more details.
  */
 
 #ifndef _LINUX_SYSCALLS_H
@@ -266,7 +264,7 @@ static inline void addr_limit_user_check(void)
 
        if (CHECK_DATA_CORRUPTION(!segment_eq(get_fs(), USER_DS),
                                  "Invalid address limit on user-mode return"))
-               force_sig(SIGKILL, current);
+               force_sig(SIGKILL);
 
 #ifdef TIF_FSCHECK
        clear_thread_flag(TIF_FSCHECK);