Re: [PATCH v2 2/4] fs: add FS_IOC_FSSETXATTRAT and FS_IOC_FSGETXATTRAT

Eric Biggers
2024-05-22T16:38:58Z

On Wed, May 22, 2024 at 09:28:53AM -0700, Darrick J. Wong wrote:
>
> Do the other *at() syscalls prohibit dfd + path pointing to a different
> filesystem? It seems odd to have this restriction that the rest don't,
> but perhaps documenting this in the ioctl_xfs_fsgetxattrat manpage is ok.

No, but they are arbitrary syscalls so they can do that. ioctls traditionally
operate on the specific filesystem of the fd.

It feels like these should be syscalls, not ioctls.

- Eric