[libc-commits] [PATCH] D134919: [libc] add syscall function

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Sep 30 13:20:05 PDT 2022


michaelrj updated this revision to Diff 464379.
michaelrj marked 3 inline comments as done.
michaelrj added a comment.

rename internal function, redo macro definition for type safety


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D134919

Files:
  libc/config/linux/x86_64/entrypoints.txt
  libc/include/llvm-libc-macros/linux/unistd-macros.h
  libc/loader/linux/aarch64/start.cpp
  libc/loader/linux/x86_64/start.cpp
  libc/spec/posix.td
  libc/src/__support/File/linux_dir.cpp
  libc/src/__support/File/linux_file.cpp
  libc/src/__support/OSUtil/linux/aarch64/syscall.h
  libc/src/__support/OSUtil/linux/arm/syscall.h
  libc/src/__support/OSUtil/linux/io.h
  libc/src/__support/OSUtil/linux/quick_exit.h
  libc/src/__support/OSUtil/linux/syscall.h
  libc/src/__support/OSUtil/linux/x86_64/syscall.h
  libc/src/__support/threads/linux/callonce.cpp
  libc/src/__support/threads/linux/mutex.h
  libc/src/__support/threads/linux/thread.cpp
  libc/src/fcntl/linux/creat.cpp
  libc/src/fcntl/linux/open.cpp
  libc/src/fcntl/linux/openat.cpp
  libc/src/sched/linux/sched_getaffinity.cpp
  libc/src/sched/linux/sched_setaffinity.cpp
  libc/src/signal/linux/__restore.cpp
  libc/src/signal/linux/raise.cpp
  libc/src/signal/linux/sigaction.cpp
  libc/src/signal/linux/signal_utils.h
  libc/src/signal/linux/sigprocmask.cpp
  libc/src/stdio/linux/remove.cpp
  libc/src/stdlib/linux/_Exit.cpp
  libc/src/sys/mman/linux/madvise.cpp
  libc/src/sys/mman/linux/mmap.cpp
  libc/src/sys/mman/linux/mprotect.cpp
  libc/src/sys/mman/linux/munmap.cpp
  libc/src/sys/mman/linux/posix_madvise.cpp
  libc/src/sys/resource/linux/getrlimit.cpp
  libc/src/sys/resource/linux/setrlimit.cpp
  libc/src/sys/sendfile/linux/sendfile.cpp
  libc/src/sys/stat/linux/chmod.cpp
  libc/src/sys/stat/linux/fchmod.cpp
  libc/src/sys/stat/linux/fchmodat.cpp
  libc/src/sys/stat/linux/kernel_statx.h
  libc/src/sys/stat/linux/mkdir.cpp
  libc/src/sys/stat/linux/mkdirat.cpp
  libc/src/sys/utsname/linux/uname.cpp
  libc/src/threads/linux/CndVar.h
  libc/src/threads/linux/call_once.cpp
  libc/src/time/clock_gettime.cpp
  libc/src/time/nanosleep.cpp
  libc/src/unistd/CMakeLists.txt
  libc/src/unistd/linux/CMakeLists.txt
  libc/src/unistd/linux/access.cpp
  libc/src/unistd/linux/chdir.cpp
  libc/src/unistd/linux/close.cpp
  libc/src/unistd/linux/dup.cpp
  libc/src/unistd/linux/dup2.cpp
  libc/src/unistd/linux/dup3.cpp
  libc/src/unistd/linux/fchdir.cpp
  libc/src/unistd/linux/fsync.cpp
  libc/src/unistd/linux/ftruncate.cpp
  libc/src/unistd/linux/geteuid.cpp
  libc/src/unistd/linux/getpid.cpp
  libc/src/unistd/linux/getppid.cpp
  libc/src/unistd/linux/getuid.cpp
  libc/src/unistd/linux/link.cpp
  libc/src/unistd/linux/linkat.cpp
  libc/src/unistd/linux/lseek.cpp
  libc/src/unistd/linux/pread.cpp
  libc/src/unistd/linux/pwrite.cpp
  libc/src/unistd/linux/read.cpp
  libc/src/unistd/linux/readlink.cpp
  libc/src/unistd/linux/readlinkat.cpp
  libc/src/unistd/linux/rmdir.cpp
  libc/src/unistd/linux/symlink.cpp
  libc/src/unistd/linux/symlinkat.cpp
  libc/src/unistd/linux/syscall.cpp
  libc/src/unistd/linux/truncate.cpp
  libc/src/unistd/linux/unlink.cpp
  libc/src/unistd/linux/unlinkat.cpp
  libc/src/unistd/linux/write.cpp
  libc/src/unistd/syscall.h
  libc/test/src/__support/OSUtil/linux/x86_64/syscall_test.cpp
  libc/test/src/sched/affinity_test.cpp
  libc/test/src/unistd/CMakeLists.txt
  libc/test/src/unistd/syscall_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134919.464379.patch
Type: text/x-patch
Size: 77594 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220930/d0b389fb/attachment-0001.bin>


More information about the libc-commits mailing list