diff options
Diffstat (limited to 'package/cryptodev-linux/patches/patch-ioctl_c')
-rw-r--r-- | package/cryptodev-linux/patches/patch-ioctl_c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/cryptodev-linux/patches/patch-ioctl_c b/package/cryptodev-linux/patches/patch-ioctl_c new file mode 100644 index 000000000..9af8f27d5 --- /dev/null +++ b/package/cryptodev-linux/patches/patch-ioctl_c @@ -0,0 +1,11 @@ +--- cryptodev-linux-1.7.orig/ioctl.c 2015-02-07 15:31:23.000000000 -0600 ++++ cryptodev-linux-1.7/ioctl.c 2015-02-19 14:47:24.775772135 -0600 +@@ -546,7 +546,7 @@ static int + clonefd(struct file *filp) + { + int ret; +- ret = get_unused_fd(); ++ ret = get_unused_fd_flags(0); + if (ret >= 0) { + get_file(filp); + fd_install(ret, filp); |