summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGfx/QOILoader.h
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2022-10-24 17:59:56 +0300
committerAndrew Kaster <andrewdkaster@gmail.com>2022-10-24 19:41:32 -0600
commitd102ea5f8183bad5ab0f09f2402b4b8a6739d88c (patch)
tree8a1c05ab79212185eab9413e0d9cec23bd9da26c /Userland/Libraries/LibGfx/QOILoader.h
parent30dc3044294f58a6cd10f19f9c3e2d566449ddee (diff)
downloadserenity-d102ea5f8183bad5ab0f09f2402b4b8a6739d88c.zip
Userland: Unveil /usr/lib/Loader.so when using 'x' permissions on unveil
We should not rely on the Kernel to unveil this for us, so if a program needs to execute another program it should unveil the dynamic loader too to prevent crashing. To do this, we check if the user program tried to unveil a binary with at least using the 'x' permission, so we will try to also unveil the dynamic loader too.
Diffstat (limited to 'Userland/Libraries/LibGfx/QOILoader.h')
0 files changed, 0 insertions, 0 deletions