forked from abrasive/shairport
-
-
Notifications
You must be signed in to change notification settings - Fork 578
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
unveil(2) the few paths unless commands are run
In case nothing is to be executed at runtime, lock down filesystem access down to - write/create metadata pipe/cache - read/rwite D-Bus socket - read glib2 locales If D-Bus setup were to happen earlier, we'd be able to ignore that entirely (socket already opened) at this point and, iff metadata is off, drop "wpath" as well, i.e. run with nothing but read-only locales.
- Loading branch information
Showing
1 changed file
with
37 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters