Re: [PATCH 1/1] libxfs: provide a memfd_create() wrapper if not present in libc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>




[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux