[pgpool-committers: 2794] pgpool: Fixing the function that verifies the watchdog network command

Muhammad Usama m.usama at gmail.com
Fri Nov 6 00:41:47 JST 2015


Fixing the function that verifies the watchdog network command configurations.

wd_chk_setuid() function was bailing out with the NOTICE message as soon as it
finds the setuid bit is not set on any configured network command and was
ignoring the rest of configurations.
wd_chk_setuid() function name is also changed to wd_check_network_command_configurations()

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=b7e4f04128a2baa033b497a18b9f1d649c947d9c

Modified Files
--------------
src/include/watchdog/wd_utils.h |    2 +-
src/main/main.c                 |   13 ++-----------
src/watchdog/wd_if.c            |    2 +-
src/watchdog/wd_utils.c         |   36 ++++++++++++++++++------------------
4 files changed, 22 insertions(+), 31 deletions(-)



More information about the pgpool-committers mailing list