Re: [PATCH v3 01/18] memfd: export memfd_get_seals()

From: Pratyush Yadav

Date: Mon Jun 15 2026 - 07:46:34 EST


On Sun, Jun 14 2026, Samiullah Khawaja wrote:

> memfd_get_seals() is used by iommufd during preservation to make sure
> that he preserved memfd was sealed when it was mapped into iommufd.
> Since iommufd can be built as a module, export memfd_get_seals() to
> avoid linker error.
>
> Cc: Hugh Dickins <hughd@xxxxxxxxxx>
> Cc: Baolin Wang <baolin.wang@xxxxxxxxxxxxxxxxx>
> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> Cc: linux-mm@xxxxxxxxx
>
> Signed-off-by: Samiullah Khawaja <skhawaja@xxxxxxxxxx>

Acked-by: Pratyush Yadav (Google) <pratyush@xxxxxxxxxx>

--
Regards,
Pratyush Yadav