]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libblkid: protect shared buffers against modifications
authorThomas Weißschuh <thomas@t-8ch.de>
Tue, 29 Aug 2023 10:06:54 +0000 (12:06 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Wed, 30 Aug 2023 14:45:06 +0000 (16:45 +0200)
commit2b22ec9650642d98908a4ab4f3b3158bb946a1a0
tree881003c5b34b4634531a88a45b8eb2dda2ff6679
parent235c03e7fdc685630ed12ae58d1c7a52727b3d93
libblkid: protect shared buffers against modifications

The cached buffers are shared between multiple probers.
To avoid (potentially security-sensitive) interdependencies between
probers make let the kernel enforce the write-protection.

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
libblkid/src/probe.c