summaryrefslogtreecommitdiffstats
path: root/include/linux/syscalls.h
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2014-04-08 12:55:46 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-08 09:24:25 -0700
commit5fb6b953bb7aa86a9c8ea760934982cedc45c52b (patch)
treeced295facbbfdb851a56541aa38174539719b400 /include/linux/syscalls.h
parenta7963eb7f4c4b5df84d5dd5083734278ad75bafb (diff)
downloadblackbird-obmc-linux-5fb6b953bb7aa86a9c8ea760934982cedc45c52b.tar.gz
blackbird-obmc-linux-5fb6b953bb7aa86a9c8ea760934982cedc45c52b.zip
include/linux/syscalls.h: add sys_renameat2() prototype
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/syscalls.h')
-rw-r--r--include/linux/syscalls.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h
index 2aa8b749f13d..697ceb70a9a9 100644
--- a/include/linux/syscalls.h
+++ b/include/linux/syscalls.h
@@ -748,6 +748,9 @@ asmlinkage long sys_linkat(int olddfd, const char __user *oldname,
int newdfd, const char __user *newname, int flags);
asmlinkage long sys_renameat(int olddfd, const char __user * oldname,
int newdfd, const char __user * newname);
+asmlinkage long sys_renameat2(int olddfd, const char __user *oldname,
+ int newdfd, const char __user *newname,
+ unsigned int flags);
asmlinkage long sys_futimesat(int dfd, const char __user *filename,
struct timeval __user *utimes);
asmlinkage long sys_faccessat(int dfd, const char __user *filename, int mode);
OpenPOWER on IntegriCloud