VOOZH about

URL: https://www.phoronix.com/news/Glibc-Linux-mseal-Function

⇱ GNU C Library Adds Linux "mseal" Function For Memory Sealing - Phoronix


👁 Phoronix

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

Written by Michael Larabel in GNU on 14 November 2025 at 08:21 AM EST. 2 Comments
Introduced last year in the Linux 6.10 kernel was 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 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.

👁 memory sealing with tape


The Glibc mseal function was introduced in this commit.

👁 glibc mseal function


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

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.