Paul Eggert <[email protected]> writes:

> On 2026-06-17 08:43, Bruno Haible wrote:
>> We could add a dummy 'mseal' that does nothing.
>
> I.e., fails with ENOSYS?
>
> I've generally put off adding an emulation function to Gnulib unless I
> found a Gnulib-using app that needs the function. So, for example, the
> openat2 stuff was prompted by GNU Tar.
>
> Though this means there is a chicken-and-egg problem, it has saved me
> work....

When mseal was added to glibc, I considered whether it might be useful
fro Gnulib. E.g., it might be useful to provide a new interface to the
'immutable' module. The existing functions aren't compatible with mseal,
which expects the memory mappings to exist for the entire lifetime of
the process.

Then I realized I have no idea what that module is used for, and it is
probably best to wait until someone has a use case for it.

Collin

Reply via email to