Branch: refs/heads/master
Home:
https://github.com/ClusterLabs/libqb
Commit: 07542cf69360200762ec4131d3bf98fc63632954
https://github.com/ClusterLabs/libqb/commit/07542cf69360200762ec4131d3bf9...
Author: Jan Pokorný <jpokorny(a)redhat.com>
Date: 2016-10-21 (Fri, 21 Oct 2016)
Changed paths:
M lib/log_thread.c
M tests/check_log.c
Log Message:
-----------
Med: log_thread: logt_wthread_lock is vital for logging thread
This fixes issue with would-fail-if-applied-to-thread-right-away
qb_log_thread_priority_set invocation when logging thread doesn't
exist yet, which will arrange for calling itself at the time of
thread's birth that is the moment it will actually fail.
In this + lock-could-not-have-been-initialized corner cases, the
already running thread would proceed as allowed by error condition
handling in the main thread, trying to dereference uninitialized
(or outdated) pointer to the lock at hand, resulting in segfault.
Also include the test that would have been caught that (we use the
fact that it doesn't matter whether setting of the scheduler parameters
fails due to bad input or just because of lack of privileges as it's
the failure at the right moment that is of our interest).
See also:
https://github.com/ClusterLabs/libqb/issues/229
Commit: ca710b2505befa6d1b680261263b44ab0610b86e
https://github.com/ClusterLabs/libqb/commit/ca710b2505befa6d1b680261263b4...
Author: Jan Pokorný <jpokorny(a)redhat.com>
Date: 2016-10-21 (Fri, 21 Oct 2016)
Changed paths:
M lib/log_thread.c
Log Message:
-----------
Refactor: log_thread: fix and diminish inferior comments
Commit: 026aaa7bdecd94592d03f148f2ec0b54b88067c8
https://github.com/ClusterLabs/libqb/commit/026aaa7bdecd94592d03f148f2ec0...
Author: Chrissie Caulfield <ccaulfie(a)redhat.com>
Date: 2016-10-21 (Fri, 21 Oct 2016)
Changed paths:
M lib/log_thread.c
M tests/check_log.c
Log Message:
-----------
Merge pull request #230 from jnpkrn/log_thread
Med: log_thread: logt_wthread_lock is vital for logging thread
Compare:
https://github.com/ClusterLabs/libqb/compare/7e5212b6a30b...026aaa7bdecd