summaryrefslogtreecommitdiff
path: root/Kernel
diff options
context:
space:
mode:
authorGunnar Beutner <gbeutner@serenityos.org>2022-10-22 19:52:53 +0200
committerLinus Groh <mail@linusgroh.de>2022-10-22 19:59:36 +0200
commit5f38f5500e082f1afa2ddae14409f16815b49198 (patch)
tree8767ee59b9df57292ed252967f9630dd82b1d7f2 /Kernel
parent5b3980b04067ccc2b795ec407822757a82396157 (diff)
downloadserenity-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 'Kernel')
0 files changed, 0 insertions, 0 deletions