Page MenuHomeFreeBSD

D30437.diff
No OneTemporary

D30437.diff

diff --git a/sys/compat/linuxkpi/common/include/linux/slab.h b/sys/compat/linuxkpi/common/include/linux/slab.h
--- a/sys/compat/linuxkpi/common/include/linux/slab.h
+++ b/sys/compat/linuxkpi/common/include/linux/slab.h
@@ -198,6 +198,12 @@
free(__DECONST(void *, ptr), M_KMALLOC);
}
+static __inline void
+kfree_sensitive(const void *ptr)
+{
+ zfree(__DECONST(void *, ptr), M_KMALLOC);
+}
+
static inline size_t
ksize(const void *ptr)
{

File Metadata

Mime Type
text/plain
Expires
Thu, Jan 9, 9:00 AM (5 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15731088
Default Alt Text
D30437.diff (446 B)

Event Timeline