[all-commits] [llvm/llvm-project] 867f97: [libc] Add secure_getenv implementation for Linux ...

Jeff Bailey via All-commits all-commits at lists.llvm.org
Tue Sep 22 11:44:04 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 867f97f60129539126354f2c73f9235c0f60b806
      https://github.com/llvm/llvm-project/commit/867f97f60129539126354f2c73f9235c0f60b806
  Author: Jeff Bailey <jbailey at raspberryginger.com>
  Date:   2026-09-22 (Tue, 22 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/include/stdlib.yaml
    M libc/src/stdlib/CMakeLists.txt
    M libc/src/stdlib/linux/CMakeLists.txt
    A libc/src/stdlib/linux/secure_getenv.cpp
    A libc/src/stdlib/secure_getenv.h
    M libc/test/integration/src/stdlib/CMakeLists.txt
    A libc/test/integration/src/stdlib/secure_getenv_test.cpp

  Log Message:
  -----------
  [libc] Add secure_getenv implementation for Linux (#225013)

Add implementation of POSIX.1-2024 secure_getenv for Linux.

* Fullbuild mode only
* Query AT_SECURE from the auxiliary vector, failing closed if missing
or non-zero.
* Add integration test verifying normal operation and secure execution
mode behavior.

Assisted-by: Automated tooling, human reviewed.



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