News: 0001591765

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

GNU C Library Adds Linux "mseal" Function For Memory Sealing

([GNU] 4 Hours Ago Glibc mseal)


Introduced last year in the Linux 6.10 kernel was [1]the mseal system call for memory sealing to protect the memory mapping against modifications to seal non-writable memory segments or better protecting sensitive data structures. The GNU C Library has finally introduced its mseal function making use of this modern Linux kernel functionality.

Glibc has now added the [2]mseal function on Linux x86_64 and AArch64 environments. Using this Glibc function with Linux 6.10+ can be used for sealing memory mappings to prevent further changes during process execution. This protects against changes to permissions, unmappings, relocation to another location, or shrinking the size.

The Glibc mseal function was introduced in [3]this commit .

This is merged as one of the features for what should become Glibc 2.43 in early February.



[1] https://www.phoronix.com/news/Linux-6.10-Merges-mseal

[2] https://www.phoronix.com/search/mseal

[3] https://sourceware.org/git/?p=glibc.git;a=commit;h=3d52fd274e9cfc74d90786672d927ca82cb40abd



Windows NT: Vaporware of the desperate and scared.