[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200610045214.1175600-1-keescook@chromium.org>
Date: Tue, 9 Jun 2020 21:52:12 -0700
From: Kees Cook <keescook@...omium.org>
To: "David S. Miller" <davem@...emloft.net>
Cc: Kees Cook <keescook@...omium.org>, Christoph Hellwig <hch@....de>,
Christian Brauner <christian@...uner.io>,
Sargun Dhillon <sargun@...gun.me>,
Jakub Kicinski <kuba@...nel.org>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 0/2] Use __scm_install_fd() more widely
Hi,
This extends the recent work hch did for scm_detach_fds(), and updates
the compat path as well, fixing bugs in the process. Additionally,
an effectively incomplete and open-coded __scm_install_fd() is fixed
in pidfd_getfd().
Thanks!
-Kees
Kees Cook (2):
net/scm: Regularize compat handling of scm_detach_fds()
pidfd: Replace open-coded partial __scm_install_fd()
include/net/scm.h | 1 +
kernel/pid.c | 12 ++---------
net/compat.c | 55 +++++++++++++++++++++--------------------------
net/core/scm.c | 43 +++++++++++++++++++++++-------------
4 files changed, 56 insertions(+), 55 deletions(-)
--
2.25.1
Powered by blists - more mailing lists