On Tue, Jun 09, 2020 at 11:27:30PM +0200, Christian Brauner wrote:
On June 9, 2020 10:55:42 PM GMT+02:00, Kees Cook keescook@chromium.org wrote:
LOL. And while we were debating this, hch just went and cleaned stuff up:
2618d530dd8b ("net/scm: cleanup scm_detach_fds")
So, um, yeah, now my proposal is actually even closer to what we already have there. We just add the replace_fd() logic to __scm_install_fd() and we're done with it.
Cool, you have a link? :)
How about this:
https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git/commit/?h=dev...