commit | f9d9ac29d0dc3e9b7c7fee7173a57b961facd4a4 | [log] [tgz] |
---|---|---|
author | Eric Biggers <ebiggers@google.com> | Fri Oct 23 16:32:58 2020 -0700 |
committer | Daniel Rosenberg <drosen@google.com> | Wed Oct 28 04:48:09 2020 +0000 |
tree | decb3ab2a0d2400964e2d8766df91eab6435064b | |
parent | cb581cc8de8f5939d8fba6d333defa3cb5189c4d [diff] |
Fix argument type for FS_IOC_GETFLAGS and FS_IOC_SETFLAGS These ioctls take a pointer to an 'int' (or an 'unsigned int', it doesn't matter), not an 'unsigned long'. See 'man ioctl_iflags'. Presumably it happened to work anyway because Android only runs on little endian platforms. Bug: 146419093 Bug: 163453310 Change-Id: I73099dafd4ee8d497c0a754149271871a37454f6 Signed-off-by: Eric Biggers <ebiggers@google.com>