mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
ci: reduce ASLR entropy
The latest GH Action runners started using 32-bit entropy for ASLR, which makes it incompatible with llvm-14. This was fixed in later llvm releases, but these aren't available on Ubuntu Jammy (22.04). Let's reduce the ASLR entropy to 28-bit, which should make llvm happy again, until the issue is resolved. See: https://github.com/actions/runner-images/issues/9491
This commit is contained in:
parent
50a38492c6
commit
b7c7498de8
3
.github/workflows/build_test.yml
vendored
3
.github/workflows/build_test.yml
vendored
@ -34,5 +34,8 @@ jobs:
|
||||
steps:
|
||||
- name: Repository checkout
|
||||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
||||
# 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
|
||||
|
3
.github/workflows/unit_tests.yml
vendored
3
.github/workflows/unit_tests.yml
vendored
@ -31,6 +31,9 @@ jobs:
|
||||
steps:
|
||||
- name: Repository checkout
|
||||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
||||
# 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
|
||||
|
Loading…
Reference in New Issue
Block a user