diff options
author | James Bottomley | 2016-02-18 01:49:38 +0100 |
---|---|---|
committer | James Bottomley | 2016-03-30 23:12:22 +0200 |
commit | 9a08c352d05305ca7651540c3b107da1e4e1f40b (patch) | |
tree | d8b850a2330ab9f98c5a1c00fe54ac741e6e6c82 /fs/binfmt_misc.c | |
parent | Linux 4.6-rc1 (diff) | |
download | kernel-qcow2-linux-9a08c352d05305ca7651540c3b107da1e4e1f40b.tar.gz kernel-qcow2-linux-9a08c352d05305ca7651540c3b107da1e4e1f40b.tar.xz kernel-qcow2-linux-9a08c352d05305ca7651540c3b107da1e4e1f40b.zip |
fs: add filp_clone_open API
I need an API that allows me to obtain a clone of the current file
pointer to pass in to an exec handler. I've labelled this as an
internal API because I can't see how it would be useful outside of the
fs subsystem. The use case will be a persistent binfmt_misc handler.
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Acked-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/binfmt_misc.c')
0 files changed, 0 insertions, 0 deletions