[all-commits] [llvm/llvm-project] dc8877: [libc] Implement getentropy in sys/random (#226501)

Aman Maurya via All-commits all-commits at lists.llvm.org
Tue Sep 29 22:09:58 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dc887712dab0a5d1f234f9c4a0942c1ff2999a70
      https://github.com/llvm/llvm-project/commit/dc887712dab0a5d1f234f9c4a0942c1ff2999a70
  Author: Aman Maurya <amanmaurya9209 at gmail.com>
  Date:   2026-09-30 (Wed, 30 Sep 2026)

  Changed paths:
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/riscv/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/config/linux/x86_64/exclude.txt
    M libc/include/sys/random.yaml
    M libc/src/sys/random/CMakeLists.txt
    A libc/src/sys/random/getentropy.h
    M libc/src/sys/random/linux/CMakeLists.txt
    A libc/src/sys/random/linux/getentropy.cpp
    M libc/test/src/sys/random/linux/CMakeLists.txt
    A libc/test/src/sys/random/linux/getentropy_test.cpp

  Log Message:
  -----------
  [libc] Implement getentropy in sys/random (#226501)

Implement the standard POSIX.1-2024 function `getentropy` in
`<sys/random.h>`, bringing `<sys/random.h>` to 100% completion.

Fixes #226458



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list