X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=m4%2Fgengetopt%2Faudiod.m4;h=75c045817898e8b840dc4734cd547ad282e67580;hp=5fc15893cb0b963337bac97e47f6885f1cb38a58;hb=5e8d8a8eea6de9459ebdf4498f9f061c84bfa63a;hpb=5c8d440eace21b3a80b7f3f5930dba90e69adeef diff --git a/m4/gengetopt/audiod.m4 b/m4/gengetopt/audiod.m4 index 5fc15893..75c04581 100644 --- a/m4/gengetopt/audiod.m4 +++ b/m4/gengetopt/audiod.m4 @@ -1,6 +1,6 @@ args "--no-handle-help --no-handle-version --conf-parser" -purpose "Connect to para_server, receive, decode and play audio streams." +purpose "Connect to para_server, receive, decode and play audio streams" include(header.m4) define(CURRENT_PROGRAM,para_audiod) @@ -20,6 +20,7 @@ include(log_timing.m4) include(daemon.m4) include(user.m4) include(group.m4) +include(priority.m4) ######################## @@ -82,20 +83,21 @@ details=" option "user-allow" - #~~~~~~~~~~~~~~~~~~~~ -"allow this uid" -int typestr="uid" -default="-1" +"allow this user to connect to audiod" +string typestr = "username" optional multiple -details=" - Allow the user identified by \"uid\" to connect to para_audiod. - May be specified multiple times. If not specified at all, - all users are allowed to connect. - - This feature requires unix socket credentials and is currently - only supported on Linux systems. On other operating systems, - the option is silently ignored and all local users are allowed - to connect to para_audiod. +details = " + Allow the user identified by username (either a string or + a UID) to connect to para_audiod. This option may be given + multiple times. If not specified at all, all users are allowed + to connect. + + This feature is based on the ability to send unix + credentials through local sockets using ancillary data + (SCM_CREDENTIALS). Currently it only works on Linux. On + other operating systems the option is silently ignored and + all local users are allowed to connect. " option "clock-diff-count" -