diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-02-05 20:05:27 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-02-05 21:07:55 -0500 |
commit | 2d26d8e07ee680995f96597a1cd713dd81491b89 (patch) | |
tree | ca66e286a3319e1edf1d473d7d519c145596ac37 /src/shared/watchdog.h | |
parent | 52e634271fe96ec23a22705ffb87df59a09d1618 (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/shared/watchdog.h')
0 files changed, 0 insertions, 0 deletions