[libcxx-commits] [PATCH] D110938: [libcxx][utils] Note read only mount and ptrace permission in container script

David Spickett via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Oct 1 07:51:02 PDT 2021


DavidSpickett created this revision.
DavidSpickett added a reviewer: ldionne.
Herald added a subscriber: arichardson.
DavidSpickett requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D110938

Files:
  libcxx/utils/ci/run-buildbot-container


Index: libcxx/utils/ci/run-buildbot-container
===================================================================
--- libcxx/utils/ci/run-buildbot-container
+++ libcxx/utils/ci/run-buildbot-container
@@ -8,9 +8,9 @@
 # `run-buildbot` script.
 #
 # This script must be run from within the LLVM monorepo. Furthermore, the
-# monorepo will be mounted as `/llvm` inside the container. Be careful, the
-# state in `/llvm` is shared between the container and the host machine, which
-# is useful for editing files on the host machine and re-running the build bot
+# monorepo will be read-only mounted as `/llvm` inside the container. Be careful,
+# the state in `/llvm` is shared between the container and the host machine,
+# which is useful for editing files on the host machine and re-running the build bot
 # in the container.
 
 set -e
@@ -21,4 +21,5 @@
     exit 1
 fi
 docker pull ldionne/libcxx-builder
+# Add "--cap-add=SYS_PTRACE" here if you need to ptrace within the container
 docker run -it --volume "${MONOREPO_ROOT}:/llvm" --workdir "/llvm" ldionne/libcxx-builder bash


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110938.376539.patch
Type: text/x-patch
Size: 1079 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20211001/ee6a88ce/attachment.bin>


More information about the libcxx-commits mailing list