[all-commits] [llvm/llvm-project] 3383ec: [libc] Ensure the result of the clone syscall is n...

Siva Chandra via All-commits all-commits at lists.llvm.org
Sun Aug 29 21:37:05 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3383ec5fdd04be095678e0bd8bd1ce341f4f9294
      https://github.com/llvm/llvm-project/commit/3383ec5fdd04be095678e0bd8bd1ce341f4f9294
  Author: Siva Chandra Reddy <sivachandra at google.com>
  Date:   2021-08-30 (Mon, 30 Aug 2021)

  Changed paths:
    M libc/src/threads/linux/CMakeLists.txt
    M libc/src/threads/linux/thrd_create.cpp

  Log Message:
  -----------
  [libc] Ensure the result of the clone syscall is not on stack in thrd_create.

Also, added a call to munmap on error in thrd_create.




More information about the All-commits mailing list