Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106975158
D30437.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
446 B
Referenced Files
None
Subscribers
None
D30437.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D30437: LinuxKPI: add kfree_sensitive() using zfree().
Attached
Detach File
Event Timeline
Log In to Comment