mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-13 10:27:05 +02:00
In a few places we intentionally drop privileges to reduce the potential
security surface area of networked program, with the pattern of:
```
if (setgid(getgid()) || setuid(getuid()) {
return 1;
}
```
We can make this a bit nicer to use by creating a wrapper.
31 KiB
31 KiB