chiark / gitweb /
server: add a private socket for root
authorRichard Kettlewell <rjk@terraraq.org.uk>
Sat, 1 Dec 2012 12:48:23 +0000 (12:48 +0000)
committerRichard Kettlewell <rjk@terraraq.org.uk>
Sat, 1 Dec 2012 12:48:23 +0000 (12:48 +0000)
commitde37b64085838de48894200ae2b9d49417668a76
tree2277f9a712b7a5b52a695b2093679734e2546ea5
parentbcef8d6fc5b847e912275ddad1d001a336ccdbc9
server: add a private socket for root

root will try and use it if possible; anything connecting on it
is allowed through without knowing a password.

The jukebox user will be able to use it too although it doesn't
actually try.

Both these users have RW access to the database so they aren't
being given any privilege they don't have already here.

The speaker socket moves to the same private directory.
lib/client-common.c
server/disorder-server.h
server/play.c
server/server.c
server/speaker.c
server/state.c