forked from mirrors/nixpkgs
fix FHSUserEnv blacklists
This commit is contained in:
parent
c1d9f57dcc
commit
a3488fb9ac
|
@ -19,7 +19,7 @@
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
|
|
||||||
const gchar *bind_blacklist[] = {"bin", "etc", "host", "usr", NULL};
|
const gchar *bind_blacklist[] = {"bin", "etc", "host", "usr", "lib", "lib64", "lib32", "sbin", NULL};
|
||||||
|
|
||||||
void bind_mount(const gchar *source, const gchar *target) {
|
void bind_mount(const gchar *source, const gchar *target) {
|
||||||
fail_if(g_mkdir(target, 0755));
|
fail_if(g_mkdir(target, 0755));
|
||||||
|
|
Loading…
Reference in a new issue