Page MenuHomeFreeBSD

LinuxKPI: add kfree_sensitive() using zfree().
ClosedPublic

Authored by bz on May 24 2021, 6:59 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 31, 1:15 AM
Unknown Object (File)
Fri, Mar 27, 4:22 AM
Unknown Object (File)
Sat, Mar 21, 1:35 PM
Unknown Object (File)
Feb 8 2026, 3:13 PM
Unknown Object (File)
Feb 8 2026, 3:24 AM
Unknown Object (File)
Jan 31 2026, 7:22 AM
Unknown Object (File)
Jan 31 2026, 5:26 AM
Unknown Object (File)
Jan 31 2026, 5:26 AM

Details

Summary

Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Reviewed by:
Differential Revision:

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bz requested review of this revision.May 24 2021, 6:59 PM
hselasky added a subscriber: hselasky.
hselasky added inline comments.
sys/compat/linuxkpi/common/include/linux/slab.h
204

Is this function supposed to zero the memory it frees?

This revision is now accepted and ready to land.May 24 2021, 7:15 PM
bz marked an inline comment as done.May 24 2021, 9:30 PM
bz added inline comments.
sys/compat/linuxkpi/common/include/linux/slab.h
204

Yes.

This revision was automatically updated to reflect the committed changes.
bz marked an inline comment as done.