Michael Friedrich
c2f180395a
Merge pull request #7000 from Icinga/bugfix/goto-loop
...
Don't abuse goto for building simple loops
2019-04-03 09:46:17 +02:00
Michael Friedrich
804c00ece5
Merge pull request #6999 from Icinga/bugfix/compiler-warnings
...
Suppress or fix compiler warnings
2019-03-18 08:44:30 +01:00
Alexander A. Klimov
ac354f9e80
Don't abuse goto for building simple loops
2019-03-08 14:59:01 +01:00
Alexander A. Klimov
bf92e32496
Suppress or fix compiler warnings
2019-03-08 14:07:29 +01:00
Michael Friedrich
d14a88235d
Replace Copyright header with a short version, part I
...
CLion -> replace in path
2019-02-25 14:48:22 +01:00
Michael Friedrich
dab53448bc
icinga.com: Update *.{h,c}pp
2018-10-18 09:27:04 +02:00
Michael Friedrich
b81ac972b9
Silence compiler warning for nice()
2018-09-14 14:29:52 +02:00
Gunnar Beutner
c2fb9fe226
Use initializer lists for arrays and dictionaries
2018-01-16 12:27:44 +01:00
Gunnar Beutner
71ee5ac698
Build fix
2018-01-04 12:33:51 +01:00
Gunnar Beutner
e3ad0be769
Apply clang-tidy fix 'modernize-use-auto'
2018-01-04 12:24:57 +01:00
Gunnar Beutner
621eed3f13
Apply clang-tidy fix 'modernize-pass-by-value'
2018-01-04 12:24:57 +01:00
Gunnar Beutner
6da7d48d25
Apply clang-tidy fix 'modernize-loop-convert'
2018-01-04 12:24:57 +01:00
Gunnar Beutner
ac155d1dda
Apply clang-tidy fix 'modernize-redundant-void-arg'
2018-01-04 12:24:57 +01:00
Michael Insel
158ae2188e
Change copyright header for 2018
2018-01-02 12:08:55 +01:00
Jean Flach
2636e6a77a
Whitespace fix
...
What does this change?
* Remove use of spaces for formatting
These could be found by using `grep -r -l -P '^\t+ +[^*]'
* Removal of training whitespaces
* A few lines longer than 120 chars
2017-12-20 14:53:52 +01:00
Gunnar Beutner
1ad83886ac
Replace a few more NULLs with nullptr
2017-12-14 15:37:20 +01:00
Gunnar Beutner
2e87c280ed
Use initializer lists instead of std::vector::push_back
2017-11-30 17:47:09 +01:00
Gunnar Beutner
7d7eaa8dd3
Replace boost::thread with std::thread
2017-11-30 17:39:20 +01:00
Gunnar Beutner
858873b940
Replace boost::bind/boost::function with std::bind/std::function
2017-11-27 15:15:11 +01:00
Noah Hilverling
3e8f78e2cc
Process: Fix fork error handling
...
refs #5617
2017-10-23 11:01:42 +02:00
Noah Hilverling
7930ae5094
Process: Remove log message from child process
2017-10-23 11:01:16 +02:00
Michael Friedrich
0b1ce7111c
Merge pull request #5231 from Al2Klimov/bugfix/failure-to-kill-check-command-after-exceeding-timeout-is-not-reported-4981
...
Report failure to kill check command after exceeding timeout
2017-10-13 13:57:26 +02:00
Noah Hilverling
5b9337e130
Process: Fix JSON parsing error on process helper crash
2017-08-14 08:27:04 +02:00
Michael Friedrich
6036ec20f5
Build fix for Debian Wheezy
...
fixes #5350
2017-06-16 16:57:05 +02:00
Alexander A. Klimov
8bf3ab0285
Produce an unknown check result if we failed to kill the process
...
refs #4981
2017-05-12 15:25:22 +02:00
Alexander A. Klimov
c45529b407
Report failure to kill check command after exceeding timeout
...
refs #4981
2017-05-05 17:31:14 +02:00
Gunnar Beutner
06c2a4088d
Ensure that only child processes for checks are reniced
...
fixes #4989
2017-02-21 11:31:07 +01:00
Gunnar Beutner
060e20f5a3
Clean up the patch for the crash issue in the Process class
...
fixes #13655
2017-01-16 14:15:42 +01:00
Lucas Fairchild-Madar
9fa3f3b122
Fix crash when sending/receiving messages longer than 4 kB to/from the child process for the Process class
...
refs #13655
Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-01-16 14:15:39 +01:00
Gunnar Beutner
751ca67e0a
Ignore SIGPIPE earlier in the start-up process
...
fixes #13567
2017-01-12 10:50:43 +01:00
Michael Friedrich
b7caf0820d
Ensure that *.icinga.com is used everywhere
...
fixes #13897
fixes #13277
2017-01-10 17:19:12 +01:00
Michael Friedrich
fb8f4105ad
Block SIGPIPE signal for check processes
...
refs #13567
2016-12-15 11:47:07 +01:00
Gunnar Beutner
78fa197b9f
Properly unmask signals for child processes
...
fixes #13269
2016-11-22 13:53:58 +01:00
Gunnar Beutner
c0bc156696
Don't mask all signals in the subprocess handler
...
fixes #12940
2016-10-24 08:42:40 +02:00
Jean Flach
069de6c121
Don't use InitializeSpawnHelper on Windows
...
refs #8900
2016-10-05 15:10:43 +02:00
Gunnar Beutner
a7b0cb5f7e
Ensure we don't leak file descriptors to child processes
...
fixes #8900
2016-10-04 14:08:48 +02:00
Gunnar Beutner
ef50c57ed0
Make VS 2013 happy
...
refs #12555
2016-08-27 20:07:48 +02:00
Gunnar Beutner
e8b0797ec4
Use 'auto' keyword for iterator declarations (part 2)
...
refs #12561
2016-08-27 19:56:12 +02:00
Gunnar Beutner
b5b09216c6
Use lambda functions for INITIALIZE_ONCE
...
fixes #12562
2016-08-27 09:48:36 +02:00
Gunnar Beutner
288413f046
Replace BOOST_FOREACH with range-based for loops
...
fixes #12538
2016-08-25 06:46:17 +02:00
Gunnar Beutner
132ee6c558
Use InterlockedIncrement instead of a mutex in CreatePipeOverlapped
...
refs #10075
2016-08-11 09:48:01 +02:00
Gunnar Beutner
37bd5ad800
Fix race condition in CreatePipeOverlapped
...
fixes #10075
2016-08-10 12:12:56 +02:00
Gunnar Beutner
532655d482
Use multiple threads for socket IO
...
refs #11014
2016-02-02 11:17:33 +01:00
Gunnar Beutner
599929b0f6
Update copyright headers for 2016
2016-01-12 08:29:59 +01:00
Gunnar Beutner
9705e08ee0
Build fix for systems where strsignal() returns a const char *
2015-11-24 14:45:30 +01:00
Gunnar Beutner
af441191f3
Fix crash in Process::IOThreadProc when building Icinga 2 with GCC 4.7.2
...
fixes #10648
2015-11-17 22:07:40 +01:00
Gunnar Beutner
ed90d9a847
Fix race condition in CreatePipeOverlapped
...
fixes #10510
2015-11-01 12:59:57 +01:00
Gunnar Beutner
254c076dd4
Fix incorrectly escaped arguments for CreateProcess
...
fixes #10245
2015-09-30 10:56:31 +02:00
Gunnar Beutner
f541a62a34
Fix: Make sure we're continuously reading from child processes' pipes
...
fixes #9867
2015-08-10 15:28:30 +02:00
Gunnar Beutner
ca27c8769e
Kill entire process group after plugin timeout
...
fixes #8540
2015-03-11 07:12:59 +01:00