Generic Linux architectural discussions
 help / color / mirror / Atom feed
From: Palmer Dabbelt <palmer@sifive.com>
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 <arnd@arndb.de>,
	Palmer Dabbelt <palmer@sifive.com>
Subject: [PATCH 1/5] Non-functional cleanup of a "__user * filename"
Date: Fri, 31 May 2019 12:12:00 -0700	[thread overview]
Message-ID: <20190531191204.4044-2-palmer@sifive.com> (raw)
In-Reply-To: <20190531191204.4044-1-palmer@sifive.com>

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 <palmer@sifive.com>
---
 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

  parent reply	other threads:[~2019-05-31 19:12 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-31 19:11 Add a new fchmodat4() syscall Palmer Dabbelt
2019-05-31 19:11 ` Palmer Dabbelt
2019-05-31 19:12 ` Palmer Dabbelt [this message]
2019-05-31 19:12   ` [PATCH 1/5] Non-functional cleanup of a "__user * filename" Palmer Dabbelt
2019-05-31 19:12 ` [PATCH 2/5] Add fchmodat4(), a new syscall Palmer Dabbelt
2019-05-31 19:12   ` Palmer Dabbelt
2019-05-31 19:51   ` Arnd Bergmann
2019-05-31 19:51     ` Arnd Bergmann
2019-05-31 23:36     ` Palmer Dabbelt
2019-05-31 23:36       ` Palmer Dabbelt
2019-05-31 19:12 ` [PATCH 3/5] asm-generic: Register fchmodat4 as syscall 428 Palmer Dabbelt
2019-05-31 19:12   ` Palmer Dabbelt
2019-05-31 19:56   ` Arnd Bergmann
2019-05-31 19:56     ` Arnd Bergmann
2019-05-31 23:57     ` Palmer Dabbelt
2019-05-31 23:57       ` Palmer Dabbelt
2019-05-31 19:12 ` [PATCH 4/5] x86: Add fchmodat4 to syscall_64.tbl Palmer Dabbelt
2019-05-31 19:12   ` Palmer Dabbelt
2019-05-31 19:12 ` [PATCH 5/5] x86: Add fchmod4 to syscall_32.tbl Palmer Dabbelt
2019-05-31 19:12   ` Palmer Dabbelt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190531191204.4044-2-palmer@sifive.com \
    --to=palmer@sifive.com \
    --cc=arnd@arndb.de \
    --cc=bp@alien8.de \
    --cc=hpa@zytor.com \
    --cc=linux-api@vger.kernel.org \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luto@kernel.org \
    --cc=mingo@redhat.com \
    --cc=tglx@linutronix.de \
    --cc=viro@zeniv.linux.org.uk \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox