[libc-commits] [PATCH] D132533: [libc] Add linux implementation of POSIX fchmodat function.

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Aug 24 11:44:02 PDT 2022


sivachandra updated this revision to Diff 455312.
sivachandra added a comment.

Move the functions back to sys/stat.h. The POSIX documentation confused
me: https://pubs.opengroup.org/onlinepubs/9699919799/functions/fchmodat.html
But, it is actually clear here https://pubs.opengroup.org/onlinepubs/9699919799.2018edition/basedefs/sys_stat.h.html#tag_13_62,
where it says that fchmodat should be declared in sys/stat.h.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132533/new/

https://reviews.llvm.org/D132533

Files:
  libc/config/linux/aarch64/entrypoints.txt
  libc/config/linux/x86_64/entrypoints.txt
  libc/spec/posix.td
  libc/src/sys/stat/CMakeLists.txt
  libc/src/sys/stat/fchmodat.h
  libc/src/sys/stat/linux/CMakeLists.txt
  libc/src/sys/stat/linux/fchmodat.cpp
  libc/test/src/sys/stat/CMakeLists.txt
  libc/test/src/sys/stat/fchmodat_test.cpp
  libc/test/src/sys/stat/testdata/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132533.455312.patch
Type: text/x-patch
Size: 8328 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220824/85c28c7d/attachment-0001.bin>


More information about the libc-commits mailing list