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)
Jul 6 2025, 6:41 PM
Unknown Object (File)
Jul 5 2025, 7:13 PM
Unknown Object (File)
Jul 5 2025, 9:15 AM
Unknown Object (File)
Jul 3 2025, 5:12 AM
Unknown Object (File)
Jun 30 2025, 10:36 PM
Unknown Object (File)
Jun 30 2025, 7:41 PM
Unknown Object (File)
May 7 2025, 7:18 AM
Unknown Object (File)
May 5 2025, 2:10 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.