Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756377AbaDXLVO (ORCPT ); Thu, 24 Apr 2014 07:21:14 -0400 Received: from www262.sakura.ne.jp ([202.181.97.72]:47953 "EHLO www262.sakura.ne.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754403AbaDXLVD (ORCPT ); Thu, 24 Apr 2014 07:21:03 -0400 X-Nat-Received: from [202.181.97.72]:25753 [ident-empty] by smtp-proxy.isp with TPROXY id 1398338458.5481 To: miklos@szeredi.hu Cc: linux-security-module@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH (for 3.15) 0/5] Fix cross rename race window for LSM. From: Tetsuo Handa References: <52D90B93.5010209@gmail.com> <20140117144126.GG24171@tucsk.piliscsaba.szeredi.hu> <53523D16.9020101@gmail.com> <201404192108.JGJ78110.MFOFFHJOOVtLQS@I-love.SAKURA.ne.jp> In-Reply-To: Message-Id: <201404242020.FJD18726.LOOJtOQMFVFFSH@I-love.SAKURA.ne.jp> X-Mailer: Winbiff [Version 2.51 PL2] X-Accept-Language: ja,en,zh Date: Thu, 24 Apr 2014 20:20:52 +0900 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Anti-Virus: Kaspersky Anti-Virus for Linux Mail Server 5.6.45.2/RELEASE, bases: 24042014 #7805673, status: clean Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Miklos Szeredi wrote: > On Sat, Apr 19, 2014 at 2:08 PM, Tetsuo Handa > wrote: > > Michael Kerrisk (man-pages) wrote: > >> Now that renameat2() is in 3.15, I've taken these changes. > > > > What!? I didn't know renameat2() goes to 3.15. > > > > But I assume that renameat2() is not accessible in 3.15, for I can see > > "asmlinkage long sys_renameat2(" but don't see "#define __NR_renameat2". > > x86 automatically generates __NR_foo entries and syscall tables from > arch/x86/syscalls/syscall_*.tbl, which is why you don't find an > explicit definition in the git tree. > > Thanks, > Miklos > Oh, I see. Then, I must submit patches for fixing a race window caused by commit da1ce067 "vfs: add cross-rename". Regards. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/