[t7] Mount /realdata without "nosuid"

This commit is contained in:
Vojtech Bocek
2013-09-23 17:20:59 +02:00
parent a527521639
commit 6f4b1d7b8f
2 changed files with 5 additions and 1 deletions

View File

@@ -135,6 +135,10 @@ static void mount_and_run(struct fstab *fstab)
return;
}
// Remove nosuid flag, because secondary ROMs have
// su binaries on /data
p->mountflags &= ~(MS_NOSUID);
mkdir(REALDATA, 0755);
if (mount(p->device, REALDATA, p->type, p->mountflags, p->options) < 0)
{

View File

@@ -18,7 +18,7 @@
#ifndef VERSION_H
#define VERSION_H
#define VERSION_MULTIROM 14
#define VERSION_TRAMPOLINE 6
#define VERSION_TRAMPOLINE 7
// For device-specific fixes. Use letters, the version will then be like "12a"
#define VERSION_DEV_FIX ""