Re: [PATCH v3 07/10] mm: use mm->exe_file instead of first VM_EXECUTABLE vma->vm_file

2012-07-31 Thread James Morris
On Tue, 31 Jul 2012, Konstantin Khlebnikov wrote: > Some security modules and oprofile still uses VM_EXECUTABLE for retrieving > task's executable file, after this patch they will use mm->exe_file directly. > mm->exe_file protected with mm->mmap_sem, so locking stays the same. > Acked-by: James

[PATCH v3 07/10] mm: use mm->exe_file instead of first VM_EXECUTABLE vma->vm_file

2012-07-31 Thread Konstantin Khlebnikov
Some security modules and oprofile still uses VM_EXECUTABLE for retrieving task's executable file, after this patch they will use mm->exe_file directly. mm->exe_file protected with mm->mmap_sem, so locking stays the same. Signed-off-by: Konstantin Khlebnikov Acked-by: Chris Metcalf#arch/tile

[PATCH v3 07/10] mm: use mm->exe_file instead of first VM_EXECUTABLE vma->vm_file

2012-07-31 Thread Konstantin Khlebnikov
Some security modules and oprofile still uses VM_EXECUTABLE for retrieving task's executable file, after this patch they will use mm->exe_file directly. mm->exe_file protected with mm->mmap_sem, so locking stays the same. Signed-off-by: Konstantin Khlebnikov Acked-by: Chris Metcalf#arch/tile