Commit 5e467e27 authored by Tony Luck's avatar Tony Luck

[IA64] Wire up getrandom() system call

See commit c6e9d6f3
    random: introduce getrandom(2) system call

for all the details (and even a manual page!)
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent c6e9d6f3
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#define NR_syscalls 315 /* length of syscall table */ #define NR_syscalls 316 /* length of syscall table */
/* /*
* The following defines stop scripts/checksyscalls.sh from complaining about * The following defines stop scripts/checksyscalls.sh from complaining about
......
...@@ -328,5 +328,6 @@ ...@@ -328,5 +328,6 @@
#define __NR_sched_setattr 1336 #define __NR_sched_setattr 1336
#define __NR_sched_getattr 1337 #define __NR_sched_getattr 1337
#define __NR_renameat2 1338 #define __NR_renameat2 1338
#define __NR_getrandom 1339
#endif /* _UAPI_ASM_IA64_UNISTD_H */ #endif /* _UAPI_ASM_IA64_UNISTD_H */
...@@ -1776,6 +1776,7 @@ sys_call_table: ...@@ -1776,6 +1776,7 @@ sys_call_table:
data8 sys_sched_setattr data8 sys_sched_setattr
data8 sys_sched_getattr data8 sys_sched_getattr
data8 sys_renameat2 data8 sys_renameat2
data8 sys_getrandom
.org sys_call_table + 8*NR_syscalls // guard against failures to increase NR_syscalls .org sys_call_table + 8*NR_syscalls // guard against failures to increase NR_syscalls
#endif /* __IA64_ASM_PARAVIRTUALIZED_NATIVE */ #endif /* __IA64_ASM_PARAVIRTUALIZED_NATIVE */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment