Skip to content

Commit bc7c4ee

Browse files
committed
rust: allow ELF binaries to load ld-linux-x86-64.so.2
This dependency is now present. Why, I'm unsure. But I think it is safe to allow, as the Linux loader should be pretty ubiquitous.
1 parent 2ed813b commit bc7c4ee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ const ELF_ALLOWED_LIBRARIES: &[&str] = &[
4646
"libpthread.so.0",
4747
"librt.so.1",
4848
"libutil.so.1",
49+
// Linux loader.
50+
"ld-linux-x86-64.so.2",
4951
// Our set.
5052
"libpython3.8.so.1.0",
5153
"libpython3.9.so.1.0",

0 commit comments

Comments
 (0)