[PATCH] renameat2: add system call number for i386

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: "Theodore Ts'o" <tytso@xxxxxxx>
Cc: Miklos Szeredi <mszeredi@xxxxxxx>
---
 src/renameat2.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/renameat2.c b/src/renameat2.c
index 5145959..8613aa9 100644
--- a/src/renameat2.c
+++ b/src/renameat2.c
@@ -14,6 +14,10 @@
 #define SYS_renameat2 316
 #endif
 
+#if !defined(SYS_renameat2) && defined(__i386__)
+#define SYS_renameat2 353
+#endif
+
 static int renameat2(int dfd1, const char *path1,
 		     int dfd2, const char *path2,
 		     unsigned int flags)
-- 
1.9.0

--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux