OSDN Git Service

compat_sys_ioctl(): make parallel to do_vfs_ioctl()
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 22 Apr 2019 00:43:10 +0000 (20:43 -0400)
committerArnd Bergmann <arnd@arndb.de>
Wed, 23 Oct 2019 15:15:57 +0000 (17:15 +0200)
commit37ecf8b20abd05cdcb6391e842802e3b4ca97876
tree00531bb77d8531ee4b8a3b75b47b8cf64a8b3fcd
parent011da44bc5b6520d00b42c584a4fefc85f7b332b
compat_sys_ioctl(): make parallel to do_vfs_ioctl()

Handle ioctls that might be handled without reaching ->ioctl() in
native case on the top level there.  The counterpart of vfs_ioctl()
(i.e. calling ->unlock_ioctl(), etc.) left as-is; eventually
that would turn simply into the call of ->compat_ioctl(), but
that'll take more work.  Once that is done, we can move the
remains of compat_sys_ioctl() into fs/ioctl.c and finally bury
fs/compat_ioctl.c.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
fs/compat_ioctl.c