Defined the (*ioctl)() commands as unsigned int (#381)
authorJean-Pierre André <jpandre@users.noreply.github.com>
Mon, 11 Mar 2019 17:35:23 +0000 (18:35 +0100)
committerNikolaus Rath <Nikolaus@rath.org>
Mon, 11 Mar 2019 17:35:23 +0000 (17:35 +0000)
commita1bff7dbe3ad8950d8cf1b5640aa7a7b2e89211d
tree996c19b8cc1a98b987c762fc6d931af884a84a2d
parentb1b06d1920f7163a54e4b30e120cb52fda0cb9f9
Defined the (*ioctl)() commands as unsigned int (#381)

Instead of the Posix ioctl(2) command, Linux uses its own variant of ioctl()
in which the commands are requested as "unsigned long" and truncated to
32 bits by the fuse kernel module. Transmitting the commands to user space
file systems as "unsigned int" is a workaround for processing ioctl()
commands which do not fit into a signed int.
ChangeLog.rst
example/ioctl.c
include/fuse.h
include/fuse_lowlevel.h
lib/fuse.c