Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | From e4d5d5224609d7d5c824dd231f5baec868befdfa Mon Sep 17 00:00:00 2001 |
| 2 | From: Andrea Adami <andrea.adami@gmail.com> |
| 3 | Date: Tue, 4 Sep 2018 23:56:00 +0200 |
| 4 | Subject: [PATCH 1/1] klibc: add getrandom() syscall |
| 5 | |
| 6 | needed by latest kexec-tools for qemuarm64 (kashan) |
| 7 | |
| 8 | Signed-off-by: Andrea Adami <andrea.adami@gmail.com> |
| 9 | --- |
| 10 | usr/klibc/SYSCALLS.def | 1 + |
| 11 | 1 file changed, 1 insertion(+) |
| 12 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 13 | --- a/usr/klibc/SYSCALLS.def |
| 14 | +++ b/usr/klibc/SYSCALLS.def |
Andrew Geissler | ac970dd | 2021-02-12 15:32:45 -0600 | [diff] [blame] | 15 | @@ -275,6 +275,7 @@ int syslog::klogctl(int, char *, int); |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 16 | int sysinfo(struct sysinfo *); |
| 17 | long kexec_load(void *, unsigned long, struct kexec_segment *, unsigned long); |
| 18 | <x86_64,ppc64,s390x> long kexec_file_load(int, int, unsigned long, const char *, unsigned long); |
| 19 | +ssize_t getrandom(void *, size_t, unsigned int); |
| 20 | |
| 21 | /* |
| 22 | * Low-level I/O (generally architecture-specific); |