diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-02-05 20:05:27 -0500 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-07-17 17:58:36 +0200 |
commit | 9270bff168ecc98d1761a32ca28b1f3906b093f2 (patch) | |
tree | 7e06883e6f9701c7b192689b6adedd4632855c49 /src/basic/mempool.c | |
parent | 85df5c16a4d10d955b204d9296827e108c0216a0 (diff) |
treewide: replace homegrown memory_erase with explicit_bzero
explicit_bzero was added in glibc 2.25. Make use of it.
explicit_bzero is hardcoded to zero the memory, so string erase now
truncates the string, instead of overwriting it with 'x'. This causes
a visible difference only in the journalctl case.
Diffstat (limited to 'src/basic/mempool.c')
0 files changed, 0 insertions, 0 deletions