]> arthur.barton.de Git - netatalk.git/commit
Fix SIGHUP config reloading
authorRalph Boehme <sloowfranklin@gmail.com>
Thu, 22 Nov 2012 10:31:49 +0000 (11:31 +0100)
committerRalph Boehme <sloowfranklin@gmail.com>
Tue, 27 Nov 2012 14:11:34 +0000 (15:11 +0100)
commit59ba70c884ca7356e28873fccab7d3611369e6cc
tree5f12402fc7b8c1ff7be02572ede460dc59ac8605
parent15a36f067598fbad66a6d6b6f7909c6b656071c2
Fix SIGHUP config reloading

Add SIGHUP handler to master 'netatalk' process and let it distribute
the signal to it's childs, eg afpd.

Add function afp_config_free() which releases ressources allocated
by afp_config_parse().
Additionally fix configinit()/configfree() which deal with ressources
only used in the afpd fileserver (eg sockets, zeroconf registration).

Fix an error in the mdns unregister code where pthread_kill() was
used but that somehow killed the whole process not just the mdns
thread. Use pthread_cancel() instead which seems to work.

Fix any ressource leak reported by libumem.
16 files changed:
etc/afpd/afp_config.c
etc/afpd/afp_mdns.c
etc/afpd/afp_options.c
etc/afpd/main.c
etc/netatalk/netatalk.c
etc/uams/uams_dhx2_pam.c
include/atalk/dsi.h
include/atalk/globals.h
include/atalk/ldapconfig.h
include/atalk/netatalk_conf.h
include/atalk/unicode.h
libatalk/acl/ldap.c
libatalk/acl/ldap_config.c
libatalk/dsi/dsi_tcp.c
libatalk/unicode/charcnv.c
libatalk/util/netatalk_conf.c