Here is an accumulate patch of Herbert's and my changes. I could see no reason for ftmp in flush_old_exec and load_elf_binary, so I removed that. Please correct me if that is wrong. Cheers, Andreas. On Fri, 8 Aug 2003, Herbert Xu wrote: > Hi: > > The steal_locks() call in binfmt_elf.c is buggy. It steals locks from > a files entry whose reference was dropped much earlier. This allows it > to steal other process's locks. > > The following patch calls steal_locks() earlier so that this does not > happen.