[PATCH] linux-user: Protect btrfs ioctl target definitions

2020-09-05 Thread Filip Bozuta
Target definitions of btrfs ioctls in 'syscall_defs.h' use the value BTRFS_IOCTL_MAGIC that is defined header 'btrfs.h'. This header is not available in kernel versions before 3.9. For that reason, these target ioctl definitions should be enwrapped in an #ifdef directive to check whether the 'btrfs

Re: [PATCH] linux-user: Protect btrfs ioctl target definitions

2020-09-05 Thread Laurent Vivier
Le 05/09/2020 à 18:38, Filip Bozuta a écrit : > Target definitions of btrfs ioctls in 'syscall_defs.h' use > the value BTRFS_IOCTL_MAGIC that is defined header 'btrfs.h'. > This header is not available in kernel versions before 3.9. > For that reason, these target ioctl definitions should be > enwr

Re: [PATCH] linux-user: Protect btrfs ioctl target definitions

2020-09-05 Thread Laurent Vivier
Le 05/09/2020 à 18:38, Filip Bozuta a écrit : > Target definitions of btrfs ioctls in 'syscall_defs.h' use > the value BTRFS_IOCTL_MAGIC that is defined header 'btrfs.h'. > This header is not available in kernel versions before 3.9. > For that reason, these target ioctl definitions should be > enwr