The crypt(3) interface is a wrapper around crypt_r(3) where a global
static storage is passed as data. Modernize the interface by
passing a thread-local storage instead so it is thread-safe.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 62267 Build 59151: arc lint + arc unit
Event Timeline
Comment Actions
It's still not thread-safe if you pass the return value to another thread, but perhaps that's outside the scope