From: Al Viro <viro@ZenIV.linux.org.uk>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org
Subject: [git pull] vfs.git part 2
Date: Wed, 5 Jul 2017 08:14:37 +0100 [thread overview]
Message-ID: <20170705071437.GZ10672@ZenIV.linux.org.uk> (raw)
Consolidating sys_wait* and compat counterparts. Gets rid of
set_fs()/double-copy mess, simplifies the whole thing (lifting the
copyouts to the syscalls means less headache in the part that does
actual work - fewer failure exits, to start with), gets rid of the
overhead of field-by-field __put_user().
The following changes since commit a8c39544a6eb2093c04afd5005b6192bd0e880c6:
osf_wait4(): fix infoleak (2017-05-21 13:10:07 -0400)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.sys_wait
for you to fetch changes up to 92ebce5ac55dba258c608248dddf59eca3f7f514:
osf_wait4: switch to kernel_wait4() (2017-05-21 13:16:26 -0400)
----------------------------------------------------------------
Al Viro (9):
move compat wait4 and waitid next to native variants
wait4(2)/waitid(2): separate copying rusage to userland
kernel_wait4()/kernel_waitid(): delay copying status to userland
waitid(2): leave copyout of siginfo to syscall itself
lift getrusage() from wait_noreap_copyout()
kill wait_noreap_copyout()
wait_task_zombie: consolidate info logics
waitid(): switch copyout of siginfo to unsafe_put_user()
osf_wait4: switch to kernel_wait4()
arch/alpha/kernel/osf_sys.c | 53 ++------
include/linux/resource.h | 2 +-
include/linux/sched/task.h | 2 +
kernel/compat.c | 66 ----------
kernel/exit.c | 307 +++++++++++++++++++++++---------------------
kernel/sys.c | 16 +--
6 files changed, 187 insertions(+), 259 deletions(-)
next reply other threads:[~2017-07-05 7:14 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-05 7:14 Al Viro [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-07-03 12:29 [git pull] vfs.git part 2 Al Viro
2013-07-11 21:42 ` Linus Torvalds
2013-07-12 5:48 ` Al Viro
2013-07-12 11:54 ` Al Viro
2013-07-12 12:02 ` Rasmus Villemoes
2013-07-12 15:48 ` Al Viro
2013-07-12 16:30 ` Rasmus Villemoes
2013-07-12 19:13 ` Al Viro
2013-07-12 19:39 ` Al Viro
2013-07-12 20:21 ` Linus Torvalds
2013-07-12 21:16 ` Al Viro
2013-07-15 23:13 ` Rasmus Villemoes
2013-07-12 19:42 ` Linus Torvalds
2013-07-12 20:02 ` Al Viro
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=20170705071437.GZ10672@ZenIV.linux.org.uk \
--to=viro@zeniv.linux.org.uk \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.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;
as well as URLs for NNTP newsgroup(s).