mirror of
https://github.com/systemd/systemd.git
synced 2025-03-28 02:50:16 +03:00
tools/oss-fuzz: install private shared library non-executable (#8927)
Apparently oss-fuzz's "bad build check" is confused by the library. Let's make it non-executable, so the checker ignores it. Should fix https://github.com/google/oss-fuzz/issues/1330.
This commit is contained in:
parent
3c88cbeed4
commit
3c31f3a575
@ -46,8 +46,8 @@ df=$build/dns-fuzzing
|
||||
git clone --depth 1 https://github.com/CZ-NIC/dns-fuzzing $df
|
||||
zip -jqr $OUT/fuzz-dns-packet_seed_corpus.zip $df/packet
|
||||
|
||||
mkdir -p $OUT/src/shared
|
||||
mv $build/src/shared/libsystemd-shared-*.so $OUT/src/shared
|
||||
# install the private shared library without executable permissions
|
||||
install -Dt $OUT/src/shared/ -m 0644 $build/src/shared/libsystemd-shared-*.so
|
||||
|
||||
find $build -maxdepth 1 -type f -executable -name "fuzz-*" -exec mv {} $OUT \;
|
||||
cp src/fuzz/*.options $OUT
|
||||
|
Loading…
x
Reference in New Issue
Block a user