[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210325082209.1067987-1-hch@lst.de>
Date: Thu, 25 Mar 2021 09:22:08 +0100
From: Christoph Hellwig <hch@....de>
To: Al Viro <viro@...iv.linux.org.uk>
Cc: linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
Kees Cook <keescook@...omium.org>,
Andy Lutomirski <luto@...capital.net>,
Will Drewry <wad@...omium.org>
Subject: split receive_fd_replace from __receive_fd
The receive_fd_replace case shares almost no logic with the more general
__receive_fd case, so split it into a separate function.
BTW, I'm not sure if receive_fd_replace is such a useful primitive to
start with, why not just open code it in seccomp?
Powered by blists - more mailing lists