aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-04-26 14:16:35 +0200
committerFlorian Dold <florian.dold@gmail.com>2016-04-26 14:16:35 +0200
commitad40c233907a8b1c707ab9ae476a3e6d66c7aa6c (patch)
treeff6dc944e41ec07b396d6a7bedca4340e30036f8 /src
parentbf0ee981ff25022b39883d327582e027b8f8c17a (diff)
check_permissions for AF_UNIX
Diffstat (limited to 'src')
-rw-r--r--src/exchange/taler-exchange-httpd_admin.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-httpd_admin.c b/src/exchange/taler-exchange-httpd_admin.c
index 29da2d441..6b28e9cc1 100644
--- a/src/exchange/taler-exchange-httpd_admin.c
+++ b/src/exchange/taler-exchange-httpd_admin.c
@@ -54,6 +54,9 @@ check_permissions (struct MHD_Connection *connection)
addr = ci->client_addr;
switch (addr->sa_family)
{
+ case AF_UNIX:
+ /* We rely on file system permissions here */
+ return GNUNET_YES;
case AF_INET:
{
const struct sockaddr_in *sin = (const struct sockaddr_in *) addr;