summaryrefslogtreecommitdiff
path: root/package/cryptodev-linux/patches/patch-ioctl_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-02-19 14:48:33 -0600
committerWaldemar Brodkorb <wbx@openadk.org>2015-02-19 14:49:03 -0600
commit1fca0943f320acd845ae610b4030cbb4aa6a3ac0 (patch)
tree56d860447e4a0bfe3f7c0747f4627698e76030ed /package/cryptodev-linux/patches/patch-ioctl_c
parentd41473cb2807f4318548a830d4211dfe80723a19 (diff)
update to latest stable release, add patch from git
Diffstat (limited to 'package/cryptodev-linux/patches/patch-ioctl_c')
-rw-r--r--package/cryptodev-linux/patches/patch-ioctl_c11
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);