commit | fe722218ddf92429a72792ccde4f8528f0abcd3d | [log] [tgz] |
---|---|---|
author | Mike Lockwood <lockwood@android.com> | Tue Jun 29 11:59:39 2010 -0700 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Tue Jun 29 11:59:39 2010 -0700 |
tree | 57a2edec0bcead8c893449eb32c084f9ad44655c | |
parent | b22fd04b63d390bce5a5745aed95481243ca780a [diff] | |
parent | 69286093d00186ecf2354d8f19934630500b21c4 [diff] |
Merge "ueventd.rc: Give the USB group read/write access to the MTP USB driver."
diff --git a/init/init.c b/init/init.c index 8f95da7..98539b8 100755 --- a/init/init.c +++ b/init/init.c
@@ -673,7 +673,7 @@ mkdir("/proc", 0755); mkdir("/sys", 0755); - mount("tmpfs", "/dev", "tmpfs", 0, "mode=0755"); + mount("tmpfs", "/dev", "tmpfs", MS_NOSUID, "mode=0755"); mkdir("/dev/pts", 0755); mkdir("/dev/socket", 0755); mount("devpts", "/dev/pts", "devpts", 0, NULL);