we have one more adjusment
ecryptfs-utils-96.orig/src/utils/mount.ecryptfs_private.c
- if (mount(src, ".", FSTYPE, 0, opt) == 0) { + if (mount(src, ".", FSTYPE, MS_NOSUID|MS_NODEV, opt) == 0) {
So pass in both MS_NOSUID and MS_NODEV just for the chance that someone tries to put a setuid binary or device node under us.
we have one more adjusment
ecryptfs- utils-96. orig/src/ utils/mount. ecryptfs_ private. c
- if (mount(src, ".", FSTYPE, 0, opt) == 0) {
+ if (mount(src, ".", FSTYPE, MS_NOSUID|MS_NODEV, opt) == 0) {
So pass in both MS_NOSUID and MS_NODEV just for the chance that someone tries to put a setuid binary or device node under us.