File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
libsanitizer/sanitizer_common Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 7373#include < sys/vt.h>
7474#include < linux/cdrom.h>
7575#include < linux/fd.h>
76+ #if SANITIZER_ANDROID
7677#include < linux/fs.h>
78+ #endif
7779#include < linux/hdreg.h>
7880#include < linux/input.h>
7981#include < linux/ioctl.h>
@@ -869,10 +871,10 @@ unsigned struct_ElfW_Phdr_sz = sizeof(Elf_Phdr);
869871 unsigned IOCTL_EVIOCGPROP = IOCTL_NOT_PRESENT;
870872 unsigned IOCTL_EVIOCSKEYCODE_V2 = IOCTL_NOT_PRESENT;
871873#endif
872- unsigned IOCTL_FS_IOC_GETFLAGS = FS_IOC_GETFLAGS ;
873- unsigned IOCTL_FS_IOC_GETVERSION = FS_IOC_GETVERSION ;
874- unsigned IOCTL_FS_IOC_SETFLAGS = FS_IOC_SETFLAGS ;
875- unsigned IOCTL_FS_IOC_SETVERSION = FS_IOC_SETVERSION ;
874+ unsigned IOCTL_FS_IOC_GETFLAGS = _IOR( ' f ' , 1 , long ) ;
875+ unsigned IOCTL_FS_IOC_GETVERSION = _IOR( ' v ' , 1 , long ) ;
876+ unsigned IOCTL_FS_IOC_SETFLAGS = _IOW( ' f ' , 2 , long ) ;
877+ unsigned IOCTL_FS_IOC_SETVERSION = _IOW( ' v ' , 2 , long ) ;
876878 unsigned IOCTL_GIO_CMAP = GIO_CMAP;
877879 unsigned IOCTL_GIO_FONT = GIO_FONT;
878880 unsigned IOCTL_GIO_UNIMAP = GIO_UNIMAP;
You can’t perform that action at this time.
0 commit comments