chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3daa986
)
Copy defines for renameat2 from casync (#6181)
author
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Mon, 26 Jun 2017 07:34:03 +0000
(
03:34
-0400)
committer
Sven Eden
<yamakuzure@gmx.net>
Tue, 25 Jul 2017 07:46:53 +0000
(09:46 +0200)
src/basic/missing_syscall.h
patch
|
blob
|
history
diff --git
a/src/basic/missing_syscall.h
b/src/basic/missing_syscall.h
index 5c5b54ee87edc7b89e85d58cbcf7dac7c2b1df7b..beadf369a4690363a66322c6b7db6201cb3a4c1b 100644
(file)
--- a/
src/basic/missing_syscall.h
+++ b/
src/basic/missing_syscall.h
@@
-220,6
+220,10
@@
static inline pid_t raw_getpid(void) {
# endif
# elif defined __i386__
# define __NR_renameat2 353
+# elif defined __powerpc64__
+# define __NR_renameat2 357
+# elif defined __s390__ || defined __s390x__
+# define __NR_renameat2 347
# elif defined __arc__
# define __NR_renameat2 276
# else