diff options
author | Gunnar Beutner <gbeutner@serenityos.org> | 2022-10-22 19:52:53 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-10-22 19:59:36 +0200 |
commit | 5f38f5500e082f1afa2ddae14409f16815b49198 (patch) | |
tree | 8767ee59b9df57292ed252967f9630dd82b1d7f2 /.prettierignore | |
parent | 5b3980b04067ccc2b795ec407822757a82396157 (diff) | |
download | serenity-5f38f5500e082f1afa2ddae14409f16815b49198.zip |
SystemServer: Fix race condition in Service::determine_account()
In theory our peer process could die between the call to getsockopt()
and Core::system::stat() and another process could end up with the same
PID which would result in us incorrectly launching the service as
another user (e.g. root).
Diffstat (limited to '.prettierignore')
0 files changed, 0 insertions, 0 deletions