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-01-02 18:08:02 +01:00
2022-02-10 21:35:17 +01:00
2022-03-10 18:04:26 -08:00
2022-02-17 09:08:40 -05:00
2022-02-17 09:08:40 -05:00
2022-03-10 18:04:26 -08:00
2022-01-12 14:55:19 +01:00
2022-01-12 14:55:19 +01:00
2022-02-16 19:49:41 -05:00
2022-02-16 19:49:41 -05:00
2022-03-18 23:48:50 +00:00
2022-01-28 20:19:05 +00:00
2022-03-10 18:04:26 -08:00
2022-01-04 07:38:42 +00: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-01-24 07:50:32 +00:00
2022-01-01 17:33:43 +00:00
2022-03-10 18:04:26 -08:00
2022-02-18 23:31:28 +00:00
2022-01-21 18:34:24 +01:00
2022-01-21 18:34:24 +01:00
2022-01-24 22:36:09 +01:00
2022-03-10 18:04:26 -08:00
2022-03-10 18:04:26 -08:00
2022-02-06 10:28:19 +01:00
2022-01-15 13:29:48 +03:30
2022-02-16 19:49:41 -05: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-01-24 22:36:09 +01:00
2022-03-10 18:04:26 -08:00
2022-02-17 09:26:56 +00: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-02-06 10:28:19 +01:00
2022-02-06 10:28:19 +01:00
2022-02-06 17:28:17 +00:00
2022-01-13 15:16:12 +03:30
2022-01-28 23:40:25 +01:00
2022-01-12 14:55:19 +01:00
2022-03-10 18:04:26 -08:00
2022-03-10 18:04:26 -08:00
2022-01-24 22:36:09 +01:00
2022-01-02 18:08:02 +01:00
2022-02-16 19:49:41 -05:00