summaryrefslogtreecommitdiff
path: root/src/shared/install.c
diff options
context:
space:
mode:
authorTopi Miettinen <toiwoton@gmail.com>2015-01-04 20:51:17 +0200
committerLennart Poettering <lennart@poettering.net>2015-01-05 13:24:57 +0100
commitabe4aa144beb3a68e9f2c98a4563e0a99f28c7a1 (patch)
tree215db12a64ca6bc354a99c7cf47dd74573ae004e /src/shared/install.c
parent5ac0162c3af95efa08a07b84ff62ad32842922c7 (diff)
util: Do not clear parent mount flags when setting up namespaces
When setting up a namespace, mount flags like noexec, nosuid and nodev are cleared, so the mounts always have exec, suid and dev flags enabled. Copy source directory mount flags to target mount when remounting the bind mounts.
Diffstat (limited to 'src/shared/install.c')
0 files changed, 0 insertions, 0 deletions