Removed unnecessary VMA flags setup for Android
authorNikita Kalyazin <n.kalyazin@samsung.com>
Tue, 28 Jun 2011 05:05:00 +0000 (09:05 +0400)
committerNikita Kalyazin <n.kalyazin@samsung.com>
Tue, 28 Jun 2011 05:05:00 +0000 (09:05 +0400)
driver/us_proc_inst.c

index 4030d71..f9a4bac 100644 (file)
@@ -355,9 +355,6 @@ static int install_mapped_ips (struct task_struct *task, inst_us_proc_t* task_in
                        vma = vma->vm_next;
                        continue;
                }
-#ifdef __ANDROID
-           vma->vm_flags |= (VM_WRITE | VM_MAYWRITE | VM_READ | VM_MAYREAD);
-#endif // __ANDROID
 
                /**
                 * After process was forked, some time it inherits parent process environment.