interplane.Get Omega
Read in your language

aienux

Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.

Brought by drakestapleton

branch main Branches Tags History

aienux / vendor / getrandom / src / linux_android.rs

7 lines · 275 bytes Raw Blame History
1//! Implementation for Linux / Android without `/dev/urandom` fallback
2use crate::{util_libc, Error};
3use core::mem::MaybeUninit;
4
5pub fn getrandom_inner(dest: &mut [MaybeUninit<u8>]) -> Result<(), Error> {
6 util_libc::sys_fill_exact(dest, util_libc::getrandom_syscall)
7}