Skip to content

Commit

Permalink
reflect that glib2 is pulled in via D-Bus/MPRIS
Browse files Browse the repository at this point in the history
  • Loading branch information
klemensn committed Feb 1, 2024
1 parent 5fa3821 commit ae0428f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shairport.c
Original file line number Diff line number Diff line change
Expand Up @@ -2395,15 +2395,15 @@ int main(int argc, char **argv) {
/*
* unveil(2) TODO:
* - assume system D-Bus, hoist setup/defer unveil
* - glib2 locale (not critical!)
* - glib2 locale (not critical!)
* - MQTT?
*/
# if defined(CONFIG_DBUS_INTERFACE) || defined(CONFIG_MPRIS_INTERFACE)
if (unveil("/var/run/dbus/system_bus_socket", "rw") == -1)
die("unveil D-Bus");
# endif
if (unveil("/usr/local/share/locale", "r") == -1)
die("unveil locale");
# endif

/*
* Only coverart cache is created/written.
Expand Down

0 comments on commit ae0428f

Please sign in to comment.