-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I get random numbers on L4RE #1
Comments
Not really, I'm afraid. The L4Re kernel does not provide randomness by itself. Instead a user-land service would need to provide randomness using appropriate hardware for the system. There is currently no such service implemented as part of the L4Re core services, so you'd have to write your own. |
Thanks for the response @lonvia We're just going to fallback to using |
That is a false impression. L4Re supports x86, ARM and MIPS all in 32 and 64 bit. |
Sorry, I meant to say that the only supported Rust targets are for x86_64. |
I guess this can be closed now... |
This commit collects the following upstream updates to uclibc-ng in features that are not currently used by L4Re, such as the ARC and nds32 architectures or nptl: add init_module/delete_module syscall wrappers use multiline comment for better copyright parsing nptl: remove pthread_attr_init/pthread_create weak aliases nptl_db: fix gcc compiler warnings -- fts: fix gcc compiler warning Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> -- ARC: ldso: don't use _DYNAMIC@gotpc construct #1 ARC: ldso: don't use _DYNAMIC@gotpc construct #2 Signed-off-by: Vineet Gupta <vgupta@synopsys.com> -- nds32: add NPTL/TLS, *context function, libm changes and code cleanup Signed-off-by: Vincent Ren-Wei Chen <vincentc@andestech.com> -- remove PID caching Reviewed-by: Max Filippov <jcmvbkbc@gmail.com> Reviewed-by: Vineet Gupta <Vineet.Gupta1@synopsys.com> Acked-by: Matthew Fortune <Matthew.Fortune@imgtec.com> Acked-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com> -- extract six-argument syscalls from the rest use safe, even if possibly a few cycles slower, six-argument syscall implementation Signed-off-by: mirabilos <m@mirbsd.org> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Change-Id: I3cabbe3768071c547d1b19eb9aa9360a72712aa3
This commit collects the following upstream updates to uclibc-ng in features that are not currently used by L4Re, such as the ARC and nds32 architectures or nptl: add init_module/delete_module syscall wrappers use multiline comment for better copyright parsing nptl: remove pthread_attr_init/pthread_create weak aliases nptl_db: fix gcc compiler warnings -- fts: fix gcc compiler warning Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> -- ARC: ldso: don't use _DYNAMIC@gotpc construct kernkonzept#1 ARC: ldso: don't use _DYNAMIC@gotpc construct kernkonzept#2 Signed-off-by: Vineet Gupta <vgupta@synopsys.com> -- nds32: add NPTL/TLS, *context function, libm changes and code cleanup Signed-off-by: Vincent Ren-Wei Chen <vincentc@andestech.com> -- remove PID caching Reviewed-by: Max Filippov <jcmvbkbc@gmail.com> Reviewed-by: Vineet Gupta <Vineet.Gupta1@synopsys.com> Acked-by: Matthew Fortune <Matthew.Fortune@imgtec.com> Acked-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com> -- extract six-argument syscalls from the rest use safe, even if possibly a few cycles slower, six-argument syscall implementation Signed-off-by: mirabilos <m@mirbsd.org> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Change-Id: I3cabbe3768071c547d1b19eb9aa9360a72712aa3
This commit collects the following upstream updates to uclibc-ng in features that are not currently used by L4Re, such as the ARC and nds32 architectures or nptl: add init_module/delete_module syscall wrappers use multiline comment for better copyright parsing nptl: remove pthread_attr_init/pthread_create weak aliases nptl_db: fix gcc compiler warnings -- fts: fix gcc compiler warning Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> -- ARC: ldso: don't use _DYNAMIC@gotpc construct kernkonzept#1 ARC: ldso: don't use _DYNAMIC@gotpc construct kernkonzept#2 Signed-off-by: Vineet Gupta <vgupta@synopsys.com> -- nds32: add NPTL/TLS, *context function, libm changes and code cleanup Signed-off-by: Vincent Ren-Wei Chen <vincentc@andestech.com> -- remove PID caching Reviewed-by: Max Filippov <jcmvbkbc@gmail.com> Reviewed-by: Vineet Gupta <Vineet.Gupta1@synopsys.com> Acked-by: Matthew Fortune <Matthew.Fortune@imgtec.com> Acked-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com> -- extract six-argument syscalls from the rest use safe, even if possibly a few cycles slower, six-argument syscall implementation Signed-off-by: mirabilos <m@mirbsd.org> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Change-Id: I3cabbe3768071c547d1b19eb9aa9360a72712aa3
This commit collects the following upstream updates to uclibc-ng in features that are not currently used by L4Re, such as the ARC and nds32 architectures or nptl: add init_module/delete_module syscall wrappers use multiline comment for better copyright parsing nptl: remove pthread_attr_init/pthread_create weak aliases nptl_db: fix gcc compiler warnings -- fts: fix gcc compiler warning Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> -- ARC: ldso: don't use _DYNAMIC@gotpc construct kernkonzept#1 ARC: ldso: don't use _DYNAMIC@gotpc construct kernkonzept#2 Signed-off-by: Vineet Gupta <vgupta@synopsys.com> -- nds32: add NPTL/TLS, *context function, libm changes and code cleanup Signed-off-by: Vincent Ren-Wei Chen <vincentc@andestech.com> -- remove PID caching Reviewed-by: Max Filippov <jcmvbkbc@gmail.com> Reviewed-by: Vineet Gupta <Vineet.Gupta1@synopsys.com> Acked-by: Matthew Fortune <Matthew.Fortune@imgtec.com> Acked-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com> -- extract six-argument syscalls from the rest use safe, even if possibly a few cycles slower, six-argument syscall implementation Signed-off-by: mirabilos <m@mirbsd.org> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Change-Id: I3cabbe3768071c547d1b19eb9aa9360a72712aa3
I'm working on the
getrandom
Rust crate, and we're looking to add an implementation for the newx86_64-unknown-l4re-uclibc
target.Is there an easy way (like Linux's
getrandom(2)
) to get entropy on L4Re?The text was updated successfully, but these errors were encountered: