[intel-sgx-kernel-dev,v8,7/8] fs/pipe.c: export create_pipe_files()
diff mbox

Message ID 20171215202936.28226-8-jarkko.sakkinen@linux.intel.com
State New
Headers show

Commit Message

Jarkko Sakkinen Dec. 15, 2017, 8:27 p.m. UTC
Exported create_pipe_files() because the SGX driver needs to be able to
setup pipes for communicating with the helper process that hosts the
Launch Enclave (LE). The pipe creation will be done in the init-callback
supplied to call_usermodehelper_setup().

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tested-by: Serge Ayoun <serge.ayoun@intel.com>
---
 fs/pipe.c | 1 +
 1 file changed, 1 insertion(+)

Patch
diff mbox

diff --git a/fs/pipe.c b/fs/pipe.c
index 6d98566201ef..4846886b0530 100644
--- a/fs/pipe.c
+++ b/fs/pipe.c
@@ -785,6 +785,7 @@  int create_pipe_files(struct file **res, int flags)
 	iput(inode);
 	return err;
 }
+EXPORT_SYMBOL_GPL(create_pipe_files);
 
 static int __do_pipe_flags(int *fd, struct file **files, int flags)
 {