[all-commits] [llvm/llvm-project] defd0d: [libc] implement unistd/getentropy (#122692)

Schrodinger ZHU Yifan via All-commits all-commits at lists.llvm.org
Wed Jan 15 02:27:27 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: defd0d966d5ebae37787e76b86f2f2ff2a5cfd59
      https://github.com/llvm/llvm-project/commit/defd0d966d5ebae37787e76b86f2f2ff2a5cfd59
  Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
  Date:   2025-01-15 (Wed, 15 Jan 2025)

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

  Log Message:
  -----------
  [libc] implement unistd/getentropy (#122692)

Implement GNU extension getentropy. This function is used by many
programs to acquire entropy without handling the loop of getrandom.



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