lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 17 Sep 2008 13:46:42 -0700 From: Matt Mackall <mpm@...enic.com> To: Andrew Morton <akpm@...ux-foundation.org> Cc: Nick Piggin <npiggin@...e.de>, mingo@...e.hu, a.p.zijlstra@...llo.nl, linux-kernel@...r.kernel.org, Hugh Dickins <hugh@...itas.com> Subject: Re: [patch] mm: tiny-shmem fix lor, mmap_sem vs i_mutex On Wed, 2008-09-17 at 13:14 -0700, Andrew Morton wrote: > On Mon, 15 Sep 2008 00:12:31 +0200 > Nick Piggin <npiggin@...e.de> wrote: > > > tiny-shmem calls do_truncate in shmem_file_setup. do_truncate takes i_mutex, > > and shmem_file_setup is called with mmap_sem held. However i_mutex nests > > outside mmap_sem. > > > > Copy the code in shmem.c to avoid this problem. > > > > It's a bit unfortunate (as in: arse-about) that we end up creating new > files deep within the mmap code, but I guess we won't be changing that > in a hurry. Hugh and I talked about merging it back into one file ala the x86 32/64 merge. I've put it on my todo list. -- Mathematics is the supreme nostalgia of our time. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists