Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031165AbcDMOCK (ORCPT ); Wed, 13 Apr 2016 10:02:10 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:59375 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933815AbcDMOCH (ORCPT ); Wed, 13 Apr 2016 10:02:07 -0400 Date: Wed, 13 Apr 2016 07:02:00 -0700 From: Christoph Hellwig To: "Richard W.M. Jones" Cc: Cyrill Gorcunov , linux-kernel@vger.kernel.org, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, akpm@linux-foundation.org, luto@kernel.org, viro@zeniv.linux.org.uk, mathieu.desnoyers@efficios.com, zab@redhat.com, emunson@akamai.com, paulmck@linux.vnet.ibm.com, aarcange@redhat.com, josh@joshtriplett.org, xemul@parallels.com, sfr@canb.auug.org.au, milosz@adfin.com, rostedt@goodmis.org, arnd@arndb.de, ebiederm@xmission.com, iulia.manda21@gmail.com, dave.hansen@linux.intel.com, mguzik@redhat.com, adobriyan@gmail.com, dave@stgolabs.net, linux-api@vger.kernel.org, fw@deneb.enyo.de Subject: Re: [PATCH v2 1/2] vfs: Define new syscall getumask. Message-ID: <20160413140200.GA29387@infradead.org> References: <1460552272-15985-1-git-send-email-rjones@redhat.com> <1460552272-15985-2-git-send-email-rjones@redhat.com> <20160413132031.GJ2000@uranus.lan> <20160413135708.GG11600@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160413135708.GG11600@redhat.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 708 Lines: 15 On Wed, Apr 13, 2016 at 02:57:08PM +0100, Richard W.M. Jones wrote: > On Wed, Apr 13, 2016 at 04:20:32PM +0300, Cyrill Gorcunov wrote: > > On Wed, Apr 13, 2016 at 01:57:51PM +0100, Richard W.M. Jones wrote: > > > Define a system call for reading the current umask value. > > > > > > Signed-off-by: Richard W.M. Jones > > > > Btw don't we have to declare it in include/uapi/asm-generic/unistd.h as well? > > Yes, I think I do. I was following pwritev2 which wasn't added > to this file, but other recent system calls (mlock2, copy_file_range) > were added. Indeed. I'll send a patch to wire up pread/writev2, sorry for causing your conflicts, but adding syscalls is a bit of a mess.