Re: [PATCH v4 06/12] fs/pipe.c: export create_pipe_files() and replace_fd()

From: Christoph Hellwig
Date: Thu Oct 19 2017 - 10:55:41 EST


On Thu, Oct 19, 2017 at 03:36:16PM +0300, Jarkko Sakkinen wrote:
> On Thu, Oct 19, 2017 at 01:06:17AM -0700, Christoph Hellwig wrote:
> > On Mon, Oct 16, 2017 at 10:18:49PM +0300, Jarkko Sakkinen wrote:
> > > Export create_pipe_files() and replace_fd() so that the SGX driver is
> > > able to create stdin and stdout pipes.
> >
> > Err, no way.
>
> What would be a better alternative?

Don't abuse pipes for your interface.