mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-10-05 21:15:45 +00:00
vhost_user_fs: Add the IOCTL_COMPAT_32 flag
Add the IOCTL_COMPAT_32 flag, corresponding to FUSE_IOCTL_COMPAT_32 introduced in FUSE 7.30. Signed-off-by: Sergio Lopez <slp@redhat.com>
This commit is contained in:
parent
592cfbafb3
commit
0870028fde
@ -393,6 +393,9 @@ const IOCTL_32BIT: u32 = 8;
|
|||||||
/// Is a directory
|
/// Is a directory
|
||||||
const IOCTL_DIR: u32 = 16;
|
const IOCTL_DIR: u32 = 16;
|
||||||
|
|
||||||
|
/// x32 compat ioctl on 64bit machine (64bit time_t)
|
||||||
|
const IOCTL_COMPAT_X32: u32 = 32;
|
||||||
|
|
||||||
/// Maximum of in_iovecs + out_iovecs
|
/// Maximum of in_iovecs + out_iovecs
|
||||||
const IOCTL_MAX_IOV: u32 = 256;
|
const IOCTL_MAX_IOV: u32 = 256;
|
||||||
|
|
||||||
@ -413,6 +416,9 @@ bitflags! {
|
|||||||
/// Is a directory
|
/// Is a directory
|
||||||
const IOCTL_DIR = IOCTL_DIR;
|
const IOCTL_DIR = IOCTL_DIR;
|
||||||
|
|
||||||
|
/// x32 compat ioctl on 64bit machine (64bit time_t)
|
||||||
|
const IOCTL_COMPAT_X32 = IOCTL_COMPAT_X32;
|
||||||
|
|
||||||
/// Maximum of in_iovecs + out_iovecs
|
/// Maximum of in_iovecs + out_iovecs
|
||||||
const IOCTL_MAX_IOV = IOCTL_MAX_IOV;
|
const IOCTL_MAX_IOV = IOCTL_MAX_IOV;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user