Brian Gianforcaro
6eebd69b70
LibCore: Add Core::System::drop_privileges()
...
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.
2022-03-22 11:39:20 +01:00
..
2022-03-13 19:08:58 -07:00
2022-03-10 18:04:26 -08:00
2022-03-10 18:04:26 -08:00
2022-03-18 23:48:50 +00:00
2022-03-10 18:04:26 -08:00
2022-03-10 18:04:26 -08:00
2022-03-10 18:04:26 -08:00
2022-03-10 18:09:27 -08:00
2022-03-10 18:04:26 -08:00
2022-03-19 10:26:33 -07:00
2022-03-19 10:26:33 -07:00
2022-03-10 18:04:26 -08:00
2022-03-10 18:04:26 -08:00
2022-03-10 18:04:26 -08:00
2022-03-19 22:03:51 +01:00
2022-03-10 18:04:26 -08:00
2022-03-10 18:04:26 -08:00
2022-03-10 18:04:26 -08:00
2022-03-10 18:04:26 -08:00
2022-03-10 18:04:26 -08:00
2022-03-19 00:20:46 +00:00
2022-03-10 18:04:26 -08:00
2022-03-10 18:04:26 -08:00
2022-03-10 18:04:26 -08:00
2022-03-10 18:04:26 -08:00
2022-03-22 11:39:20 +01:00
2022-03-22 11:39:20 +01:00
2022-03-10 18:04:26 -08:00
2022-03-10 18:04:26 -08:00