mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 10:22:05 -05:00
33f2eeea4a
Since this program is setuid-root, it should be as simple as possible. To that end, remove `/etc/plsusers` and use filesystem permissions to achieve the same thing. `/bin/pls` is now only executable by `root` or members of the `wheel` group. Also remove all the logic that went to great lengths to `unveil()` a minimal set of filesystem paths that may be used for the command. The complexity-to-benefit ratio did not seem justified, and I think we're better off keeping this simple. Finally, remove pledge promises the moment they are no longer needed. |
||
---|---|---|
.. | ||
ca_certs.ini | ||
FileIconProvider.ini | ||
fstab | ||
group | ||
hosts | ||
Keyboard.ini | ||
LookupServer.ini | ||
motd | ||
passwd | ||
protocols | ||
services | ||
shadow | ||
shellrc | ||
SystemServer.ini | ||
WindowServer.ini |