1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
samba-mirror/ctdb/common
Amitay Isaacs ad8d72091e ctdb-common: Fix stale socket removal
Sockets need to be created from sock_daemon_run_send().  This means
that stale socket removal can depend on the PID file context being
initialised.

Also fix associated test.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2017-11-07 03:53:27 +01:00
..
comm.c ctdb-common: Fix use-after-free error in comm_fd_handler() 2017-02-16 05:26:08 +01:00
comm.h ctdb-common: Add communication endpoint abstraction 2015-10-07 14:53:29 +02:00
common.h ctdb-daemon: Add accessors for CTDB_DB_FLAGS_REPLICATED flag 2017-06-29 10:34:27 +02:00
ctdb_io.c ctdb-common: Do not queue a packet if queue does not have valid fd 2017-10-05 05:19:21 +02:00
ctdb_ltdb.c ctdb-daemon: Add accessors for CTDB_DB_FLAGS_REPLICATED flag 2017-06-29 10:34:27 +02:00
ctdb_util.c ctdb-common: Ensure unused bytes in union are initialised 2017-11-07 03:53:27 +01:00
db_hash.c ctdb-common: Add traverse_update function to db_hash abstraction 2017-04-05 04:47:23 +02:00
db_hash.h ctdb-common: Add traverse_update function to db_hash abstraction 2017-04-05 04:47:23 +02:00
hash_count.c ctdb-common: Add hash_count abstraction 2017-04-05 04:47:23 +02:00
hash_count.h ctdb-common: Add hash_count abstraction 2017-04-05 04:47:23 +02:00
logging.c ctdb-common: Log a count of dropped messages with non-blocking logging 2017-06-13 09:12:19 +02:00
logging.h ctdb-logging: Refactor logging code 2016-12-05 08:09:22 +01:00
pidfile.c ctdb-common: Reimplement pidfile_context_create() using pidfile_path_create() 2017-08-02 07:28:44 +02:00
pidfile.h ctdb-common: Rename pidfile_create() -> pidfile_context_create() 2017-08-02 03:39:11 +02:00
pkt_read.c ctdb-common: Add packet read abstraction 2015-10-07 14:53:28 +02:00
pkt_read.h ctdb-common: Add packet read abstraction 2015-10-07 14:53:28 +02:00
pkt_write.c ctdb-common: Add packet write abstraction 2015-10-07 14:53:28 +02:00
pkt_write.h ctdb-common: Add packet write abstraction 2015-10-07 14:53:28 +02:00
rb_tree.c Correct "occured" typos. 2017-02-22 08:26:21 +01:00
rb_tree.h Added some #ifndefs to stop files being included multiple times. 2011-11-11 14:31:50 +11:00
reqid.c ctdb-common: Add request id abstraction 2015-10-07 14:53:28 +02:00
reqid.h ctdb-common: Add request id abstraction 2015-10-07 14:53:28 +02:00
run_event.c ctdb-common: Ignore event scripts with multiple '.'s 2017-10-18 06:20:18 +02:00
run_event.h ctdb-common: Add run_event abstraction 2017-05-30 03:58:06 +02:00
run_proc.c ctdb-common: Update run_proc api to re-assign stdin 2017-05-30 03:58:06 +02:00
run_proc.h ctdb-common: Update run_proc api to re-assign stdin 2017-05-30 03:58:06 +02:00
sock_client.c ctdb-common: Add sock_client abstraction 2017-09-01 08:52:07 +02:00
sock_client.h ctdb-common: Add sock_client abstraction 2017-09-01 08:52:07 +02:00
sock_daemon.c ctdb-common: Fix stale socket removal 2017-11-07 03:53:27 +01:00
sock_daemon.h ctdb-common: Allow sock_daemon to daemonise during startup 2017-08-29 11:14:09 +02:00
sock_io.c ctdb-common: Refactor code to remove a stale socket 2017-02-17 10:44:14 +01:00
sock_io.h ctdb-common: Refactor code to remove a stale socket 2017-02-17 10:44:14 +01:00
srvid.c ctdb-common: Extend srvid_exists() check to support optional private_data 2017-09-21 08:53:26 +02:00
srvid.h ctdb-common: Extend srvid_exists() check to support optional private_data 2017-09-21 08:53:26 +02:00
system_aix.c ctdb-common: Initialise socket addresses before reading into them 2017-09-19 13:30:26 +02:00
system_common.c ctdb-common: Protocol argument must be in host order for socket() call 2016-02-02 08:42:09 +01:00
system_freebsd.c ctdb-common: Initialise socket addresses before reading into them 2017-09-19 13:30:26 +02:00
system_gnu.c ctdb-common: Initialise socket addresses before reading into them 2017-09-19 13:30:26 +02:00
system_kfreebsd.c ctdb-common: Initialise socket addresses before reading into them 2017-09-19 13:30:26 +02:00
system_linux.c ctdb-common: Initialise socket addresses before reading into them 2017-09-19 13:30:26 +02:00
system_util.c ctdb-common: Make parse_ip() and parse_ipv4() static 2017-10-05 09:19:31 +02:00
system.h ctdb-common: Make parse_ip() and parse_ipv4() static 2017-10-05 09:19:31 +02:00
tunable.c ctdb: enable mutexes for volatile TDBs by default 2017-07-12 09:01:17 +02:00
tunable.h ctdb-common: Refactor tunable related functions 2016-07-25 21:29:46 +02:00
version.c ctdb: Centralize ctdb_version_string 2017-09-26 09:37:13 +02:00
version.h ctdb: Centralize ctdb_version_string 2017-09-26 09:37:13 +02:00