diff options
author | 2021-03-10 09:11:21 -0500 | |
---|---|---|
committer | 2021-03-10 09:11:21 -0500 | |
commit | c3e3de5c81b1d84c4becb2ad05b743deb36a0bf1 (patch) | |
tree | 80b75e3fada2723703c0b4bd49665269f8a366de /src/lib/ldd_utils.c | |
parent | more jailtest (diff) | |
parent | private-lib: move from copying to mounting (#3980) (diff) | |
download | firejail-c3e3de5c81b1d84c4becb2ad05b743deb36a0bf1.tar.gz firejail-c3e3de5c81b1d84c4becb2ad05b743deb36a0bf1.tar.zst firejail-c3e3de5c81b1d84c4becb2ad05b743deb36a0bf1.zip |
Merge pull request #4045 from smitsohu/privatelib8
private-lib: move to mount-only
Diffstat (limited to 'src/lib/ldd_utils.c')
-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", |