Code

daemon: return "access denied" if a service is not allowed
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Mon, 3 Oct 2011 21:55:09 +0000 (08:55 +1100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 3 Oct 2011 22:20:25 +0000 (15:20 -0700)
commit723f7a1387f1d79541fdbe66ad3778f2aaa370c4
tree29ad61c0fa683260d59c8dc6f0fe4c30a0b1aa42
parent7ed863a85a6ce2c4ac4476848310b8f917ab41f9
daemon: return "access denied" if a service is not allowed

The message is chosen to avoid leaking information, yet let users know
that they are deliberately not allowed to use the service, not a fault
in service configuration or the service itself.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
daemon.c