mirror_corosync/exec
Jan Friesse fed7fc23e1 Don't call sync_* funcs for unloaded services
When service is unloaded, sync shouldn't call sync_init|process|activate
and abort functions. It happens very rare, but in process of unloading
all services, totem can recreate membership and bad things can happen
(service is unloaded, so there may be access to already freed memory,
 ...)

Solution is to fetch services sync handlers in every time when we are
building service list instead of using precreated one.

Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
2012-08-02 09:34:58 +02:00
..
.gitignore Add .gitignore files. 2010-10-21 07:43:46 -07:00
apidef.c sync: kill evil and syncv1 in one shot 2012-03-09 11:15:08 +01:00
apidef.h Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
cfg.c Make ifaces_get work with dynamic no_rings 2012-03-26 11:54:26 +02:00
cmap.c Move hdb_error_to_cs to corotypes.h 2012-02-14 11:10:14 +11:00
coroparse.c Properly parse uidgid files 2012-04-10 09:08:36 +02:00
cpg.c cpg: Be more verbose for procjoin message 2012-07-30 10:22:16 +02:00
cs_queue.h Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
fsm.h Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
icmap.c icmap: don't leak memory when changing ro/rw status on a key 2012-04-24 09:28:23 +02:00
ipc_glue.c Introduce SERVICES_COUNT_MAX macro 2012-08-02 09:32:05 +02:00
logconfig.c rename mainconfig to logconfig 2012-05-29 09:36:00 +02:00
logconfig.h rename mainconfig to logconfig 2012-05-29 09:36:00 +02:00
logsys.c LOG: make sure the log target is enabled. 2012-05-29 14:02:42 +10:00
main.c Introduce SERVICES_COUNT_MAX macro 2012-08-02 09:32:05 +02:00
main.h ipcs: allow connections only after all services are ready 2012-04-16 13:39:03 +02:00
Makefile.am rename mainconfig to logconfig 2012-05-29 09:36:00 +02:00
mon.c sync: kill evil and syncv1 in one shot 2012-03-09 11:15:08 +01:00
pload.c pload: make it a test service and not a public one 2012-03-12 07:11:51 +01:00
quorum.c sync: kill evil and syncv1 in one shot 2012-03-09 11:15:08 +01:00
quorum.h Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
schedwrk.c Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
schedwrk.h Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
service.c Introduce SERVICES_COUNT_MAX macro 2012-08-02 09:32:05 +02:00
service.h Introduce SERVICES_COUNT_MAX macro 2012-08-02 09:32:05 +02:00
sync.c Don't call sync_* funcs for unloaded services 2012-08-02 09:34:58 +02:00
sync.h sync: kill evil and syncv1 in one shot 2012-03-09 11:15:08 +01:00
timer.c Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
timer.h Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
totemconfig.c crypto: Remove sha224 and add md5 hash 2012-03-15 17:36:56 +01:00
totemconfig.h Tweak nodeid warning 2012-02-21 16:33:56 +01:00
totemcrypto.c crypto init: release *_slot resource after init 2012-04-20 10:57:16 +02:00
totemcrypto.h crypto: change network packets and add dynamic crypto header/data 2012-03-14 15:57:01 +01:00
totemiba.c Update crypto_set API 2012-03-15 17:33:53 +01:00
totemiba.h Update crypto_set API 2012-03-15 17:33:53 +01:00
totemip.c totemip: Support bind to exact address 2012-05-24 14:01:12 +02:00
totemmrp.c Make ifaces_get work with dynamic no_rings 2012-03-26 11:54:26 +02:00
totemmrp.h Make ifaces_get work with dynamic no_rings 2012-03-26 11:54:26 +02:00
totemnet.c Update crypto_set API 2012-03-15 17:33:53 +01:00
totemnet.h Update crypto_set API 2012-03-15 17:33:53 +01:00
totempg.c Make ifaces_get work with dynamic no_rings 2012-03-26 11:54:26 +02:00
totemrrp.c Always allocate totemrrp stats array 2012-04-10 09:08:42 +02:00
totemrrp.h Update crypto_set API 2012-03-15 17:33:53 +01:00
totemsrp.c Include ringid in processor joined log message 2012-05-17 14:58:04 +02:00
totemsrp.h Make ifaces_get work with dynamic no_rings 2012-03-26 11:54:26 +02:00
totemudp.c When flushing, discard only memb_join messages 2012-06-11 10:59:30 +02:00
totemudp.h Update crypto_set API 2012-03-15 17:33:53 +01:00
totemudpu.c totemudpu: Bind sending sockets to bindto address 2012-05-31 09:28:52 +02:00
totemudpu.h Update crypto_set API 2012-03-15 17:33:53 +01:00
util.c drop evs service 2012-03-12 15:51:50 +01:00
util.h rename mainconfig to logconfig 2012-05-29 09:36:00 +02:00
votequorum.c sync: kill evil and syncv1 in one shot 2012-03-09 11:15:08 +01:00
votequorum.h Remove include/engine/quorum and integrate it into exec/engine.h 2012-02-08 08:31:10 -07:00
vsf_quorum.c sync: kill evil and syncv1 in one shot 2012-03-09 11:15:08 +01:00
vsf_ykd.c Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
vsf_ykd.h Remove include/engine/quorum and integrate it into exec/engine.h 2012-02-08 08:31:10 -07:00
vsf.h Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
wd.c Correctly free state string in wd 2012-07-12 15:53:04 +02:00