1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/ctdb/server
Amitay Isaacs d0c858f211 ctdbd: Make sure we don't kill init process by mistake
If getpgrp() fails, it will return -1 and that will send KILL signal to init
process (PID 1).  This does not happen on RHEL, but does on AIX.

Reported-by: Chris Cowan <cc@us.ibm.com>

Signed-off-by: Amitay Isaacs <amitay@gmail.com>

(This used to be ctdb commit edb2a3556d03e248b42f63dd2c62382b723bc98f)
2013-06-14 16:39:48 +10:00
..
ctdb_banning.c Remove explicit include of lib/tevent/tevent.h. 2012-04-13 17:28:14 +10:00
ctdb_call.c ctdbd: fix comment explaining redirection of CTDB_REQ_CALL redirection. 2013-05-24 22:06:24 +10:00
ctdb_control.c ctdbd: New control CTDB_CONTROL_GET_RUNSTATE 2013-05-24 14:08:07 +10:00
ctdb_daemon.c ctdbd: When the "setup" event fails log an error and exit, don't abort 2013-05-24 14:08:07 +10:00
ctdb_freeze.c ctdb_freeze: Replace locking functions with locking API 2012-10-20 02:48:44 +11:00
ctdb_keepalive.c Remove explicit include of lib/tevent/tevent.h. 2012-04-13 17:28:14 +10:00
ctdb_lock_helper.c locking: Add a standalone helper to lock record/db 2013-05-24 09:06:39 +10:00
ctdb_lock.c locking: Set lock helper path once 2013-05-24 09:06:40 +10:00
ctdb_logging.c logging: fix comment typo 2013-04-17 12:44:26 +02:00
ctdb_ltdb_server.c ctdbd: Replace ctdb->done_startup with ctdb->runstate 2013-05-24 14:08:06 +10:00
ctdb_monitor.c ctdbd: Add new runstate CTDB_RUNSTATE_FIRST_RECOVERY 2013-05-24 14:08:07 +10:00
ctdb_persistent.c server:persistent: fix a debug message (copy'n'paste error) 2013-03-12 14:02:08 +01:00
ctdb_recover.c ctdbd: Log node state transitions at higher debug level 2013-05-29 17:47:15 +10:00
ctdb_recoverd.c recoverd: Log node that causes takoever run to fail 2013-06-13 15:55:48 +10:00
ctdb_server.c ctdbd: Initialise the node flags in just one place 2013-01-07 10:35:39 +11:00
ctdb_serverids.c RB_TREE: Add mechanism to abort a traverse 2011-11-08 13:40:28 +11:00
ctdb_statistics.c Remove explicit include of lib/tevent/tevent.h. 2012-04-13 17:28:14 +10:00
ctdb_takeover.c recoverd: Backward compatibility for nodes without IPREALLOCATED control 2013-05-27 15:15:25 +10:00
ctdb_traverse.c traverse: Ensure backward compatibility for CTDB_CONTROL_TRAVERSE_ALL 2013-04-17 12:31:14 +02:00
ctdb_tunables.c ctdbd: Update the get_tunable code to return -EINVAL for unknown tunable 2013-05-24 16:04:50 +10:00
ctdb_update_record.c Track all child process so we never send a signal to an unrelated process (our child died and kernel wrapped the pid-space and reused the pid for a different process 2012-05-03 14:03:26 +10:00
ctdb_uptime.c Remove explicit include of lib/tevent/tevent.h. 2012-04-13 17:28:14 +10:00
ctdb_vacuum.c vacuum: use CTDB_REC_RO_FLAGS in the vacuuming code 2013-04-24 18:48:53 +10:00
ctdbd.c ctdbd: Add --pidfile option 2013-04-18 13:21:59 +10:00
eventscript.c ctdbd: Make sure we don't kill init process by mistake 2013-06-14 16:39:48 +10:00