aboutsummaryrefslogtreecommitdiff
path: root/src/util/connection.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-10-09 20:03:31 +0000
committerChristian Grothoff <christian@grothoff.org>2013-10-09 20:03:31 +0000
commitbc28ff95e287a6794890c75348075fa9bd7af2f7 (patch)
tree8311c91cfa435c7f0ecef9f27a277edc7ad99b96 /src/util/connection.c
parent7e332f5e005af87032decb86ac0a4bfbcc915cdc (diff)
downloadgnunet-bc28ff95e287a6794890c75348075fa9bd7af2f7.tar.gz
gnunet-bc28ff95e287a6794890c75348075fa9bd7af2f7.zip
changing UNIX domain socket access control to file permissions checks, instead of UDS credentials (#2887)
Diffstat (limited to 'src/util/connection.c')
-rw-r--r--src/util/connection.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/connection.c b/src/util/connection.c
index eeabebdf7..5c2ee1b37 100644
--- a/src/util/connection.c
+++ b/src/util/connection.c
@@ -419,7 +419,8 @@ GNUNET_CONNECTION_create_from_accept (GNUNET_CONNECTION_AccessCheck access,
419 (GNUNET_YES != (aret = access (access_cls, gcp, uaddr, addrlen)))) 419 (GNUNET_YES != (aret = access (access_cls, gcp, uaddr, addrlen))))
420 { 420 {
421 if (GNUNET_NO == aret) 421 if (GNUNET_NO == aret)
422 LOG (GNUNET_ERROR_TYPE_INFO, _("Access denied to `%s'\n"), 422 LOG (GNUNET_ERROR_TYPE_INFO,
423 _("Access denied to `%s'\n"),
423 GNUNET_a2s (uaddr, addrlen)); 424 GNUNET_a2s (uaddr, addrlen));
424 GNUNET_break (GNUNET_OK == 425 GNUNET_break (GNUNET_OK ==
425 GNUNET_NETWORK_socket_shutdown (sock, SHUT_RDWR)); 426 GNUNET_NETWORK_socket_shutdown (sock, SHUT_RDWR));