Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP4:Update
kexec-tools
kexec-tools-SYS_getrandom.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kexec-tools-SYS_getrandom.patch of Package kexec-tools
From: Petr Tesarik <ptesarik@suse.com> Subject: Define SYS_getrandom if needed Upstream: never, build fix for SLE12 SLE12 did not provide a definition for SYS_getrandom. Signed-off-by: Petr Tesarik <ptesarik@suse.com> --- kexec/arch/arm64/kexec-arm64.c | 5 +++++ 1 file changed, 5 insertions(+) --- a/kexec/arch/arm64/kexec-arm64.c +++ b/kexec/arch/arm64/kexec-arm64.c @@ -34,6 +34,11 @@ #include "mem_regions.h" #include "arch/options.h" +#ifndef __NR_getrandom +#define __NR_getrandom 278 +__SYSCALL(__NR_getrandom, sys_getrandom) +#endif + #define ROOT_NODE_ADDR_CELLS_DEFAULT 1 #define ROOT_NODE_SIZE_CELLS_DEFAULT 1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor