commit | 87da5fb2b705bbf6f61488e563f6f2914bd85d07 | [log] [tgz] |
---|---|---|
author | bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Tue Aug 05 11:35:48 2014 +0000 |
committer | bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Tue Aug 05 11:35:48 2014 +0000 |
tree | 9e4ce41412a4872d3943794151530055c4eb9a78 | |
parent | 351949cc18c7a6c427aa21568028689903b7025b [diff] |
Linux system call wrappers: truncate ioctl request number to 32 bits As explained in https://bugs.kde.org/show_bug.cgi?id=331829, when passing an ioctl request number as an int to a function the request number will be sign-extended to 64 bits on 64-bit systems. Avoid that this causes Valgrind to fail to recognize an ioctl by truncating the request number to 32 bits. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14232 a5019735-40e9-0310-863c-91ae7b9d1cf9