commit | 646cf413b174f8efe2c28562aa4a2163a85528e1 | [log] [tgz] |
---|---|---|
author | Stefan Berger <stefanb@linux.ibm.com> | Thu Mar 03 09:13:26 2022 -0500 |
committer | Stefan Berger <stefanb@us.ibm.com> | Fri Mar 04 07:44:22 2022 -0500 |
tree | 49afc0fb49b42172518a5ddc6d1f589c20474b0c | |
parent | 8a05e8fd523673f98fd94b2ba8e8dbd7df8db93e [diff] |
swtpm: Do not chdir(/) when using --daemon With relative paths being used the chdir("/") in daemonize_finish() will cause file access errors. Fixes: 98d1d12 ("swtpm: Make --daemon not racy") Resolves: https://github.com/stefanberger/swtpm/issues/671 Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>