diff options
author | Djalal Harouni <tixxdz@opendz.org> | 2016-05-26 22:38:25 +0200 |
---|---|---|
committer | Djalal Harouni <tixxdz@opendz.org> | 2016-05-26 22:38:25 +0200 |
commit | 87c05f365d0f11e7207e9ff03a50e5988e1af5ce (patch) | |
tree | bc4e83ae3f39b54e2e1c20e93ea9c8f21bb805d9 /src/nspawn/nspawn-patch-uid.c | |
parent | acc0269cad31d1aaef2034a055b34c07c88a353d (diff) |
nspawn: a bench of special fileystems that should not be shifted
Add some special filesystems that should not be shifted, most of them
relate to the host and not to containers.
Diffstat (limited to 'src/nspawn/nspawn-patch-uid.c')
-rw-r--r-- | src/nspawn/nspawn-patch-uid.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nspawn/nspawn-patch-uid.c b/src/nspawn/nspawn-patch-uid.c index c7382d412d..6b26b074d9 100644 --- a/src/nspawn/nspawn-patch-uid.c +++ b/src/nspawn/nspawn-patch-uid.c @@ -300,6 +300,9 @@ static int is_procfs_sysfs_or_suchlike(int fd) { F_TYPE_EQUAL(sfs.f_type, PSTOREFS_MAGIC) || F_TYPE_EQUAL(sfs.f_type, SELINUX_MAGIC) || F_TYPE_EQUAL(sfs.f_type, SMACK_MAGIC) || + F_TYPE_EQUAL(sfs.f_type, SECURITYFS_MAGIC) || + F_TYPE_EQUAL(sfs.f_type, BPF_FS_MAGIC) || + F_TYPE_EQUAL(sfs.f_type, TRACEFS_MAGIC) || F_TYPE_EQUAL(sfs.f_type, SYSFS_MAGIC); } |