diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2013-06-18 09:49:04 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2013-06-18 09:49:04 +0000 |
commit | 7965e957a57011241334c444fec69d14116a9fdf (patch) | |
tree | 57652e1631ca8cd3c5a051f77c45ec39514d9459 /lib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc | |
parent | 2557a1b4517971c9cf1aff62425fc48561db9949 (diff) |
[sanitizer] Replace ext2_ ioctls with generic fs_ ioctls.
They are actually the same, but ext2_fs.h header is not available in userspace
with newer kernels.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184184 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc')
-rwxr-xr-x | lib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc b/lib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc index 6a9ec3c5c..52911d6ca 100755 --- a/lib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc +++ b/lib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc @@ -130,10 +130,10 @@ static void ioctl_table_fill() { _(CDROMVOLCTRL, READ, struct_cdrom_volctrl_sz); _(CDROMVOLREAD, WRITE, struct_cdrom_volctrl_sz); _(CDROM_GET_UPC, WRITE, 8); - _(EXT2_IOC_GETFLAGS, WRITE, sizeof(int)); - _(EXT2_IOC_GETVERSION, WRITE, sizeof(int)); - _(EXT2_IOC_SETFLAGS, READ, sizeof(int)); - _(EXT2_IOC_SETVERSION, READ, sizeof(int)); + _(FS_IOC_GETFLAGS, WRITE, sizeof(int)); + _(FS_IOC_GETVERSION, WRITE, sizeof(int)); + _(FS_IOC_SETFLAGS, READ, sizeof(int)); + _(FS_IOC_SETVERSION, READ, sizeof(int)); _(FDCLRPRM, NONE, 0); _(FDDEFPRM, READ, struct_floppy_struct_sz); _(FDFLUSH, NONE, 0); |