You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 lines
367 B

Index: cryptodev-linux-1.7/ioctl.c
===================================================================
--- cryptodev-linux-1.7.orig/ioctl.c
+++ cryptodev-linux-1.7/ioctl.c
@@ -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);