[infra] Support RPM-based distributions with SELinux enabled
- Dominant language
- Shell
- Stars
- 12.6k
- Forks
- 2.9k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 62
Description
I was doing some testing of new local build, and trying to fuzz it.
My command:
```bash
python infra/helper.py build_image open5gs
python infra/helper.py build_fuzzers open5gs --engine libfuzzer --sanitizer address
python infra/helper.py check_build open5gs --engine libfuzzer --sanitizer address
python infra/helper.py run_fuzzer open5gs --engine libfuzzer --sanitizer address gtp_message_fuzz
ERROR:__main__:gtp_message_fuzz does not seem to exist. Please run build_fuzzers first.
```
Debug:
```bash
ls build/out/open5gs/
gtp_message_fuzz gtp_message_fuzz_seed_corpus.zip lib llvm-symbolizer nas_message_fuzz nas_message_fuzz_seed_corpus.zip
```
Contributor guide
Research direction
Start with infra/helper.py and reproduce the listed build_fuzzers, check_build, and run_fuzzer commands for open5gs, comparing the reported missing fuzzer with build/out/open5gs/ where gtp_message_fuzz is present. Before changing behavior, resolve how this reproduction relates to the title's RPM-based distributions and SELinux scope; done should mean the intended workflow works on those environments.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, shell
- Domain
- build-system, infrastructure, security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100