commit | 9d32fd98b371f4fdee819a253cf408f0105def42 | [log] [tgz] |
---|---|---|
author | Stefan Berger <stefanb@linux.ibm.com> | Thu Mar 03 09:13:26 2022 -0500 |
committer | Stefan Berger <stefanb@us.ibm.com> | Mon Mar 07 09:16:11 2022 -0500 |
tree | ffc31765f6e3e44e9b0dbd3d49d3b5686bc72a76 | |
parent | f0e9389239e45ca0c06574b81f5804e58bd08bd6 [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>