Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756299AbaDWKIm (ORCPT ); Wed, 23 Apr 2014 06:08:42 -0400 Received: from mailapp01.imgtec.com ([195.89.28.114]:19609 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752819AbaDWKIh (ORCPT ); Wed, 23 Apr 2014 06:08:37 -0400 From: James Hogan To: Arnd Bergmann , CC: , James Hogan , Vineet Gupta , Catalin Marinas , Will Deacon , , Mark Salter , Aurelien Jacquiot , , "Richard Kuo" , , , Jonas Bonn , , Chen Liqin , Lennox Wu , Chris Metcalf , Guan Xuetao Subject: [PATCH 0/3] asm-generic: Add renameat2, drop renameat by default Date: Wed, 23 Apr 2014 11:08:04 +0100 Message-ID: <1398247687-13453-1-git-send-email-james.hogan@imgtec.com> X-Mailer: git-send-email 1.8.1.2 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [192.168.154.65] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org A few patches relating to the renameat2 syscall added for v3.15 and the asm-generic syscall list. The first adds it to the generic syscall list. I'll send this upstream for v3.15 (but acks still welcome). The second and third patches make the renameat syscall optional, since renameat2 provides a superset of its functionality, and removes renameat from the generic syscall list by default. All existing users now define __ARCH_WANT_RENAMEAT so that nothing breaks, but new architectures are expected not to define it. Unless anybody requests otherwise I'll await an Ack from Arnd for these two and queue them for v3.16. James Hogan (3): asm-generic: Add renameat2 syscall scripts/checksyscalls.sh: Make renameat optional asm-generic: Drop renameat syscall from default list arch/arc/include/uapi/asm/unistd.h | 1 + arch/arm64/include/uapi/asm/unistd.h | 3 +++ arch/c6x/include/uapi/asm/unistd.h | 1 + arch/hexagon/include/uapi/asm/unistd.h | 1 + arch/metag/include/uapi/asm/unistd.h | 2 ++ arch/openrisc/include/uapi/asm/unistd.h | 1 + arch/score/include/uapi/asm/unistd.h | 1 + arch/tile/include/uapi/asm/unistd.h | 1 + arch/unicore32/include/uapi/asm/unistd.h | 2 ++ include/uapi/asm-generic/unistd.h | 7 ++++++- scripts/checksyscalls.sh | 5 ++++- 11 files changed, 23 insertions(+), 2 deletions(-) Cc: Arnd Bergmann Cc: linux-arch@vger.kernel.org Cc: Vineet Gupta Cc: Catalin Marinas Cc: Will Deacon Cc: linux-arm-kernel@lists.infradead.org Cc: Mark Salter Cc: Aurelien Jacquiot Cc: linux-c6x-dev@linux-c6x.org Cc: Richard Kuo Cc: linux-hexagon@vger.kernel.org Cc: linux-metag@vger.kernel.org Cc: Jonas Bonn Cc: linux@lists.openrisc.net Cc: Chen Liqin Cc: Lennox Wu Cc: Chris Metcalf Cc: Guan Xuetao -- 1.8.1.2 -- 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/