Skip to contentSkip to conversation

alpha_table.h: Syscall 511 is getrandom, not renameat2

PATCH In review James Clarke 2 participants 2 messages Jul 23, 2016 – Jul 26, 2016 Library code

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 alpha_table.h: Syscall 511 is getrandom, not renameat2

---
This fixes gen_alpha_tables_h aborting due to renameat2 being duplicated.

 lib/alpha_table.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/alpha_table.h +1 -1
index 08171cc..c43744f 100644
@@ -451,6 +451,6 @@ _S(507, "finit_module")
 _S(508, "sched_setattr")
 _S(509, "sched_getattr")
 _S(510, "renameat2")
-_S(511, "renameat2")
+_S(511, "getrandom")
 _S(512, "memfd_create")
 _S(513, "execveat")
Signature · 1 line
2.9.1
#1 lore raw
Quoted 11 lines · EDT James Clarke

---
This fixes gen_alpha_tables_h aborting due to renameat2 being duplicated.

 lib/alpha_table.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/alpha_table.h +0 -0
index 08171cc..c43744f 100644

lib/alpha_table.h _S(507, "finit_module") · line 456

Quoted 7 lines
lib/alpha_table.h +1 -1
@@ -451,6 +451,6 @@ _S(507, "finit_module")
 _S(508, "sched_setattr")
 _S(509, "sched_getattr")
 _S(510, "renameat2")
-_S(511, "renameat2")
+_S(511, "getrandom")
 _S(512, "memfd_create")
 _S(513, "execveat")

Fixed in commit 1368.

Thanks!

-Steve