blob: 9af8f27d53d6eb9fb3ad8e024a5a70e63058b641 (
plain)
1
2
3
4
5
6
7
8
9
10
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);
|