Page MenuHomeFreeBSD

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

Authored by bz on May 24 2021, 6:59 PM.

Details

Summary

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; 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
203

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
203

Yes.

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