sepolicy: add f2fs ioctls

This cleans up ioctl definitions.

Bug: 189169940
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: I8cf2daa11911ef2fb817e125fcfc4f8ad91af0ed
Merged-In: I8cf2daa11911ef2fb817e125fcfc4f8ad91af0ed
This commit is contained in:
Jaegeuk Kim 2021-05-25 05:48:48 -07:00
parent 2589f61c73
commit f9637194a0

View file

@ -698,22 +698,30 @@ define(`EVIOCSFF', `0x40304580')
define(`EVIOCSKEYCODE', `0x40084504')
define(`EVIOCSKEYCODE_V2', `0x40284504')
define(`EVIOCSREP', `0x40084503')
define(`F2FS_IOC_ABORT_VOLATILE_WRITE', `0xf505')
define(`F2FS_IOC_START_ATOMIC_WRITE', `0xf501')
define(`F2FS_IOC_COMMIT_ATOMIC_WRITE', `0xf502')
define(`F2FS_IOC_DEFRAGMENT', `0xf508')
define(`F2FS_IOC_FLUSH_DEVICE', `0xf50a')
define(`F2FS_IOC_START_VOLATILE_WRITE', `0xf503')
define(`F2FS_IOC_RELEASE_VOLATILE_WRITE', `0xf504')
define(`F2FS_IOC_ABORT_VOLATILE_WRITE', `0xf505')
define(`F2FS_IOC_GARBAGE_COLLECT', `0xf506')
define(`F2FS_IOC_WRITE_CHECKPOINT', `0xf507')
define(`F2FS_IOC_DEFRAGMENT', `0xf508')
define(`F2FS_IOC_MOVE_RANGE', `0xf509')
define(`F2FS_IOC_FLUSH_DEVICE', `0xf50a')
define(`F2FS_IOC_GARBAGE_COLLECT_RANGE', `0xf50b')
define(`F2FS_IOC_GET_FEATURES', `0xf50c')
define(`F2FS_IOC_GET_PIN_FILE', `0xf50e')
define(`F2FS_IOC_MOVE_RANGE', `0xf509')
define(`F2FS_IOC_PRECACHE_EXTENTS', `0xf50f')
define(`F2FS_IOC_RELEASE_VOLATILE_WRITE', `0xf504')
define(`F2FS_IOC_SEC_TRIM_FILE', `0xf514')
define(`F2FS_IOC_SET_PIN_FILE', `0xf50d')
define(`F2FS_IOC_START_ATOMIC_WRITE', `0xf501')
define(`F2FS_IOC_START_VOLATILE_WRITE', `0xf503')
define(`F2FS_IOC_WRITE_CHECKPOINT', `0xf507')
define(`F2FS_IOC_GET_PIN_FILE', `0xf50e')
define(`F2FS_IOC_PRECACHE_EXTENTS', `0xf50f')
define(`F2FS_IOC_RESIZE_FS', `0xf510')
define(`F2FS_IOC_GET_COMPRESS_BLOCKS', `0xf511')
define(`F2FS_IOC_RELEASE_COMPRESS_BLOCKS', `0xf512')
define(`F2FS_IOC_RESERVE_COMPRESS_BLOCKS', `0xf513')
define(`F2FS_IOC_SEC_TRIM_FILE', `0xf514')
define(`F2FS_IOC_GET_COMPRESS_OPTION', `0xf515')
define(`F2FS_IOC_SET_COMPRESS_OPTION', `0xf516')
define(`F2FS_IOC_DECOMPRESS_FILE', `0xf517')
define(`F2FS_IOC_COMPRESS_FILE', `0xf518')
define(`FAT_IOCTL_GET_ATTRIBUTES', `0x80047210')
define(`FAT_IOCTL_GET_VOLUME_ID', `0x80047213')
define(`FAT_IOCTL_SET_ATTRIBUTES', `0x40047211')