]> git.ipfire.org Git - thirdparty/systemd.git/commit
hostnamed: don't cache uname() data
authorLennart Poettering <lennart@poettering.net>
Tue, 28 Apr 2020 15:01:56 +0000 (17:01 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 18 May 2020 19:11:50 +0000 (21:11 +0200)
commit72f48cd3e37ff9ee77df491aa8eb0e23b8ca83e1
treeaaf4542c2feea1460f15d780e33ca64e36655ead
parent34d16bad2d07444dcdae380480f5cc8c5eea8eaa
hostnamed: don't cache uname() data

Let's not cache the uname(), it's very cheap to get it, and just means
we might get out of sync with what is current. After all, the data might
change IRL, due to setarch and stuff.
src/hostname/hostnamed.c