From mboxrd@z Thu Jan 1 00:00:00 1970 From: Palmer Dabbelt Subject: [PATCH 1/5] Non-functional cleanup of a "__user * filename" Date: Fri, 31 May 2019 12:12:00 -0700 Message-ID: <20190531191204.4044-2-palmer@sifive.com> References: <20190531191204.4044-1-palmer@sifive.com> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: <20190531191204.4044-1-palmer@sifive.com> Sender: linux-kernel-owner@vger.kernel.org To: viro@zeniv.linux.org.uk, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-api@vger.kernel.org Cc: linux-arch@vger.kernel.org, x86@kernel.org, luto@kernel.org, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, hpa@zytor.com, Arnd Bergmann , Palmer Dabbelt List-Id: linux-arch.vger.kernel.org The next patch defines a very similar interface, which I copied from this definition. Since I'm touching it anyway I don't see any reason not to just go fix this one up. Signed-off-by: Palmer Dabbelt --- include/linux/syscalls.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h index e446806a561f..396871b218f4 100644 --- a/include/linux/syscalls.h +++ b/include/linux/syscalls.h @@ -433,7 +433,7 @@ asmlinkage long sys_chdir(const char __user *filename); asmlinkage long sys_fchdir(unsigned int fd); asmlinkage long sys_chroot(const char __user *filename); asmlinkage long sys_fchmod(unsigned int fd, umode_t mode); -asmlinkage long sys_fchmodat(int dfd, const char __user * filename, +asmlinkage long sys_fchmodat(int dfd, const char __user *filename, umode_t mode); asmlinkage long sys_fchownat(int dfd, const char __user *filename, uid_t user, gid_t group, int flag); -- 2.21.0 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-f193.google.com ([209.85.215.193]:40452 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727242AbfEaTXv (ORCPT ); Fri, 31 May 2019 15:23:51 -0400 Received: by mail-pg1-f193.google.com with SMTP id d30so4551160pgm.7 for ; Fri, 31 May 2019 12:23:51 -0700 (PDT) Subject: [PATCH 1/5] Non-functional cleanup of a "__user * filename" Date: Fri, 31 May 2019 12:12:00 -0700 Message-ID: <20190531191204.4044-2-palmer@sifive.com> In-Reply-To: <20190531191204.4044-1-palmer@sifive.com> References: <20190531191204.4044-1-palmer@sifive.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Palmer Dabbelt Sender: linux-arch-owner@vger.kernel.org List-ID: To: viro@zeniv.linux.org.uk, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-api@vger.kernel.org Cc: linux-arch@vger.kernel.org, x86@kernel.org, luto@kernel.org, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, hpa@zytor.com, Arnd Bergmann , Palmer Dabbelt Message-ID: <20190531191200.t6F5dCtbWyWaWuov4-dX8NF20PIZU6Obk1GtqKxf-NY@z> The next patch defines a very similar interface, which I copied from this definition. Since I'm touching it anyway I don't see any reason not to just go fix this one up. Signed-off-by: Palmer Dabbelt --- include/linux/syscalls.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h index e446806a561f..396871b218f4 100644 --- a/include/linux/syscalls.h +++ b/include/linux/syscalls.h @@ -433,7 +433,7 @@ asmlinkage long sys_chdir(const char __user *filename); asmlinkage long sys_fchdir(unsigned int fd); asmlinkage long sys_chroot(const char __user *filename); asmlinkage long sys_fchmod(unsigned int fd, umode_t mode); -asmlinkage long sys_fchmodat(int dfd, const char __user * filename, +asmlinkage long sys_fchmodat(int dfd, const char __user *filename, umode_t mode); asmlinkage long sys_fchownat(int dfd, const char __user *filename, uid_t user, gid_t group, int flag); -- 2.21.0