diff options
author | 2021-03-04 14:33:58 +0100 | |
---|---|---|
committer | 2021-03-06 15:28:10 +0100 | |
commit | eb70910ba6fecf59c193d40c94ba6bbcfa3806f0 (patch) | |
tree | 165523dada7a8cdbbcccc9e0646f6b818fca9760 /src/lib | |
parent | Merge pull request #4048 from tredondo/patch-1 (diff) | |
download | firejail-eb70910ba6fecf59c193d40c94ba6bbcfa3806f0.tar.gz firejail-eb70910ba6fecf59c193d40c94ba6bbcfa3806f0.tar.zst firejail-eb70910ba6fecf59c193d40c94ba6bbcfa3806f0.zip |
private-lib: move from copying to mounting (#3980)
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/ldd_utils.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/ldd_utils.c b/src/lib/ldd_utils.c index 43fee4f21..cd60d74e4 100644 --- a/src/lib/ldd_utils.c +++ b/src/lib/ldd_utils.c | |||
@@ -23,12 +23,14 @@ | |||
23 | #include <sys/stat.h> | 23 | #include <sys/stat.h> |
24 | #include <fcntl.h> | 24 | #include <fcntl.h> |
25 | 25 | ||
26 | // todo: resolve overlap with masked_lib_dirs[] array from fs_lib.c | ||
26 | const char * const default_lib_paths[] = { | 27 | const char * const default_lib_paths[] = { |
27 | "/usr/lib/x86_64-linux-gnu", // Debian & friends | 28 | "/usr/lib/x86_64-linux-gnu", // Debian & friends |
28 | "/lib/x86_64-linux-gnu", // CentOS, Fedora | 29 | "/lib/x86_64-linux-gnu", // CentOS, Fedora |
30 | "/usr/lib64", | ||
31 | "/lib64", | ||
29 | "/usr/lib", | 32 | "/usr/lib", |
30 | "/lib", | 33 | "/lib", |
31 | "/lib64", | ||
32 | LIBDIR, | 34 | LIBDIR, |
33 | "/usr/local/lib64", | 35 | "/usr/local/lib64", |
34 | "/usr/local/lib", | 36 | "/usr/local/lib", |