Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755486AbcJ2VzT (ORCPT ); Sat, 29 Oct 2016 17:55:19 -0400 Received: from mout.kundenserver.de ([212.227.17.10]:61962 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754996AbcJ2VzS (ORCPT ); Sat, 29 Oct 2016 17:55:18 -0400 From: Arnd Bergmann To: Yury Norov Cc: James Hogan , linux-arch@vger.kernel.org, Vineet Gupta , Catalin Marinas , Will Deacon , Mark Salter , Aurelien Jacquiot , Yoshinori Sato , Richard Kuo , Ley Foon Tan , Jonas Bonn , Chen Liqin , Lennox Wu , Chris Metcalf , Guan Xuetao , Andrew Pinski , linux-snps-arc@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-c6x-dev@linux-c6x.org, uclinux-h8-devel@lists.sourceforge.jp, linux-hexagon@vger.kernel.org, linux-metag@vger.kernel.org, nios2-dev@lists.rocketboards.org Subject: Re: [PATCH] asm-generic: Drop getrlimit and setrlimit syscalls from default list Date: Sat, 29 Oct 2016 23:54:08 +0200 Message-ID: <5823871.3DMLUx5Xtp@wuerfel> User-Agent: KMail/5.1.3 (Linux/4.4.0-34-generic; KDE/5.18.0; x86_64; ; ) In-Reply-To: <1477138444-14993-1-git-send-email-ynorov@caviumnetworks.com> References: <1477138444-14993-1-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:SgSGWRdt8ku0ZU6ezaHP0eE+/rNR/A7b8YetfAP6LVb5L5cPxvd sLotZh/7B7JLnsEnB/3oRlz/6OVrlSLyEvBUovfTi+0KClfd1W71rrpldXKCSp88+hgX6ty ktojn61hBwxo4DLO+Q65cJf4sNP5HDqiE8pdzXLKFvA1J8LDP0k3TxwOf9kSbgNT/S4uida hp7Ke7N2YP8UiecozufCw== X-UI-Out-Filterresults: notjunk:1;V01:K0:a+HzSD/qgm8=:EEv5l8U+vVHnEs8RME1oUv jLiQJNET/F6YpyUf7myFo5YxVGkvsnF03Lky84apfOnwpxQu0a9pBNmKdez/qCUe94YGuCQxv 7oVIXOnAnhRwo+Okkso8NbphcTvq7ldiQKPzFdfr2w9QyMhLxBdVq5YKTbMmVvq3n5EygOUID A3dW/91UKrgvP/J4GJ4nxDdqym90FeDEPpn3sXUqOe3Ttt5tkA/Dg+NTOE3eHlTdngu3lA2YF XJOobSI6xF1D8cri4OkrGYpc8udVRwb58yIy+IxgvOaJXPogWoaw1ScjlTVZVhExAI2RyZTJi In/BIN3ai5uKKbgyoTuNYBUYkDyd/R1WuTgFOOk7lqYsU9WtXJa4ZnaGmbmudic1nDwBG4/Q6 TaWPFI+/2nzl9atSjzkvvGgoc+pvXdq6LsUtqKuThRw5W7V1QhmT1YXHu4vzCeLzGRBGzzxkT 5o5exZ0by6utq0tAZTKrLp/0sgub9kCzZnj0BWAFlhJVLX93c6CQRVxdZw+PE5fMv3TnsKI5U H4aGdFtrsAyLivzVlGRe/68ehzwzN8vT78CjtOChnjKLXBK3Zp1K4gter+rSSzGlqH+3wPoVl lahXuBUolq5Og4jiQxcG6ETRC9DzCHRgDYQ+Py7UBR1GoryVEhTF3GEc2fjzPvAZ5HjbYgMf5 miFlzTFoLHrMSYI2/BnlKQtj/Kl8uTqOkmZuZiOFm0Hb7olN7IdF1g6wvaZEJrkj90U0n8hVb 7/U39ZA5mIZEUcqu Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 707 Lines: 15 On Saturday, October 22, 2016 3:14:04 PM CEST Yury Norov wrote: > The newer prlimit64 syscall provides all the functionality provided by > the getrlimit and setrlimit syscalls and adds the pid of target process, > so future architectures won't need to include getrlimit and setrlimit. > > Therefore drop getrlimit and setrlimit syscalls from the generic syscall > list unless __ARCH_WANT_SET_GET_RLIMIT is defined by the architecture's > unistd.h prior to including asm-generic/unistd.h, and adjust all > architectures using the generic syscall list to define it so that no > in-tree architectures are affected. > Acked-by: Arnd Bergmann Can you include this patch in your ilp32 series?