diff options
author | Szabolcs Nagy <nsz@port70.net> | 2014-07-20 15:43:42 +0200 |
---|---|---|
committer | Szabolcs Nagy <nsz@port70.net> | 2014-07-20 18:42:21 +0200 |
commit | 002e8d84c5fec47636606aef5d2f16914c6097f3 (patch) | |
tree | 872045d3d4bb3bd89374286f93994d5b0016673d /arch/powerpc/bits/syscall.h | |
parent | 1312930f9bdea47006a8a8c8509c0bed5cf69e85 (diff) | |
download | musl-002e8d84c5fec47636606aef5d2f16914c6097f3.tar.gz musl-002e8d84c5fec47636606aef5d2f16914c6097f3.tar.bz2 musl-002e8d84c5fec47636606aef5d2f16914c6097f3.tar.xz musl-002e8d84c5fec47636606aef5d2f16914c6097f3.zip |
add syscall numbers for the new renameat2 syscall
it's like rename but with flags eg. to allow atomic exchange of two files,
introduced in linux 3.15 commit 520c8b16505236fc82daa352e6c5e73cd9870cff
Diffstat (limited to 'arch/powerpc/bits/syscall.h')
-rw-r--r-- | arch/powerpc/bits/syscall.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/bits/syscall.h b/arch/powerpc/bits/syscall.h index 16f0abef..277e223a 100644 --- a/arch/powerpc/bits/syscall.h +++ b/arch/powerpc/bits/syscall.h @@ -370,6 +370,7 @@ #define __NR_kcmp 354 #define __NR_sched_setattr 355 #define __NR_sched_getattr 356 +#define __NR_renameat2 357 /* * repeated with SYS prefix @@ -746,3 +747,4 @@ #define SYS_kcmp 354 #define SYS_sched_setattr 355 #define SYS_sched_getattr 356 +#define SYS_renameat2 357 |