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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 19, 2017 at 07:55:34AM -0700, Christoph Hellwig wrote:
> 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.

coredump uses pipes in a similar way. Maybe you could elaborate a bit
why this is abusing? That could help me to find something more
acceptable.

The only reasonable alternative that comes into mind would be netlink
socket.

/Jarkko



[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux