CI: revert the mmap_rnd_bits kludge
authorEvgeny Vereshchagin <evvers@ya.ru>
Thu, 21 Mar 2024 06:56:15 +0000 (06:56 +0000)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 21 Mar 2024 09:22:43 +0000 (10:22 +0100)
This reverts commit 2e0c2fb8fb15faeedf213930a4c2a3a6d584101f and commit
b7c7498de814b1e9825b43c28e307a7f0af8ffd2 now that
https://github.com/actions/runner-images/issues/9491 is closed.

.github/workflows/build_test.yml
.github/workflows/cflite_pr.yml
.github/workflows/cifuzz.yml
.github/workflows/unit_tests.yml

index 9ef233298003bfb918e384b7dd96410675a9220a..b6476d7045239d4853172836dd0a5cd637b0ae91 100644 (file)
@@ -34,8 +34,5 @@ jobs:
     steps:
       - name: Repository checkout
         uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
-      # FIXME: drop once https://github.com/actions/runner-images/issues/9491  is resolved
-      - name: Reduce ASLR entropy
-        run: sudo sysctl -w vm.mmap_rnd_bits=28
       - name: Build check
         run: .github/workflows/build_test.sh
index bf7a14e356ac94c2b208bff0074b23666b59433d..707ea0b6ba625996e7736b38a4dbc1fc0a1bf117 100644 (file)
@@ -23,7 +23,6 @@ jobs:
       matrix:
         sanitizer: [address, undefined, memory]
     steps:
-    - run: sudo sysctl -w vm.mmap_rnd_bits=28
     - name: Build Fuzzers
       id: build
       uses: google/clusterfuzzlite/actions/build_fuzzers@v1
index 3aaaa3fd751f6e438e3e692baa9de0ed65fef380..a12ad9335f9d00ae230ab93b44caccf1752b9799 100644 (file)
@@ -39,7 +39,6 @@ jobs:
       security-events: write
 
     steps:
-      - run: sudo sysctl -w vm.mmap_rnd_bits=28
       - name: Build Fuzzers
         id: build
         uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
index 9942df6be2cfe40600895afe9449edc7b4ce0cda..4c398e9eaeb8445b558485d3f49ee2d32474974e 100644 (file)
@@ -31,9 +31,6 @@ jobs:
     steps:
       - name: Repository checkout
         uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
-      # FIXME: drop once https://github.com/actions/runner-images/issues/9491  is resolved
-      - name: Reduce ASLR entropy
-        run: sudo sysctl -w vm.mmap_rnd_bits=28
       - name: Install build dependencies
         run: |
           # Drop XDG_* stuff from /etc/environment, so we don't get the user