Page MenuHomeFreeBSD

lib/libc/string: add memset_explicit() for compliance with C23
Needs ReviewPublic

Authored by fuz on Fri, Oct 25, 5:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 9, 4:40 AM
Unknown Object (File)
Fri, Nov 1, 11:27 PM
Unknown Object (File)
Tue, Oct 29, 3:59 PM
Unknown Object (File)
Tue, Oct 29, 6:21 AM
Subscribers

Details

Reviewers
kevans
emaste
Summary

Patterned after explicit_bzero sans the hook.
SSP hardening is provided, too.
The function is documented in memset(3).

Test Plan

passes newly added unit tests

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 60194
Build 57078: arc lint + arc unit