summaryrefslogtreecommitdiff
path: root/units/systemd-journal-remote.service.in
diff options
context:
space:
mode:
authorMichael Biebl <mbiebl@gmail.com>2016-07-27 05:32:37 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-07-26 23:32:37 -0400
commitb6b609dbc202e5645fc58e87b8a7d46426ee4bb7 (patch)
tree6bb47c6c386bffcb1de3b12a24aaa335c0e4d3ca /units/systemd-journal-remote.service.in
parent5a8ff0e61dd8094b2b5d0b35df2ca13b489e0dfa (diff)
string-util: rework memory_erase() to not use GCC optimize attribute (#3812)
"#pragma GCC optimize" is merely a convenience to decorate multiple functions with attribute optimize. And the manual has this to say about this attribute: This attribute should be used for debugging purposes only. It is not suitable in production code. Some versions of GCC also seem to have a problem with this pragma in combination with LTO, resulting in ICEs. So use a different approach (indirect the memset call via a volatile function pointer) as implemented in openssl's crypto/mem_clr.c. Closes: #3811
Diffstat (limited to 'units/systemd-journal-remote.service.in')
0 files changed, 0 insertions, 0 deletions