lkml.org 
[lkml]   [2020]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] Use __scm_install_fd() more widely
Date
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

\
 
 \ /
  Last update: 2020-06-10 06:53    [W:1.870 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site