lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 1 Dec 2011 01:40:49 -0600
From:	Peng Yu <pengyu.ut@...il.com>
To:	linux-kernel@...r.kernel.org
Subject: Which one corresponds to ioctl in the file_operations struct in linux/fs.h?

Hi,

I have some driver code for older version of kernel. It refers to
ioctl in the file_operations struct. But this field is change in
kernel 3.0.0-13

I find the following in linux/fs.h

1566   long (*unlocked_ioctl) (struct file *, unsigned int, unsigned long);
1567   long (*compat_ioctl) (struct file *, unsigned int, unsigned long);

Does anybody know which one I should use in order to migrate the
driver code to the newer version of kernel? Thanks!

--
Regards,
Peng
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ