On Sat, Aug 17, 2024 at 06:00:52PM +0200, Julien Olivain wrote: > Commit 1cb2e387 "libxfs: add xfile support" introduced > a use of the memfd_create() system call, included in version > xfsprogs v6.9.0. > > This system call was introduced in kernel commit [1], first included > in kernel v3.17 (released on 2014-10-05). > > The memfd_create() glibc wrapper function was added much later in > commit [2], first included in glibc version 2.27 (released on > 2018-02-01). I guess 6 years old is still worth supporting. The code itself looks good: Reviewed-by: Christoph Hellwig <hch@xxxxxx>