1 // SPDX-License-Identifier: GPL-2.0 1 2 3 #include <uapi/asm-generic/errno.h> 4 5 typeof(__cvdso_getrandom) __kernel_getrandom; 6 7 ssize_t __kernel_getrandom(void *buffer, size_ 8 { 9 if (alternative_has_cap_likely(ARM64_H 10 return __cvdso_getrandom(buffe 11 12 if (unlikely(opaque_len == ~0UL && !bu 13 return -ENOSYS; 14 return getrandom_syscall(buffer, len, 15 } 16
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.