Re: [PATCH 1/4] statx: Add a system call to make enhanced file info available

From: David Howells
Date: Fri Nov 18 2016 - 05:30:02 EST

Dave Chinner <david@xxxxxxxxxxxxx> wrote:

> > (13) FS_IOC_GETFLAGS value. These could be translated to BSD's st_flags.
> > Note that the Linux IOC flags are a mess and filesystems such as Ext4
> > define flags that aren't in linux/fs.h, so translation in the kernel
> > may be a necessity (or, possibly, we provide the filesystem type too).
> And we now also have FS_IOC_FSGETXATTR that extends the flags
> and information userspace can get from filesystems.

Btw, can you point me at the manpage that defines the fsxattr struct and its

Also, ioctl_list(2) should probably include FS_IOC_FS[GS]ETXATTR.