Skip to content

Commit e39c915

Browse files
committed
Try loosening ptrace security.
1 parent ee26153 commit e39c915

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/github-actions.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1213,6 +1213,7 @@ jobs:
12131213
!matrix.cibw_build && matrix.os == 'ubuntu'
12141214
run: >
12151215
sudo apt-get install gdb
1216+
echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope
12161217
- name: cibw build and test
12171218
if: matrix.cibw_build
12181219
run: cibuildwheel

ci/templates/.github/workflows/github-actions.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ jobs:
8787
!matrix.cibw_build && matrix.os == 'ubuntu'
8888
run: >
8989
sudo apt-get install gdb
90+
echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope
9091
- name: cibw build and test
9192
if: matrix.cibw_build
9293
run: cibuildwheel

0 commit comments

Comments
 (0)