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)
Sun, Oct 12, 6:48 AM
Unknown Object (File)
Sep 14 2025, 10:05 AM
Unknown Object (File)
Sep 13 2025, 11:25 PM
Unknown Object (File)
Sep 13 2025, 8:18 PM
Unknown Object (File)
Sep 13 2025, 7:16 PM
Unknown Object (File)
Sep 13 2025, 12:39 PM
Unknown Object (File)
Aug 26 2025, 8:59 PM
Unknown Object (File)
Aug 26 2025, 12:47 AM

Details

Summary

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

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 39406
Build 36295: arc lint + arc unit

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.