Merge tag 'clone3-v5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner...
[linux-2.6-block.git] / include / linux / syscalls.h
index 60a81f374ca379523fed157af2d4aa62ce59efea..b01d54a5732e3aee142c69295fd1dfbfc780be71 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
@@ -267,7 +265,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);
@@ -933,6 +931,7 @@ asmlinkage long sys_clock_adjtime32(clockid_t which_clock,
                                struct old_timex32 __user *tx);
 asmlinkage long sys_syncfs(int fd);
 asmlinkage long sys_setns(int fd, int nstype);
+asmlinkage long sys_pidfd_open(pid_t pid, unsigned int flags);
 asmlinkage long sys_sendmmsg(int fd, struct mmsghdr __user *msg,
                             unsigned int vlen, unsigned flags);
 asmlinkage long sys_process_vm_readv(pid_t pid,